Exercises TCP/IP Networking. Solution. With Solutions

Size: px
Start display at page:

Download "Exercises TCP/IP Networking. Solution. With Solutions"

Transcription

1 Exercises TCP/IP Networking Solution. With Solutions Jean-Yves Le Boudec Fall 2010 Exercises marked with a were given at exams in the past. 1 Module 1: TCP/IP Architecture Exercise 1.1 Elaine is setting in front of lrcpc3 and connects to machine ezinfo.ethz.ch by Telnet. A clairvoyant angel has read all the frames passing on the network. Here is the first packet resulting from this activity: ETHER: Ether Header ETHER: ETHER: Packet 1 arrived at 19:03:32.39 ETHER: Packet size = 60 bytes ETHER: Destination = ff:ff:ff:ff:ff:ff ETHER: Source = 0:0:c0:b8:c2:8d ETHER: Ethertype = 0806 ETHER: ARP: ARP/RARP Frame ARP: ARP: Hardware type = 1 ARP: Protocol type = 0800 (IP) ARP: Length of hardware address = 6 bytes ARP: Length of protocol address = 4 bytes ARP: Opcode 1 (ARP Request) ARP: Sender s hardware address = 0:0:c0:b8:c2:8d ARP: Sender s protocol address = , lrcpc3.epfl.ch ARP: Target hardware address =? ARP: Target protocol address = , in-inr-e4.epfl.ch 1. What is this frame used for in this exchange? Solution. The frame used is an ARP request. 1

2 2. What stations receive this frame? What stations reply to it? Solution. All the stations of this subnetwork will receive this frame. Only the router in-inr-e4.epfl.ch will answer with the MAC address that was requested with the ARP request. 3. How can we determine if a frame is an ARP frame? Solution. With the Ethernet type = Exercise 1.2 Among the packets observed, shortly afterwards, we find the following two: ETHER: Ether Header ETHER: ETHER: Packet 2 arrived at 19:03:32.39 ETHER: Packet size = 74 bytes ETHER: Destination = 0:0:c:2:78:36 ETHER: Source = 0:0:c0:b8:c2:8d ETHER: Ethertype = 0800 ETHER: IP: IP Header IP: IP: Version = 4 IP: Header length = 20 bytes IP: Type of service = 0x00 IP: xxx.... = 0 (precedence) IP: = normal delay IP: = normal throughput IP: = normal reliability IP: Total length = 60 bytes IP: Identification = 2947 IP: Flags = 0x0 IP: = may fragment IP: = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 64 seconds/hops IP: Protocol = 17 IP: Header checksum = c2ba IP: Source address = IP: Destination address = , IP: No options IP: UDP: UDP Header UDP: UDP: Source port = 1267 UDP: Destination port = 53 (DNS) UDP: Length = 40 UDP: Checksum = B672 UDP: 2

3 DNS: DNS: DNS: DNS: "" DNS: ETHER: Ether Header ETHER: ETHER: Packet 3 arrived at 19:03:32.40 ETHER: Packet size = 202 bytes ETHER: Destination = 0:0:c0:b8:c2:8d, Western Digital ETHER: Source = 0:0:c:2:78:36, Cisco ETHER: Ethertype = 0800 ETHER: IP: IP Header IP: IP: Version = 4 IP: Header length = 20 bytes IP: Type of service = 0x00 IP: xxx.... = 0 (precedence) IP: = normal delay IP: = normal throughput IP: = normal reliability IP: Total length = 188 bytes IP: Identification = IP: Flags = 0x0 IP: = may fragment IP: = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 58 seconds/hops IP: Protocol = 17 IP: Header checksum = 3d0a IP: Source address = , IP: Destination address = , IP: No options IP: UDP: UDP Header UDP: UDP: Source port = 53 UDP: Destination port = 1267 UDP: Length = 168 UDP: Checksum = 0000 UDP: DNS: DNS: DNS: DNS: "" DNS: 3

4 1. What has happened? Solution. Packet 2: lrcpc3 issues an UDP packet searching for the IP address of ezinfo.ethz.ch. This packet is sent to the DNS server. Packet 3: DNS server answers with the requested IP address. 2. What is lrcpc3 s IP address? and ezinfo.ethz.ch s? What is the source IP address of packet 3. Which is the source MAC? Solution. lrcpc3: ezinfo.ethz.ch is contained in the DNS part of packet 3 (not presented). It will be available in packet 4. source IP of packet 3: Source MAC address of packet 3: 0:0:c:2:78:36 3. What is UDP port 53 reserved for? 1267? How can a UDP packet be recognised? Solution. UDP port 53 is reserved for Name Server in DNS. UDP port 1267 is not reserved. A UDP packet can be recognized by the protocol field in the IP header (= 17) 4. Comment on the value of the TTL fields. Solution. Packet 2 has TTL=64 and packet 3 has TTL=58. Assuming that DNS server issues the packet with the same TTL as lrcpc3 (that is 64), we can conclude that the routers between the DNS and lrcpc3 have reduced the TTL by Comment on the UDP checksum. Solution. Checksum computation is not mandatory with UDP over IPv4; if no checksum is computed, the value 0 is written in the checksum field. This value cannot be obtained if a valid checksum is computed. We see that there was no checksum computed in Packet 3. Exercise 1.3 The following packets are then observed. 1. What has happened? Solution. There has been established a TCP connection between lrcpc3 and eznfo.ethz.ch. Packets 4,5 and 6 form 3-way handshake procedure. 2. What is the length of the TCP payload contained in packets 5 to 9? Solution. In packet 7. packetnumber payload

5 3. What will the value of the sequence and acknowledgement fields be in the next packet sent by lrcpc3? Solution. acknowledge field = sequence number = Exercise Let us consider an IP packet transmitted on an Ethernet. Is it possible that the destination MAC address in the packet is different from the MAC address of the destination? Solution. Yes, always except in the last hop. 2. A router receives an IP packet on one of its Ethernet interfaces. How can it determine the Ethernet connected system that just sent the packet? Solution. By the MAC address of the IP packet s source. 3. How many IP addresses does an IP router have? Solution. 2 or more (at least one per physical interface). 4. Does a bridge need an IP address? Solution. No. But one could be used for management. Exercise 1.5 At ETHZ the IP addresses are of the form x.x and use 6 bits for the host part. Thus the prefix length is 26 bits. 1. The prefixes of the Globi and Fritz subnets are respectively /26 and /26. For each of the following addresses, say whether they belong to the Globi subnet, to the Fritz subnet, or none. (a) (b) (c) Solution. The answer is: (a) Fritz subnet (b) none (c) Globi subnet 2. What should normally be the subnet mask at every ETHZ host? Solution. The subnet mask at every ETHZ host should be FF.FF.FF.C0 (in decimal: ). 3. Assume that an IP host A on the Globi subnet is not well configured and has a subnet mask equal to Explain what happens when such a host wants to send an IP packet to a destination host B (consider both cases where B is on the Globi subnet or not). Solution. A thinks that B is on the same subnet as his own subnet. Therefore, two cases are possible: 5

6 batz.sovkom.ch pc33.sovkom.ch :01:01:00:FF: :AE:01:00:00: :01:01:00:00: :01:01:00:FF:45 NB Observation Point :01:01:00:FF: :AE:01:00:00:97 anv.sovkom.ch (DNS server) Figure 1: The network of Problem 1, with NB configure as bridge if B is actually on the Globi subnet, then, there won t be any problem. A will send an ARP request to find B s MAC address, B will receive the ARP request and answer with an ARP reply. if B is not on the Globi subnet (but B is at ETHZ), there will be a problem. Indeed, A will broadcast an ARP request with target B on the Globi subnet and A will not get any answer because B will not receive this request (remember that the ARP request are not forwarded by routers). Therefore, A will never be able to send an IP packet to B. 4. We assume that we cannot change the configuration of host A. Propose a solution to the problem. Solution. We should implement PROXY ARP in the router on the Globi subnet. So, the router could answer on behalf of B to the ARP requests. Exercise Consider the network in Figure 1. Only the systems shown on the figure exist in the network. The box in the middle, labeled NB is a multi-function network box, which can be configured either as a router or a bridge. It also runs a web server. In this question, we assume that NB is configured to work as a bridge. Figure 1 shows the IP addresses and MAC addresses of all interfaces. The network mask on all machines is (a) Are the IP addresses plausible, or would you change anything? (justify your answer) (b) Does NB need IP addresses, or could we remove them? (justify your answer) (c) We assume that the ARP cache at machine pc33.sovkom.ch is empty. We start a TCPDump somewhere on the LAN between pc33.sovkom.ch and NB (at the place called Observation Point ). 6

7 Then a user at pc33.sovkom.ch executes a command, as shown below: pc33# telnet batz.sovkom.ch daytime Trying Connected to batz.sovkom.ch. Escape character is ˆ]. Tue Nov 29 14:21: Connection closed by foreign host. pc33# (The user sends one request to the server batz.sovkom.ch using telnet, i.e. using TCP, to destination port 13 the port number reserved for the daytime service, obtains one answer from the server, and the TCP connection is closed. ) For each of the packets that can be observed, give the values of the following fields: MAC source address MAC destination address IP source address IP destination address protocol type if applicable, TCP or UDP source and destination ports If some of the values cannot be determined exactly, explain what possible values would be. If two different packets give the same set of values, give it only once. Solution. (a) All the systems in the network belong to the same ethernet network: as all the IP addresses in the network are correct and as they belong to the same subnet, they all are correct. (b) Nb needs at least one IP address, as it runs a web server. (c) Let s use the following labels: Device Address Symbol PC33 (IP) a1 PC33 (MAC) a2 DNS server (IP) b1 DNS server (MAC) b2 Batz (IP) c1 Batz (MAC) c2 NB (IP) n1 NB (MAC) n2 For NB we consider only the network interface on the same ethernet segment as pc33. 7

8 batz.sovkom.ch pc33.sovkom.ch :01:01:00:FF: :AE:01:00:00: :01:01:00:00: :01:01:00:FF:45 NB Observation Point :01:01:00:FF: :AE:01:00:00:97 anv.sovkom.ch (DNS server) Figure 2: The network of Problem 1, with NB configure as router Packet IP src IP dest MAC src MAC dst protocol type-dest port pc33 all (a1) (b1) a2 (broadcast) ARP DNS pc33 (b1) (a1) b2 a2 ARP pc33 DNS a1 b1 a2 b2 UDP (port 53)-dns query DNS pc33 b1 a1 b2 a2 UDP (local port)-dns answer pc33 all (a1) (c1) a2 (broadcast) ARP batz pc33 (c1) (a1) c2 a2 ARP pc33 batz a1 c1 a2 c2 TCP (port 13)- syn batz pc33 c1 a1 c2 a2 TCP (local port)- syn ack pc33 batz a1 c1 a2 c2 TCP (port 13)- ack batz pc33 c1 a1 c2 a2 TCP (local port)- (data, fin) pc33 batz a1 c1 a2 c2 TCP (port 13)- ack pc33 batz a1 c1 a2 c2 TCP (port 13)- fin batz pc33 c1 a1 c2 a2 TCP (local port)- ack 2. Now we assume that NB is configured as a router. The addresses are now as shown in Figure 2 Answer the same three questions (a) to (c) as in the previous case. Solution. 1. From the picture, the two servers and the PC33 each belong to a different ethernet network, connected each to a separate network interface of the router. Then each IP address in each ethernet network belong to the same subnet, and all are correct: then all the IP address assigned in the picture are acceptable. 2. In order to route packets, NB needs IP addresses for all of its three network interfaces. 8

9 3. We use the same labels as before: Packet IP src IP dest MAC src MAC dst protocol type-dest port pc33 all (a1) (n1) a2 (broadcast) ARP NB pc33 (n1) (a1) n2 a2 ARP pc33 DNS a1 b1 a2 n2 UDP (port 53)-dns query DNS pc33 b1 a1 n2 a2 UDP (local port)-dns answer pc33 batz a1 c1 a2 n2 TCP (port 13)- syn batz pc33 c1 a1 n2 a2 TCP (local port)- syn ack pc33 batz a1 c1 a2 n2 TCP (port 13)- ack batz pc33 c1 a1 n2 a2 TCP (local port)- (data, fin) pc33 batz a1 c1 a2 n2 TCP (port 13)- ack pc33 batz a1 c1 a2 n2 TCP (port 13)- fin batz pc33 c1 a1 n2 a2 TCP (local port)- ack Exercise 1.7 Consider the configuration in Figure 3. PCA ROUT1 BRI WP ROUT2 WSS A R 1 R 1 B B H H R 2 R 2 S IP addresses a r 1 r 1 b b h h r 2 r 2 s MAC addresses Figure 3: The configuration with web browser on PCA, web proxy WP and web server on WSS. MAC addresses are called a, r 1,... IP addresses are called A, R 1,... PCA is a host running a web browser. WSS is a web server, responding to URL= and with IP address S. WP is a firewall acting as web proxy (application level gateway). PCA is configured to use WP by default. ROUT1 and ROUT2 are routers, BRI is a bridge. All links are Ethernet. All links between those systems are shown on the figure. MAC and IP addresses are shown on the figure. We assume that PCA already knows the IP addresses of WP and WSS. Thus, there will be no call to DNS. We also assume that ARP tables are already populated with the correct values, so there will be no ARP messages. 9

10 Assume that PCAsends an HTTP request with target URL = in order to transfer one single file. Assume that we do a TCPDump at points 1 to 5, and we capture a copy of all packets that correspond to the transfer of the file and that travel in the direction from PCA to WSS. Give the IP and MAC source and destination addresses that can be read in the packets. Give the solution in the table below. at 1 at 2 at 3 at 4 at 5 MAC source MAC destination IP source IP destination Solution: MAC source MAC destination IP source IP destination at 1 a r 1 A H at 2 r 1 h A H at 3 r 1 h A H at 4 h r 2 H S at 5 r 2 s H S Exercise 1.8 The following trace was captured with TCPDump. It was generated by a Web session. The S, P, and F letters indicate the corresponding TCP flags. Starting with the second packets in each direction, Sequence and Acknowldegement numbers are given by their offset from the values in the first packets. The notation 1:449(448) means that the packet sequence number is 1, it carries 448 bytes of data, and the last byte has sequence number Explain the use of the flags. Solution. S is the SYN flag, indicating establishment of a new connection F is the FIN flag, indicating closing of a connection P is the PSH flag, requesting immediate data delivery (to the application) at the receiver 2. Some packets have been mis-ordered. At which lines is that visible? Solution. Note that by monitoring traffic by a third party, a retransmission and mis-ordering usually can t be distinguished with certainty. The answers given here therefore only indicate what is very likely to have happened. Segment 10486:10934 would have been expected at or near line 81 but is received at line 94. Note that this could also be due to a retransmission after a timeout. Expected at line 84, segment 11382:11830 is received at line 87, i.e :11830 and 11830:12278 appear to be swapped. 3. Which lines are retransmissions? Solution. Segment 8246:8694 (expected at or near line 69) appears to be retransmitted at line 90. Expected at line 176, segment 23926:24374 is apparently retransmitted at line

11 4. Show the states (from the slide TCP Finite State Machine ) for each of the two ends of the connection, for the first and last 10 lines of the trace, after the packet has been received. Solution. Line lrcpc8 ezinfo 1 SYN SENT SYN RCVD 3 ESTABLISHED SYN RCVD 5 ESTABLISHED ESTABLISHED 6 ESTABLISHED ESTABLISHED 8 ESTABLISHED ESTABLISHED 9 ESTABLISHED ESTABLISHED ESTABLISHED ESTABLISHED 182 CLOSE WAIT FIN WAIT CLOSE WAIT FIN WAIT CLOSE WAIT FIN WAIT CLOSE WAIT FIN WAIT CLOSE WAIT FIN WAIT LAST ACK TIME WAIT 191 CLOSED TIME WAIT Exercise Consider the transparency Nagle s Algorithm: Example. Assume that the packet at line 4 is lost in the network. Give a possible continuation of the message chart. Solution. In the hypothesis that the override timer is bigger than the retransmission timer, we have repacketization: at the retransmission timeout the lost bits are retransmitted, together with the bits arrived in the meantime. In this case Nagle s algorithm does not came into play. We can well realize how it is not possible to have the override timer smaller than the retransmission timer, as we would have transmission of duplicate of the same bits even in the absence of losses. 2. Assume Nagle s algorithm is disabled for a given connection. Is it possible that some data written by the application is still delayed? Prove your answer. 11

12 Solution. Due to the sliding window mechanism, whenever the available window does not allow the application to send all the data that it produces, all the remaining data is buffered and therefore delayed. Exercise 1.10 Quiz 1. true false When a multiport repeater has some bits to send on a half-duplex Ethernet interface, it should first wait until the channel is idle. Solution. False. The repeater simply repeats bits, even if this causes a collision. 2. true false When a bridge sends a packet towards the final destination over a full duplex Ethernet interface, it should put as destination MAC address the MAC address of the next hop. Solution. False; the bridge does not modify MAC addresses. 3. true false When a bridge has a packet ready to send on a full-duplex Ethernet port, it listens to the medium and waits until the medium is idle. Solution. False, there is no CSMA/CD over full duplex Ethernet. 4. true false Bridges are said to be multiprotocol because a bridged network works independently of network layer protocols such as IPv4 or IPv6. Solution. True. 5. true false A bridge is an intermediate system for layer 2. Solution. True. 6. true false Assume host A sends an IP packet to host B via bridge X, and assume all three systems are on the same bridged network. Then the destination MAC address in the packet sent by A is the MAC address of X. Solution. False. Bridges on Ethernet are transparent. 7. true false On a full duplex Ethernet link, there is no CSMA/CD protocol. Solution. True. A full duplex Ethernet link uses Ethernet physical layer but is not a shared medium link. 8. true false With an Ethernet switch, there is one collision domain per port. Solution. True. 9. true false A multiport repeater separates collision domains. Solution. False. 10. true false When a bridge has a packet ready to send on a half-duplex Ethernet port, it listens to the medium and waits until the medium is idle. Solution. True, the bridge executes CSMA/CD on all half-duplex ports. 11. true false In a bridged LAN with more than one bridge and with redundant paths, packet sequence is not guaranteed. 12

13 Solution. False. Packet sequence is guaranteed by the spanning tree algorithm, which reduces the active topology to a tree. 12. true false Assume hosts A and B are on the same bridged LAN, with one bridge X. When host A sends a packet to host B, the source MAC address is that of A, and the destination MAC address is that of the bridge Solution. False; Bridges are transparent. The destination address is normally that of B; it may also be the broadcast address, or a multicast address. 13. true false A router is an intermediate system for layer 3. Solution. True. 14. true false Ethernet bridges do not use IP addresses when deciding where to send a packet. Solution. True. Bridges do not look at layer 3 information and are therefore said to be multiprotocol 15. true false If an IP host A receives an IP packet with TTL=255, then A can conclude that the source of the packet is on-link. Solution. True. 16. true false If host A at EPFL wants to send an IP packet to host B at ETHZ, and if A s ARP cache is empty, then A sends an ARP request in order to determine the IP address of the next hop router. Solution. False. The ARP request is to find the MAC address of the next hop router. 17. true false Assume A and B are two IPv4 hosts, and that the hosts are on Ethernet. If A and B have the same network mask and the same network prefix, then when A sends a packet to B, the packet still contains an IP destination address, equal to the IP address of B. Solution. True. 18. true false When an IP router between two Ethernet segments forwards an IP packet, it does not modify the destination IP address. Solution. true. 19. true false Assume that host A has an IP packet to send to host B, and that the two hosts are on two Ethernet segments separated by a bridge BR. Assume the ARP table at A is empty. Host A will send an ARP packet in order to find the MAC address of the bridge BR. Solution. False. The bridge is not visible to A. The ARP is to find the MAC address of B. 20. true false Assume A and B are two IPv4 hosts, and that the hosts are on Ethernet. If A and B have the same network mask and the same network prefix; if A has no entry in its ARP, then before sending a packet to B, A sends an ARP request with target IP address = IP address of B. Solution. True. Comment: if proxy ARP is used, a proxy ARP server may respond with another MAC address than that of B 21. true false The route indicated by traceroute may not be the real one because parallel paths may exist in the Internet. Solution. True. 13

14 22. true false In an intranet with more than one router, packet sequence is guaranteed by means of the TTL field. Solution. False. Packet sequence is not guaranteed with IP. 23. true false When an IP router between two Ethernet segments forwards an IP packet, it does not modify the destination MAC address. Solution. false. 24. true false Assume A and B are two IPv4 hosts on the EPFL network. Assume that host A is configured by error with a network mask equal to When A sends a packet to another EPFL host B, if the ARP cache at A is empty, then A will send an ARP packet in order to find the MAC address of B. Solution. True. This is not the normal configuration, but it will works because in such cases the default router for A will use proxy ARP and respond with its own MAC address 25. true false If there are some errors in the routing tables at some routers, then, with IPv4, it is possible that a packet loops for ever. Solution. False. The packet is discarded when the TTL fields becomes true false When a router sends a packet towards the final destination over a full duplex Ethernet interface, it should put as destination MAC address the MAC address of the next hop. Solution. True. 27. true false The subnet mask is used by a host or a router in order to know whether it belongs to the same subnet as a machine identified by some IP address. Solution. True. 28. true false When an application receives a block of data from TCP, the application knows that the data was sent as one message by the source. Solution. False. 29. true false Assume host A sends data to host B using TCP. In some cases, it may happen that two blocks of data generated by the application at A are grouped by TCP into one single IP datagram. Solution. True. TCP does its own packetization. 30. true false Assume host A sends data to host B using a TCP socket. If A writes three blocks of data into the TCP socket, then there will be three packets sent to B. Solution. False. TCP does its own packetization. There may be any number of packets, depending on how much data is written by B. 31. true false It is possible for a UDP source A to send data to a destination process P 1 on host B 1, using source port a and destination port b, and at the same time send (different) data to another destination process P 2 on a different host B 2, still using the same source port a and destination port b. Solution. True. 32. true false With TCP, the goal of silly window syndrome avoidance is to avoid that out of 14

15 sequence data is delivered to the application. Solution. False. 33. true false When an application receives data from UDP, the application knows that the data was sent as one message by the source. Solution. True. 34. true false Assume host A sends data to host B using UDP. In some cases, it may happen that two blocks of data generated by the application at A are grouped by UDP into one single IP datagram. Solution. False. 35. true false With a sliding window protocol and for a constant round trip time, increasing the window size increases the throughput if there is no loss, up to a certain limit. Solution. True. 36. true false With a sliding window protocol, the window size is the maximum amount of unacknowledged data that can be sent by the source. Solution. True. 37. true false Assume host A sends one block of data to host B using UDP. In some cases, it may happen that the blocks of data generated by the application at A is fragmented by the IP layer at A into several IP packets. Solution. True. 2 Module 2: Dynamic Routing Exercise Why do bridges have to build a spanning tree whereas routers do not? Solution. Bridges have to build a spanning tree because they forward packets according to MAC addresses which are not structured and they do not detect frames that loop. Routers do not have to build a spanning tree since they forward packets according to IP addresses which are structured and eventually discard packets that loop. 2. What happens to packets if there is a routing loop with bridges? with routers? Solution. Packets loop indefinitely if there is a routing loop with bridges. Packets will eventually be discarded if there is a routing loop with routers because of the TTL field. 3. Is it possible for a link-state algorithm to use the Bellman-Ford algorithm? Why or why not? Solution. The link-state algorithm can use the Bellman-Ford algorithm (static version) for computing the shortest path to all other nodes since the Bellman-Ford algorithm requires only a partial view of the network and the link-state algorithm provides a complete topology view of the network. 15

16 / / 28 R / / 24 R / 24 R / / / 24 R5 R / 28 R / / / 24 Figure 4: The network in Exercise 2.2. Exercise 2.2 Consider the network in Figure 4. R1 to R6 are routers. Each of these routers has 3 (external) IP interfaces: two interfaces, called backbone interfaces, connect the router to neighbouring routers; the prefix length for these interfaces is 28 bits. one of them, called edge interface, is an interface to a set of hosts; the prefix length for this interface is 24 bits. All routers run a distance vector routing protocol such as RIP. The costs of a link between two adjacent routers is equal to 1. The cost from a router to a directly connected network is also equal to What is the subnet mask at each of the router interfaces shown on the picture? (give the answer in dotted decimal notation) Solution. Backbone: Edge: Give the routing table at R1, assuming the routing protocol has converged. Also assume that there is no other network connected to these routers than shown on the picture. Solution. Let s assume that the last two bits of the clock-wise side backbone interfaces are equal to 01 and the other side backbone interfaces have the last two bits equal to 10. Lets also assume that the edge interfaces are called eth0, clock-wise side backbone interfaces are called eth1 and the other side backbone interfaces are called eth2. Then the routing table is: 16

17 Destination Network Next Hop Interface Distance /24 on-link eth /28 on-link eth / eth / / / / / eth / / / /28 on-link 1 3. Assume there exists a host M with IP address and a host A with IP address What are the possible default routers for M and A? For each combination of cases, what is the path (=sequence of routers) followed by a packet from M to A? Solution. The possible default routers for M: R2 and R3. ForA: R1. Case (R2,R1): the path is M R2 R1 A. Case (R3,R1): for the first packet the path is M R3 R2 R1 A. Then, the redirection will happen and the path M R2 R1 A will be used for the subsequent packets. 4. Assume now that, on router R2, the edge interface with network prefix /24 is brought down and replaced by a new edge interface, which has now prefix /24. Explain by which mechanisms the other routers will become aware of the change. Solution. In the next RIP update message (sent every 30s) R2 will announce toward its neighbors the network with metric 1 and will not announce the network (which is equivalent to the metric ). Bellman-Ford algorithm will cause the updates of routing tables or R1 and R3. R1 and R3 will propagate changes of their routing tables in their next update messages sent towards their neighbors. The change propagates further in the same way. 5. Assume just after this change of configuration, router R2 receives a distance vector from R1, which is based on the values before the change. Explain what will happen, assuming the routing protocol does not implement split horizon. What would happen if the routing protocol would implement split horizon? Solution. If split horizon is not used there will be count to infinity scenario: R2 will increment it s metric toward /24 to 3 and tell this route to R1 and R3. R1 will increment its metric to 4 and tell to R2 and R6, and so on. In this way there is count to infinity between R1 and R2. If split horizon is used, R2 will immediately set its metric toward /24 to infinity (16 in real implementation), as it sees that the route announced by R1 goes over itself (R2). then it will propagate this change toward R1, R1 will propagate it further, and so on. Similar will happen with R3 as with R2. The change propagates immediately in the case with split horizon. 6. Assume the network has converged after the changes in the previous questions. Assume we do the same manipulation on router R5, with the same new prefix (i.e. the edge interface with network prefix /24 is brought down and replaced by a new edge interface, which has now prefix /24, the same prefix as on router R2). Normally, this should not be done, since in principle different LANs should have different prefixes. 17

18 However, this was done by the network managers, maybe by mistake. Explain the actions that the routing protocol will take, and give the routing table entries at all routers that, after convergence, have changed. Solution. The actions: RIP update messages exchange and routing table updates according to Bellman-Ford algorithm. Only the entries toward /24 will change at some of the routers: Router Destination Network Next Hop Distance changed? R /24 R2 2 no R /24 on-link 1 no R /24 R2 2 no R /24 R5 2 yes R /24 on-link 1 yes R /24 R5 2 yes 7. Assume there is a host B2 connected to router R2 s edge interface, with IP address and a host B5 connected to router R5 s edge interface, with IP address Assume host A has a packet to send to B2 and a packet to send to B5. What is the path followed by each of these packets? What happens at the last router on the path, in both cases? Solution. A B2: A R1 R2 B2, success. A B5: A R1 R2, then ARP will fail, and the ICMP destination host unreachable message will be sent by R2 to A, and the packet will be dropped by R2. Exercise 2.3 Consider the network in Figure 5. It represents a small corporate network. The IP addresses are shown explicitly; M1 to M15 mean MAC addresses. B1, B2 and B3 are bridges; R1, R2 and R3 are routers. D3 is the DNS server for this network. The machines C1, D1, C2, D2, and C3 are configured with DNS server address = The network is connected to the Internet only by means of a web proxy (the machine H is an application layer gateway). All interfaces that have IP addresses of the form x.y are configured with netmask = The default gateway are configured as follows at C1 and D1: at C2 and D2: at C3 and D3: Give a possible value for the X in the IP address of the interface M4 of router R1 (i.e. give a possible value for the address marked X on the figure). Justify your answer. Same question for the Y in the IP address of the interface M8 of router R2. Solution. The M4 interface must belong to the same subnet as C2 and D2. Since the mask is over 28 bits, X must lie in the interval [33, 46] (the host parts b0000 [X =32] and b1111 [X =47] are not possible). The value must also not be already allocated. A possible value is 34. Similarly, Y must lie in the interval [49, 62]; a possible value is

19 X Y M4 M8 M R M3 R M7 R M11 M13 S H B1 B2 B3 M M M1 M2 1 M5 M6 M9 M10 Internet C1 D1 C2 D2 C3 D3 (DNS) Figure 5: A small corporate network (exercise 2). 2. We assume that R1, R2 and R3 are manually configured, i.e. they do not run any routing protocol. Put in the table below the routing table entries that need to be written in these three routers. Give only the entries for destination prefixes that are not on-link with this router. Solution. tbd. R1 needs only default entry to The user at host C1 uses a web browser to connect to the server which is on the machine marked S on the figure. As a result, the web browser at C1 sends a DNS query to determine the IP address that corresponds to the DNS name A packet sniffer placed at the location labelled 1 on the figure reads the DNS query and its answer. In the table below, mark the values of the fields that are read in these two packets. 19

20 4. The web browser at C1 has now received the response from the DNS server and sends an HTTP query. Same question as before for the packets that contain the HTTP query sent by C1 and for the resulting response. 5. Assume that we change (by mistake) the netmask for the interface M1 of host C1. The new mask value is Will C1 continue to work normally? Justify your answer. 20

21 6. Instead of manual configuration as in question 2, routers R1 R2 and R3 use now RIP. After RIP has converged, what are the routing tables at each router? Give only the entries for destination prefixes that are not on-link with this router. Solution. tbd 21

22 X Y?.?.?.? M4 M8 M12 R1 R2 R M M M11 B1 B2 B3 M10 M1 M2 M5 M6 M9 C1 D1 C2 D2 C3 D3 (DNS) Figure 6: The second network (exercise 2). 7. We now pull the wire between M12 and M13; then we change the IP address of the interface at M12 and connect M12 to bridge B1; the resulting new configuration is in Figure 6. What IP address and netmask should we give to M12? Solution. An address in subnet /28, for example The netmask should be (i.e. the prefix is 28 bits) Explain what RIP does immediately after the re-connection? In the following table, write the routing tables after RIP has stabilized. (As before, give only the entries for destination prefixes that are not on-link with this router.) 22

23 2 M4 M8 M12 R1 R2 R M M7 M B1 B2 B3 3 1 M1 M2 M5 M6 M9 M10 C1 D1 C2 D2 C3 D3 (DNS) Figure 7: The third network (exercise 2). 8. We reconfigure the network as shown in Figure 7. The interfaces at M4, M8 and M12 are not used. We change the network mask to on all systems, the IP addresses remain the same. We do a ping from C1 to C2, C2 to C3 and C3 to C1. Packet sniffers are placed at locations labeled 1, 2 and 3 on the figure. In the table below, mark the values of the fields that are read in the ping packets corresponding to each of the ping exchanges if the packet is visible at this location. Consider only the ping packets themselves, not the replies. Solution. One of the links must be disabled by the spanning tree, so at one of the observation points we should see nothing. Exercise 2.4 Consider the network in Figure 8. Domain A [resp. B] is a service provider to domains Z and T [resp. X and Y]. A and B peer over the link shown in the figure. A1, A2, A3 and A4 run BGP and OSPF. B1, B2, B3 and B4 run BGP and RIP. Some of the routers (like A3 and B3) run BGP but do not have external BGP connections. Both domains A and B never redistribute BGP into their IGP. The link costs for OSPF or RIP are all equal to 1. The decision process inside all BGP routers in domain A is such that the route selected is, by order of decreasing priority (1) the route that has the smallest MED (2) the route that has the shortest IGP distance from this node to the NEXT-HOP of the route The decision process inside all BGP routers in domain B uses the reverse order, i.e., it is such that the route selected is, by order of decreasing priority (1) the route that has the shortest IGP distance from this node to the NEXT-HOP of the route (2) the route that has the smallest MED 1. Here is the list of all BGP announcements that are made over E-BGP: 23

24 Domain T Domain A Domain B Domain X /16 Domain Z A A A B1 B2 B /16 Domain Y / A B /16 Figure 8: Network for exercise 2.4, step 1. A1 to B /16 AS-PATH = B MED = /16 AS-PATH = B MED = 40 B1 to A /16 AS-PATH = B MED = /16 AS-PATH = B MED = 40 24

25 All BGP routers that receive announcements made over E-BGP accept them, and store them in their RIB-in with the corresponding NEXT-HOP attribute. For example, the RIB-in at A1 for the link to B1 is RIB-in at A1 from B /16 AS-PATH = B MED = 10 NEXT-HOP = /16 AS-PATH = B MED = 40 NEXT-HOP = Since A1 receives only one route to /16 [resp /16] we assume that its decision process accepts this route. We assume a similar behavior at B1. (a) Will A4 also learn the route /16 AS-PATH = B MED = 10? If so, by which protocol? Solution. By I-BGP, over a TCP connection from A1. (b) What is the routing table entry (in the forwarding table) at router A3 for destination prefix /16? at B3 for destination prefix /16? Solution. A3: destination prefix next-hop interface / N/A B3: destination prefix next-hop interface / N/A 25

26 2. Assume now that an external link is opened between A4 and B4, as shown on Figure 9. The BGP Domain T Domain A Domain B Domain X /16 Domain Z /16 A A A A B1 B2 B B /16 Domain Y /16 Figure 9: Network for exercise 2.4, step 2. announcements that are made over E-BGP are the same as previously plus the following ones: A4 to B /16 AS-PATH = B MED = /16 AS-PATH = B MED = 10 B4 to A /16 AS-PATH = B MED = /16 AS-PATH = B MED = 10 (a) Which route does the decision process at A4 now select toward the networks /16 and /16? at B4 toward /16 and /16? Give the answers in the form destination prefix / AS-path / next-hop Solution. destination prefix AS-path next-hop A4: /16 B /16 B destination prefix AS-path next-hop B4: /16 B /16 B (b) Does this change the outcome of the decision process at A1? at B1? (justify your answer) Solution. A1: the route toward /16 does not change, as the new advertisement has bigger MED value. A1: the route toward /16 changes, as the new advertisement has smaller MED value and will be prefered. 26

27 B1: the routes will not change as the shortest IGP route toward next hop has the highest priority and will always lead over A1. (c) After BGP converges, assume router A3 has a packet with destination address To which directly connected neighbor does A3 send the packet? By which mechanisms did A3 learn where to send this packet? Same questions for B3 with a packet to send to Solution. A3 forwards the packet to , determined by recursive table lookup over the next two forwarding table entries: destination prefix next-hop interface learned by / N/A I-BGP from A eth... IGP in domain A B3 forwards the packet to , determined by recursive table lookup over the next two forwarding table entries: destination prefix next-hop interface learned by / N/A I-BGP from B eth... IGP in domain B 3. Assume now that the link between A1 and B1 fails. Will connectivity between domains T and X be affected and how? Will the BGP routers be able to find new routes from T to X? Explain what will happen, i.e. what will trigger the events, which messages (information) will be exchanged and between which routers and by which protocol, which entries will change and in which tables and at which routers? Solution. The connectivity will temporarily be affected and the routes going over the broken link will experience the losses, until BGP detects and fixes the problem. BGP routers will be able to restore the connectivity by selecting alternate routes. A1 and B1 will detect the problem by observing periodic updates over the broken link are missing, or by detecting that the link is broken by some another means. Then, A1 and B1 will delete the entries learned over this link from their RIB-in tables, and update related entries in their forwarding tables. They will also advertise the changes (I-BGP) to other BGP routers within their domains, and similar delete in RIB-in and update in forwarding tables will take place (there will be only one BGP entry available per considered destination network, and it will be selected). 3 Module 3: Congestion Control Exercise 3.1 Consider the network illustrated on Figure 10. Source 1 uses links 1 and 2; source 2 uses links 2 and 3: source 3 uses link 3. Each of the links has the same capacity c. 1. Assume that the rates x 1, x 2 and x 3 of the three sources are distributed according to max-min fairness. Compute their values. Solution. x i = c 2 by the water filling algorithm. 2. Same question assuming that the rates are distributed according to proportional fairness. 27

28 source 2 link 1 link 2 link 3 source 1 source 3 Figure 10: A network with 3 sources. Solution. The proportionally fair allocation is obtained by maximizing the function defined for x i > 0 by J =lnx 1 +lnx 2 +lnx 3 subject to the constraints x 1 c (1) x 1 + x 2 c (2) x 2 + x 3 c (3) (4) The constraint (1) is redundant with the constraint (5) and can be deleted. At the optimum, the constraint (5) has to be satisfied, since, if it is not, we can always increase x 1 (which is not subject to other constraints). The same holds for (3). Thus we have to maximize a function of x 2 only, equal to ln(c x 2 )+ln(x 2 )+ln(c x 2 ) Elementary calculus gives the maximum for x 2 = c 3. The proportionally fair allocation is thus x 1 = 2c 3, x 2 = c 3 and x 3 = 2c 3. Exercise Assume that a TCP sender, called S, does not implement fast retransmit, but does implement slow start and congestion avoidance. Assume that segments n, n +1,n+2,...,n+10are transmitted at times 0, 1, 2,...,10 deciseconds (ds) transmission time per segment is 1 ds round trip time (2-way propagation plus packet transmission, ack processing and transmission) is fixed and equal to 10 ds segment n is lost no other segment or ack is lost there is no misordering of segments or acks by the network the retransmission timer for segment n is set to 60 ds, starting at the end of the transmission cwnd = twnd = 64 segments at time 0 offeredwindow = 70 segments all along the exercise 28

29 By which means and at what time will the loss of segment n be detected? Solution: Loss of segment n is detected by a retransmission timer timeout, at 61 ds. 2. Immediately after re-transmitting segment n (due to a timeout), S has 3 more segments ready to send (we call them segments n+11 to n+13). At what time is the ack for segment n+3 received (assuming again that there are no losses other than that of segment n)? For segment n +13? Solution: n +3 is ACK ed at 71 ds, n +13is ACK ed at 91 ds. Segment n +3is sent at 3 ds and received at 4 ds. At 61 ds, the loss of segment n is detected and a retransmission occurs. Since the RTT is equal to 10 ds, the segment n is ACK ed at 71 ds along with segments n +1to n +10. Since a loss was detected, cwnd is set to 1 and twnd is divided by 2. When the ACK for n is received, cwnd is set to 2. Hence, segment n +11is sent at 71 ds and segment n +12is sent at 72 ds. n +11is ACK ed at 81 ds. At this point, cwnd is incremented and segments n +13is sent. It is ACK ed at 91 ds. 3. Same question as before assuming now that fast retransmit and fast recovery are implemented and segments n +11to n +13are available for transmission at time 60. Solution: n +3is ACK ed at 23 ds. n + k +3is ACK ed at 72 ds. Segment n +1is sent at 1 ds, ACK ed at 11. Segment n +2is sent at 2 ds, ACK ed at 12. Segment n +3is sent at 1 ds, ACK ed at 13. Since segment n was lost, the three ACKs received are identical. Hence, segment n is retransmitted at 13 ds and ACK ed at 23 ds along with segments n +1to n +10. Note that with fast recovery, cwnd is only halved. Hence, when segments n +11to n +13are ready to be sent at 60 ds, they can be sent in a row at 60 ds, 61 ds and 62 ds. ACK for segment n +13is received at 72 ds. Exercise 3.3 Consider the network illustrated in Figure 11. There are three links and six flows. The flows that use one link are called short, the other flows are called long. The short flow number 1 [resp. 2,3] uses link 1, and its rate is called x 1 [resp. x 2,x 3 ]. The long flow number 1 [resp. 2,3] uses links 1 and 2 [resp. 2 and 3, 3 and 1]. All links have the same capacity c. Case 1 Assume that the rates of the six flows are distributed according to max-min fairness. Compute their values. Solution. x i = y i = c 3 by the water filling algorithm. Case 2 Same question assuming that the rates are distributed according to proportional fairness. Solution. The proportionally fair allocation exists and is unique. Since the problem is symmetric (all links play the same role) the proportionally fair allocation must have x 1 = x 2 = x 3 and y 1 = y 2 = y 3. (Proof of this statement: by contradiction. Assume this would not be true, say for example that we would have x 1 <x 2. By symmetry, the new allocation obtained by exchanging the roles of 1 and 2, thus x 1 = x 2,x 2 = x 1, would also be proportionally fair. This would contradict the uniqueness of the the proportionally fair allocation.) Thus we are looking for x and y that maximize J(x, y) =3lnx +3lny 29

30 y 3 x 3 link 2 link 3 x 2 y 2 link 1 x 1 y 1 Figure 11: A network with 6 flows. The short flow 1 and the long flow 1 are shown with thick lines. subject to the constraint x +2y c (5) At the optimum, the constraint (5) has to be satisfied with equality, since, if it is not, we can always increase x (which is not subject to other constraints). Thus we have to maximize the function of y only, equal to 3ln(c 2y)+3ln(y) Elementary calculus gives the maximum for y = c 4. The proportionally fair allocation is thus x i = c 2 and y i = c 4. Case 3 We assume now that each flow is a TCP connection. Assume that the round trip times of each short flow is equal to the same number T, while the round trip time of each long flow is exactly 2T (i.e. most of the round trip time is spent queuing and processing at the link buffers; time spent at destinations is negligible). Assume that: The loss ratio at the entrance to link i is q, the same for all links, and the same for all flows that use a link. Thus the loss ratio for a flow that uses one link is q Loss rates are small, so that the loss ratio for a flow that uses two links is considered to be equal to 2q All flows have the same TCP segment size Flows are limited only by the link capacities and overhead is negligible, so we assume that the sum of the rates of flows is equal to link capacity. For example: TCP acknowledgements are never lost. x 1 + y 1 + y 3 = c (6) 30

31 Compute the rates achieved by all flows under these assumptions. Solution. Apply the loss throughput formula: Thus x i =2 2y i. By Eq.(6), we obtain x i = y i = K T q K 2T 2q y i = c c 2+2 x i =2 2y i 0.586c Case 4 Same question assuming that the round trip times of all six flows are approximately the same (i.e. most of the round trip time is due to processing at the servers, instead of queuing and processing at the link buffers). Compare to the rates found in cases 1 and 2 and explain what you find. Also compare to the rates found in case 3 and explain what you find. Solution. Now we find Thus x i = 2y i. By Eq.(6), we obtain x i = y i = K T q K T 2q y i = c c x i = 2y i 0.414c Comparing to cases 1 and 2, we see that this allocation is in between (the ratios x i /y i are 1, 2 and 1.4). This is compatible with the fact that TCP tends to distribute rates according to a utility fairness, intermediate between proportional fairness and max-min fairness, when all RTTs are identical. Comparing to case 3, we see that TCP has a bias against long round trip times. Exercise 3.4 Consider the scenario in Figure 12. A and B each transfer a very large file over a TCP connection with server S. The link rates are: between A and R1: 54 Mb/s in each direction between B and R1: 100 Mb/s in each direction between R1 and R2: 6 Mb/s in each direction between R2 and S: 1000 Mb/s in each direction Assume there is no other traffic than these two TCP connections. The RTT for A is 1000 ms, for B it is 200 ms. 1. What would be the throughputs of A and B if they were max-min fair? if they were proportionally fair? Solution. In both cases, by computing throughputs we have that each source gets 3 Mb/s. 31

Route Discovery Protocols

Route Discovery Protocols Route Discovery Protocols Columbus, OH 43210 Jain@cse.ohio-State.Edu http://www.cse.ohio-state.edu/~jain/ 1 Overview Building Routing Tables Routing Information Protocol Version 1 (RIP V1) RIP V2 OSPF

More information

Transport Layer Protocols

Transport Layer Protocols Transport Layer Protocols Version. Transport layer performs two main tasks for the application layer by using the network layer. It provides end to end communication between two applications, and implements

More information

Internet Firewall CSIS 4222. Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS 4222. net15 1. Routers can implement packet filtering

Internet Firewall CSIS 4222. Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS 4222. net15 1. Routers can implement packet filtering Internet Firewall CSIS 4222 A combination of hardware and software that isolates an organization s internal network from the Internet at large Ch 27: Internet Routing Ch 30: Packet filtering & firewalls

More information

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013 CSE 473 Introduction to Computer Networks Jon Turner Exam Solutions Your name: 0/3/03. (0 points). Consider a circular DHT with 7 nodes numbered 0,,...,6, where the nodes cache key-values pairs for 60

More information

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Internet Protocol: IP packet headers. vendredi 18 octobre 13 Internet Protocol: IP packet headers 1 IPv4 header V L TOS Total Length Identification F Frag TTL Proto Checksum Options Source address Destination address Data (payload) Padding V: Version (IPv4 ; IPv6)

More information

Technical Support Information Belkin internal use only

Technical Support Information Belkin internal use only The fundamentals of TCP/IP networking TCP/IP (Transmission Control Protocol / Internet Protocols) is a set of networking protocols that is used for communication on the Internet and on many other networks.

More information

Introduction to TCP/IP

Introduction to TCP/IP Introduction to TCP/IP Raj Jain The Ohio State University Columbus, OH 43210 Nayna Networks Milpitas, CA 95035 Email: Jain@ACM.Org http://www.cis.ohio-state.edu/~jain/ 1 Overview! Internetworking Protocol

More information

Lecture Computer Networks

Lecture Computer Networks Prof. Dr. H. P. Großmann mit M. Rabel sowie H. Hutschenreiter und T. Nau Sommersemester 2012 Institut für Organisation und Management von Informationssystemen Thomas Nau, kiz Lecture Computer Networks

More information

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

CS 457 Lecture 19 Global Internet - BGP. Fall 2011 CS 457 Lecture 19 Global Internet - BGP Fall 2011 Decision Process Calculate degree of preference for each route in Adj-RIB-In as follows (apply following steps until one route is left): select route with

More information

IP - The Internet Protocol

IP - The Internet Protocol Orientation IP - The Internet Protocol IP (Internet Protocol) is a Network Layer Protocol. IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network

More information

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP CSCE 515: Computer Network Programming TCP/IP IP Network Layer Wenyuan Xu Department of Computer Science and Engineering University of South Carolina IP Datagrams IP is the network layer packet delivery

More information

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP Guide to Network Defense and Countermeasures Third Edition Chapter 2 TCP/IP Objectives Explain the fundamentals of TCP/IP networking Describe IPv4 packet structure and explain packet fragmentation Describe

More information

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline OSI Seven Layer Model & Seminar Outline TCP/IP Fundamentals This seminar will present TCP/IP communications starting from Layer 2 up to Layer 4 (TCP/IP applications cover Layers 5-7) IP Addresses Data

More information

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób) QUESTION NO: 8 David, your TestKing trainee, asks you about basic characteristics of switches and hubs for network connectivity. What should you tell him? A. Switches take less time to process frames than

More information

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. Course Name: TCP/IP Networking Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. TCP/IP is the globally accepted group of protocols

More information

8.2 The Internet Protocol

8.2 The Internet Protocol TCP/IP Protocol Suite HTTP SMTP DNS RTP Distributed applications Reliable stream service TCP UDP User datagram service Best-effort connectionless packet transfer Network Interface 1 IP Network Interface

More information

Network Security TCP/IP Refresher

Network Security TCP/IP Refresher Network Security TCP/IP Refresher What you (at least) need to know about networking! Dr. David Barrera Network Security HS 2014 Outline Network Reference Models Local Area Networks Internet Protocol (IP)

More information

How do I get to www.randomsite.com?

How do I get to www.randomsite.com? Networking Primer* *caveat: this is just a brief and incomplete introduction to networking to help students without a networking background learn Network Security. How do I get to www.randomsite.com? Local

More information

Unix System Administration

Unix System Administration Unix System Administration Chris Schenk Lecture 08 Tuesday Feb 13 CSCI 4113, Spring 2007 ARP Review Host A 128.138.202.50 00:0B:DB:A6:76:18 Host B 128.138.202.53 00:11:43:70:45:81 Switch Host C 128.138.202.71

More information

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science Examination Computer Networks (2IC15) on Monday, June 22 nd 2009, 9.00h-12.00h. First read the entire examination. There

More information

Troubleshooting Tools

Troubleshooting Tools Troubleshooting Tools An overview of the main tools for verifying network operation from a host Fulvio Risso Mario Baldi Politecnico di Torino (Technical University of Turin) see page 2 Notes n The commands/programs

More information

Load Balancing. Final Network Exam LSNAT. Sommaire. How works a "traditional" NAT? Un article de Le wiki des TPs RSM.

Load Balancing. Final Network Exam LSNAT. Sommaire. How works a traditional NAT? Un article de Le wiki des TPs RSM. Load Balancing Un article de Le wiki des TPs RSM. PC Final Network Exam Sommaire 1 LSNAT 1.1 Deployement of LSNAT in a globally unique address space (LS-NAT) 1.2 Operation of LSNAT in conjunction with

More information

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to: Border Gateway Protocol Exterior routing protocols created to: control the expansion of routing tables provide a structured view of the Internet by segregating routing domains into separate administrations

More information

IP address format: Dotted decimal notation: 10000000 00001011 00000011 00011111 128.11.3.31

IP address format: Dotted decimal notation: 10000000 00001011 00000011 00011111 128.11.3.31 IP address format: 7 24 Class A 0 Network ID Host ID 14 16 Class B 1 0 Network ID Host ID 21 8 Class C 1 1 0 Network ID Host ID 28 Class D 1 1 1 0 Multicast Address Dotted decimal notation: 10000000 00001011

More information

20. Switched Local Area Networks

20. Switched Local Area Networks 20. Switched Local Area Networks n Addressing in LANs (ARP) n Spanning tree algorithm n Forwarding in switched Ethernet LANs n Virtual LANs n Layer 3 switching n Datacenter networks John DeHart Based on

More information

Final for ECE374 05/06/13 Solution!!

Final for ECE374 05/06/13 Solution!! 1 Final for ECE374 05/06/13 Solution!! Instructions: Put your name and student number on each sheet of paper! The exam is closed book. You have 90 minutes to complete the exam. Be a smart exam taker -

More information

Transport and Network Layer

Transport and Network Layer Transport and Network Layer 1 Introduction Responsible for moving messages from end-to-end in a network Closely tied together TCP/IP: most commonly used protocol o Used in Internet o Compatible with a

More information

NETWORK LAYER/INTERNET PROTOCOLS

NETWORK LAYER/INTERNET PROTOCOLS CHAPTER 3 NETWORK LAYER/INTERNET PROTOCOLS You will learn about the following in this chapter: IP operation, fields and functions ICMP messages and meanings Fragmentation and reassembly of datagrams IP

More information

Ethernet. Ethernet. Network Devices

Ethernet. Ethernet. Network Devices Ethernet Babak Kia Adjunct Professor Boston University College of Engineering ENG SC757 - Advanced Microprocessor Design Ethernet Ethernet is a term used to refer to a diverse set of frame based networking

More information

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address Objectives University of Jordan Faculty of Engineering & Technology Computer Engineering Department Computer Networks Laboratory 907528 Lab.4 Basic Network Operation and Troubleshooting 1. To become familiar

More information

Layer 3 Routing User s Manual

Layer 3 Routing User s Manual User s Manual Second Edition, July 2011 www.moxa.com/product 2011 Moxa Inc. All rights reserved. User s Manual The software described in this manual is furnished under a license agreement and may be used

More information

ICOM 5026-090: Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM

ICOM 5026-090: Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM ICOM 5026-090: Computer Networks Chapter 6: The Transport Layer By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 Outline The transport service Elements of transport protocols A

More information

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg Outline Network Topology CSc 466/566 Computer Security 18 : Network Security Introduction Version: 2012/05/03 13:59:29 Department of Computer Science University of Arizona collberg@gmail.com Copyright

More information

cnds@napier Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

cnds@napier Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer) Slide 1 Introduction In today s and next week s lecture we will cover two of the most important areas in networking and the Internet: IP and TCP. These cover the network and transport layer of the OSI

More information

2. IP Networks, IP Hosts and IP Ports

2. IP Networks, IP Hosts and IP Ports 1. Introduction to IP... 1 2. IP Networks, IP Hosts and IP Ports... 1 3. IP Packet Structure... 2 4. IP Address Structure... 2 Network Portion... 2 Host Portion... 3 Global vs. Private IP Addresses...3

More information

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols Auxiliary Protocols IP serves only for sending packets with well-known addresses. Some questions however remain open, which are handled by auxiliary protocols: Address Resolution Protocol (ARP) Reverse

More information

Subnetting,Supernetting, VLSM & CIDR

Subnetting,Supernetting, VLSM & CIDR Subnetting,Supernetting, VLSM & CIDR WHAT - IP Address Unique 32 or 128 bit Binary, used to identify a system on a Network or Internet. Network Portion Host Portion CLASSFULL ADDRESSING IP address space

More information

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding Names & Addresses EE 122: IP Forwarding and Transport Protocols Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues at UC Berkeley)

More information

Network layer: Overview. Network layer functions IP Routing and forwarding

Network layer: Overview. Network layer functions IP Routing and forwarding Network layer: Overview Network layer functions IP Routing and forwarding 1 Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every host, router application

More information

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur Module 7 Routing and Congestion Control Lesson 4 Border Gateway Protocol (BGP) Specific Instructional Objectives On completion of this lesson, the students will be able to: Explain the operation of the

More information

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004 5 th lecture Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004 1 43 Last lecture Lecture room hopefully all got the message lecture on tuesday and thursday same

More information

Routing Protocols (RIP, OSPF, BGP)

Routing Protocols (RIP, OSPF, BGP) Chapter 13 Routing Protocols (RIP, OSPF, BGP) INTERIOR AND EXTERIOR ROUTING RIP OSPF BGP 1 The McGraw-Hill Companies, Inc., 2000 1 Introduction Packets may pass through several networks on their way to

More information

Introduction to IP v6

Introduction to IP v6 IP v 1-3: defined and replaced Introduction to IP v6 IP v4 - current version; 20 years old IP v5 - streams protocol IP v6 - replacement for IP v4 During developments it was called IPng - Next Generation

More information

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols Guide to TCP/IP, Third Edition Chapter 3: Data Link and Network Layer TCP/IP Protocols Objectives Understand the role that data link protocols, such as SLIP and PPP, play for TCP/IP Distinguish among various

More information

Understanding Layer 2, 3, and 4 Protocols

Understanding Layer 2, 3, and 4 Protocols 2 Understanding Layer 2, 3, and 4 Protocols While many of the concepts well known to traditional Layer 2 and Layer 3 networking still hold true in content switching applications, the area introduces new

More information

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP Overview Securing TCP/IP Chapter 6 TCP/IP Open Systems Interconnection Model Anatomy of a Packet Internet Protocol Security (IPSec) Web Security (HTTP over TLS, Secure-HTTP) Lecturer: Pei-yih Ting 1 2

More information

Routing in packet-switching networks

Routing in packet-switching networks Routing in packet-switching networks Circuit switching vs. Packet switching Most of WANs based on circuit or packet switching Circuit switching designed for voice Resources dedicated to a particular call

More information

hp ProLiant network adapter teaming

hp ProLiant network adapter teaming hp networking june 2003 hp ProLiant network adapter teaming technical white paper table of contents introduction 2 executive summary 2 overview of network addressing 2 layer 2 vs. layer 3 addressing 2

More information

VXLAN: Scaling Data Center Capacity. White Paper

VXLAN: Scaling Data Center Capacity. White Paper VXLAN: Scaling Data Center Capacity White Paper Virtual Extensible LAN (VXLAN) Overview This document provides an overview of how VXLAN works. It also provides criteria to help determine when and where

More information

RARP: Reverse Address Resolution Protocol

RARP: Reverse Address Resolution Protocol SFWR 4C03: Computer Networks and Computer Security January 19-22 2004 Lecturer: Kartik Krishnan Lectures 7-9 RARP: Reverse Address Resolution Protocol When a system with a local disk is bootstrapped it

More information

GATE CS Topic wise Questions Computer Network

GATE CS Topic wise Questions Computer Network www.gatehelp.com GATE CS Topic wise Questions YEAR 23 Question. 1 Which of the following assertions is false about the internet Protocol (IP)? (A) It is possible for a computer to have multiple IP addresses

More information

IP Addressing A Simplified Tutorial

IP Addressing A Simplified Tutorial Application Note IP Addressing A Simplified Tutorial July 2002 COMPAS ID 92962 Avaya Labs 1 All information in this document is subject to change without notice. Although the information is believed to

More information

Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2012. Network Chapter# 19 INTERNETWORK OPERATION

Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2012. Network Chapter# 19 INTERNETWORK OPERATION Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2012 Network Chapter# 19 INTERNETWORK OPERATION Review Questions ٢ Network Chapter# 19 INTERNETWORK OPERATION 19.1 List

More information

IP Routing Configuring RIP, OSPF, BGP, and PBR

IP Routing Configuring RIP, OSPF, BGP, and PBR 13 IP Routing Configuring RIP, OSPF, BGP, and PBR Contents Overview..................................................... 13-6 Routing Protocols.......................................... 13-6 Dynamic Routing

More information

Internet Control Protocols Reading: Chapter 3

Internet Control Protocols Reading: Chapter 3 Internet Control Protocols Reading: Chapter 3 ARP - RFC 826, STD 37 DHCP - RFC 2131 ICMP - RFC 0792, STD 05 1 Goals of Today s Lecture Bootstrapping an end host Learning its own configuration parameters

More information

GregSowell.com. Mikrotik Routing

GregSowell.com. Mikrotik Routing Mikrotik Routing Static Dynamic Routing To Be Discussed RIP Quick Discussion OSPF BGP What is Routing Wikipedia has a very lengthy explanation http://en.wikipedia.org/wiki/routing In the context of this

More information

Introduction to LAN/WAN. Network Layer

Introduction to LAN/WAN. Network Layer Introduction to LAN/WAN Network Layer Topics Introduction (5-5.1) Routing (5.2) (The core) Internetworking (5.5) Congestion Control (5.3) Network Layer Design Isues Store-and-Forward Packet Switching Services

More information

First Midterm for ECE374 03/24/11 Solution!!

First Midterm for ECE374 03/24/11 Solution!! 1 First Midterm for ECE374 03/24/11 Solution!! Note: In all written assignments, please show as much of your work as you can. Even if you get a wrong answer, you can get partial credit if you show your

More information

Lecture 8. IP Fundamentals

Lecture 8. IP Fundamentals Lecture 8. Internet Network Layer: IP Fundamentals Outline Layer 3 functionalities Internet Protocol (IP) characteristics IP packet (first look) IP addresses Routing tables: how to use ARP Layer 3 functionalities

More information

Instructor Notes for Lab 3

Instructor Notes for Lab 3 Instructor Notes for Lab 3 Do not distribute instructor notes to students! Lab Preparation: Make sure that enough Ethernet hubs and cables are available in the lab. The following tools will be used in

More information

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life Overview Dipl.-Ing. Peter Schrotter Institute of Communication Networks and Satellite Communications Graz University of Technology, Austria Fundamentals of Communicating over the Network Application Layer

More information

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4) Chapter 3 TCP/IP Networks 3.1 Internet Protocol version 4 (IPv4) Internet Protocol version 4 is the fourth iteration of the Internet Protocol (IP) and it is the first version of the protocol to be widely

More information

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

Network layer 1DT066! Distributed Information Systems!! Chapter 4 Network Layer!! goals: 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! Network layer" goals: "! understand principles behind layer services:" " layer service models" " forwarding versus routing" " how a

More information

LAB THREE STATIC ROUTING

LAB THREE STATIC ROUTING LAB THREE STATIC ROUTING In this lab you will work with four different network topologies. The topology for Parts 1-4 is shown in Figure 3.1. These parts address router configuration on Linux PCs and a

More information

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006 CSE331: Introduction to Networks and Security Lecture 8 Fall 2006 Announcements Reminders: Project I is due on Monday, Sept. 25th. Homework 1 is due on Friday, Sept. 29th. CSE331 Fall 2004 2 Internet Protocol

More information

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA) Lecture 15 IP Address Each host and router on the Internet has an IP address, which consist of a combination of network number and host number. The combination is unique; no two machines have the same

More information

Introduction to IP networking

Introduction to IP networking DD2395 p2 2011 Introduction to IP networking Olof Hagsand KTH CSC 1 Example: Packet transfer www.server.org An end host requests a web-page from a server via a local-area network The aim of this lecture

More information

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles. Data Networking and Architecture The course focuses on theoretical principles and practical implementation of selected Data Networking protocols and standards. Physical network architecture is described

More information

IP addressing and forwarding Network layer

IP addressing and forwarding Network layer The Internet Network layer Host, router network layer functions: IP addressing and forwarding Network layer Routing protocols path selection RIP, OSPF, BGP Transport layer: TCP, UDP forwarding table IP

More information

Computer Networks. Chapter 5 Transport Protocols

Computer Networks. Chapter 5 Transport Protocols Computer Networks Chapter 5 Transport Protocols Transport Protocol Provides end-to-end transport Hides the network details Transport protocol or service (TS) offers: Different types of services QoS Data

More information

Guideline for setting up a functional VPN

Guideline for setting up a functional VPN Guideline for setting up a functional VPN Why do I want a VPN? VPN by definition creates a private, trusted network across an untrusted medium. It allows you to connect offices and people from around the

More information

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX APPENDIX A Introduction Understanding TCP/IP To fully understand the architecture of Cisco Centri Firewall, you need to understand the TCP/IP architecture on which the Internet is based. This appendix

More information

Introduction to Analyzer and the ARP protocol

Introduction to Analyzer and the ARP protocol Laboratory 6 Introduction to Analyzer and the ARP protocol Objetives Network monitoring tools are of interest when studying the behavior of network protocols, in particular TCP/IP, and for determining

More information

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK Contemporary Control Systems, Inc. Understanding Ethernet Switches and Routers This extended article was based on a two-part article that was

More information

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012 CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012 Important: The solutions to the homework problems from the course book have been provided by the authors.

More information

Chapter 4. Distance Vector Routing Protocols

Chapter 4. Distance Vector Routing Protocols Chapter 4 Distance Vector Routing Protocols CCNA2-1 Chapter 4 Note for Instructors These presentations are the result of a collaboration among the instructors at St. Clair College in Windsor, Ontario.

More information

Internet Protocols. Background CHAPTER

Internet Protocols. Background CHAPTER CHAPTER 3 Internet Protocols Background The Internet protocols are the world s most popular open-system (nonproprietary) protocol suite because they can be used to communicate across any set of interconnected

More information

CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012

CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012 CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012 Important: No cheating will be tolerated. No Late Submission will be allowed. Total points for 5480 = 37

More information

Chapter 4 Network Layer

Chapter 4 Network Layer Chapter 4 Network Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Chapter 13 Internet Protocol (IP)

Chapter 13 Internet Protocol (IP) Chapter 13 Internet Protocol (IP) Introduction... 13-5 IP Packets... 13-5 Addressing... 13-7 Subnets... 13-8 Assigning an IP Address... 13-9 Multihoming... 13-11 Local Interfaces... 13-11 Address Resolution

More information

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP Renato Lo Cigno Routing Algorithms: One or Many? Is there a single routing protocol in the Internet? How can different protocols and algorithms

More information

First Midterm for ECE374 03/09/12 Solution!!

First Midterm for ECE374 03/09/12 Solution!! 1 First Midterm for ECE374 03/09/12 Solution!! Instructions: Put your name and student number on each sheet of paper! The exam is closed book. You have 90 minutes to complete the exam. Be a smart exam

More information

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP) TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) *Slides adapted from a talk given by Nitin Vaidya. Wireless Computing and Network Systems Page

More information

First Midterm for ECE374 02/25/15 Solution!!

First Midterm for ECE374 02/25/15 Solution!! 1 First Midterm for ECE374 02/25/15 Solution!! Instructions: Put your name and student number on each sheet of paper! The exam is closed book. You have 90 minutes to complete the exam. Be a smart exam

More information

Overview of TCP/IP. TCP/IP and Internet

Overview of TCP/IP. TCP/IP and Internet Overview of TCP/IP System Administrators and network administrators Why networking - communication Why TCP/IP Provides interoperable communications between all types of hardware and all kinds of operating

More information

[Prof. Rupesh G Vaishnav] Page 1

[Prof. Rupesh G Vaishnav] Page 1 Basics The function of transport layer is to provide a reliable end-to-end communications service. It also provides data transfer service for the user layers above and shield the upper layers from the

More information

Border Gateway Protocol (BGP)

Border Gateway Protocol (BGP) Border Gateway Protocol (BGP) Petr Grygárek rek 1 Role of Autonomous Systems on the Internet 2 Autonomous systems Not possible to maintain complete Internet topology information on all routers big database,

More information

Internet Protocols Fall 2005. Lectures 7-8 Andreas Terzis

Internet Protocols Fall 2005. Lectures 7-8 Andreas Terzis Internet Protocols Fall 2005 Lectures 7-8 Andreas Terzis Outline Internet Protocol Service Model Fragmentation Addressing Original addressing scheme Subnetting CIDR Forwarding ICMP ARP Address Shortage

More information

Understanding Virtual Router and Virtual Systems

Understanding Virtual Router and Virtual Systems Understanding Virtual Router and Virtual Systems PAN- OS 6.0 Humair Ali Professional Services Content Table of Contents VIRTUAL ROUTER... 5 CONNECTED... 8 STATIC ROUTING... 9 OSPF... 11 BGP... 17 IMPORT

More information

Network Security. Chapter 3. Cornelius Diekmann. Version: October 21, 2015. Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik

Network Security. Chapter 3. Cornelius Diekmann. Version: October 21, 2015. Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik Network Security Chapter 3 Cornelius Diekmann Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik Version: October 21, 2015 IN2101, WS 15/16, Network Security 1 Security Policies and

More information

Answers to Sample Questions on Network Layer

Answers to Sample Questions on Network Layer Answers to Sample Questions on Network Layer ) IP Packets on a certain network can carry a maximum of only 500 bytes in the data portion. An application using TCP/IP on a node on this network generates

More information

The Internet. Internet Technologies and Applications

The Internet. Internet Technologies and Applications The Internet Internet Technologies and Applications Aim and Contents Aim: Review the main concepts and technologies used in the Internet Describe the real structure of the Internet today Contents: Internetworking

More information

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF Network Layer IPv4 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF IPv4 Internet Protocol (IP) is the glue that holds the Internet together.

More information

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh Distance Vector Routing Protocols Routing Protocols and Concepts Ola Lundh Objectives The characteristics of distance vector routing protocols. The network discovery process of distance vector routing

More information

HOST AUTO CONFIGURATION (BOOTP, DHCP)

HOST AUTO CONFIGURATION (BOOTP, DHCP) Announcements HOST AUTO CONFIGURATION (BOOTP, DHCP) I. HW5 online today, due in week! Internet Protocols CSC / ECE 573 Fall, 2005 N. C. State University copyright 2005 Douglas S. Reeves 2 I. Auto configuration

More information

Application Note. Windows 2000/XP TCP Tuning for High Bandwidth Networks. mguard smart mguard PCI mguard blade

Application Note. Windows 2000/XP TCP Tuning for High Bandwidth Networks. mguard smart mguard PCI mguard blade Application Note Windows 2000/XP TCP Tuning for High Bandwidth Networks mguard smart mguard PCI mguard blade mguard industrial mguard delta Innominate Security Technologies AG Albert-Einstein-Str. 14 12489

More information

Networking Test 4 Study Guide

Networking Test 4 Study Guide Networking Test 4 Study Guide True/False Indicate whether the statement is true or false. 1. IPX/SPX is considered the protocol suite of the Internet, and it is the most widely used protocol suite in LANs.

More information

04 Internet Protocol (IP)

04 Internet Protocol (IP) SE 4C03 Winter 2007 04 Internet Protocol (IP) William M. Farmer Department of Computing and Software McMaster University 29 January 2007 Internet Protocol (IP) IP provides a connectionless packet delivery

More information

Network Protocol Configuration

Network Protocol Configuration Table of Contents Table of Contents Chapter 1 Configuring IP Addressing... 1 1.1 IP Introduction... 1 1.1.1 IP... 1 1.1.2 IP Routing Protocol... 1 1.2 Configuring IP Address Task List... 2 1.3 Configuring

More information

Based on Computer Networking, 4 th Edition by Kurose and Ross

Based on Computer Networking, 4 th Edition by Kurose and Ross Computer Networks Internet Routing Based on Computer Networking, 4 th Edition by Kurose and Ross Intra-AS Routing Also known as Interior Gateway Protocols (IGP) Most common Intra-AS routing protocols:

More information