Presentation is loading. Please wait.

Presentation is loading. Please wait.

November 29, 2004 Prof. Paul Lin 1 CPET 355 16. Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering.

Similar presentations


Presentation on theme: "November 29, 2004 Prof. Paul Lin 1 CPET 355 16. Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering."— Presentation transcript:

1 November 29, 2004 Prof. Paul Lin 1 CPET 355 16. Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology Purdue University, Fort Wayne Campus

2 November 29, 2004 Prof. Paul Lin 2 Network Layer - an Overview Getting data packets from the source all the way to the destination Getting data packets from the source all the way to the destination Dealing with end-to-end transmission Dealing with end-to-end transmission Need to know Need to know Topology of the communication subnet (routers)Topology of the communication subnet (routers) Chose paths (routing algorithms)Chose paths (routing algorithms)

3 November 29, 2004 Prof. Paul Lin 3 Position of Network Layer Courtesy - From Fig. 1, Page 467, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

4 November 29, 2004 Prof. Paul Lin 4 Network Layer Duties Courtesy - From Fig. 2, Page 468, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

5 November 29, 2004 Prof. Paul Lin 5 Network Layer Topics of Discussion Network Layer Design Issue Network Layer Design Issue Services to the TCP LayerServices to the TCP Layer Connectionless Services (Datagram) Connectionless Services (Datagram) Connection-Oriented Services (Virtual Circuit) Connection-Oriented Services (Virtual Circuit) SubnetsSubnets Internetworking Internetworking Addressing Addressing Routing Routing

6 November 29, 2004 Prof. Paul Lin 6 Internetworks Courtesy - From Fig. 19.1, Page 471, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Host A -> Host D 4 LANS, 1 WAN S1, S2, S3: Switch or Router f1, f2: Interface Three links: S1 -> S2 -> s3

7 November 29, 2004 Prof. Paul Lin 7 Links in an Internetwork Courtesy - From Fig. 19.2, Page 472, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

8 November 29, 2004 Prof. Paul Lin 8 Network Layer in an Internetwork Courtesy - From Fig. 19.3 Page 473, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

9 November 29, 2004 Prof. Paul Lin 9 Network Layer at the Source Courtesy - From Fig. 19.4 Page 473, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Creating Source and Destination Address, Fragmentation

10 November 29, 2004 Prof. Paul Lin 10 Network Layer at Router or Switch Courtesy - From Fig. 19.5 Page 474, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Routing Table, Fragmentation

11 November 29, 2004 Prof. Paul Lin 11 Network Layer at Destination Courtesy - From Fig. 196 Page 475, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Corrupted packet, Fragments

12 November 29, 2004 Prof. Paul Lin 12 Quality of Service Requirements From Fig. 5-30, Page 397, Computer Networks, 4 th edition, Andrew S. Tanenbaum, Prentice Hall

13 November 29, 2004 Prof. Paul Lin 13 Packet-Switched Network - Internet Courtesy - From Fig. 196 Page 475, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Packets – Variable Length Data Blocks; Node to Node Delivery Virtual Circuit – WAN, Frame Relaying, ATM applications, call setup a single route

14 November 29, 2004 Prof. Paul Lin 14 Packet-Switched Network - Internet Courtesy - From Fig. 196 Page 475, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Datagram Approach – no fixed path, routing, out of order Packets == Datagrams

15 November 29, 2004 Prof. Paul Lin 15 Addressing Internet Address – IP Address Classful addressing – original architecture Class A, B, C, D, and E Classless addressing – mid 1990s IPv4 32-bit binary number Dotted-Decimal Notation 128.11.3.31 255.255.255.0 IPv6 - 128-bit

16 November 29, 2004 Prof. Paul Lin 16 Addressing – IPV4 Courtesy - From Fig. 19.10 Page 479, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Network ID, Host ID Class A – 128 blocks (First Byte), 16,777,216 hosts Class B – 16,384 blocks (First & Second Byte), 65536 hosts Class C – 2,097,152 blocks (First, Second, Third byte), 256 hosts Class D – 1 block, Multicasting

17 November 29, 2004 Prof. Paul Lin 17 Finding the Class Courtesy - From Fig. 19.12 Page 480, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

18 November 29, 2004 Prof. Paul Lin 18 Netid and Hostid Courtesy - From Fig. 19.13 Page 481, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

19 November 29, 2004 Prof. Paul Lin 19 Classes and Blocks - Netid 73 Courtesy - From Fig. 19.14 Page 482, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill 128 Blocks; 16,777,216 Hosts

20 November 29, 2004 Prof. Paul Lin 20 Blocks in Class B Network Courtesy - From Fig. 19.15 Page 483, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill 16384 Blocks; 65536 Hosts

21 November 29, 2004 Prof. Paul Lin 21 Blocks in Class C Network Courtesy - From Fig. 19.16 Page 484, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill 2,097,152 Blocks; 255 Hosts

22 November 29, 2004 Prof. Paul Lin 22 Network Address Courtesy - From Fig. 19.17 Page 484, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill An address defines a network with all host-id = 0

23 November 29, 2004 Prof. Paul Lin 23 Sample Internet Courtesy - From Fig. 19.18 Page 486, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

24 November 29, 2004 Prof. Paul Lin 24 Subnetting Courtesy - From Fig. 19.19 Page 487, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Class B – 1 block, 65536 hosts (16-bit) Subnets 2 sub-blocks (1-bit), 36768 hosts (15-bit) 4 sub-blocks (2-bit), 18384 hosts (14-bit) … 128 sub-blocks (7-bit), 512 host (9-bit)

25 November 29, 2004 Prof. Paul Lin 25 Subnetting – 3 Level Hierarchy Courtesy - From Fig. 19.20 Page 487, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Three levels: Site, Subnet, Host

26 November 29, 2004 Prof. Paul Lin 26 A Network With and Without Subnetting Courtesy - From Fig. 19.21 Page 488, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

27 November 29, 2004 Prof. Paul Lin 27 Masks Courtesy - From Table 19.1 Page 489, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Class In Binary In Dotted- Decimal Using Slash A 11111111 00000000 00000000 00000000 255.0.0.0/8 B 11111111 11111111 00000000 00000000 255.255.0.0/16 C 11111111 111111111 11111111 00000000 255.255.255.0/24

28 November 29, 2004 Prof. Paul Lin 28 Supernetting An organization can combine several class C block to form a larger range of addresses

29 November 29, 2004 Prof. Paul Lin 29 Classless Addressing Variable-Length Block (2, 4, 128, etc) Mask Finding the Network Address Subnetting CIDR (Classes InterDomain Routing)

30 November 29, 2004 Prof. Paul Lin 30 Dynamic Address Configuration DHCP (Dynamic Host Configuration Protocol) Database 1 (static) - Physical addresses to IP addresses Database 2 (dynamic) – Available IP, Lease Time

31 November 29, 2004 Prof. Paul Lin 31 Network Address Translation Courtesy – Table 19.2 Page 494, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill RangeTotal 10.0.0.0 to 10.255.255.255 2 24 172.16.0.0 to 172.31.255.255 2 20 192.168.0.0 to 192.168.255.255 2 16 Internally, a large set of addresses Externally, one address, or a small set of addresses

32 November 29, 2004 Prof. Paul Lin 32 A NAT Example Courtesy – Fig 19.25 Page 495, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Private address: 172.18.0.0 to 172.18.255.255 NAT Router address: 200.24.5.8

33 November 29, 2004 Prof. Paul Lin 33 Address Translation Courtesy – Fig. 19.25 Page 495, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Private address: 172.18.0.0 to 172.18.255.255 NAT Router address: 200.24.5.8

34 November 29, 2004 Prof. Paul Lin 34 Address Translation (cont.) Courtesy – Fig. 19.25 Page 495, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

35 November 29, 2004 Prof. Paul Lin 35 Translation Table Courtesy – Table 19.3 Page 497, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill Private Address Private Port External Address External Port Transport Protocol 172.18.3.1140025.8.3.280TCP 172.18.3.2140125.8.3.280TCP...............

36 November 29, 2004 Prof. Paul Lin 36 Routing Techniques Routing Tables Next-Hop Routing Network-Specific Routing Host-Specific Routing Default Routing

37 November 29, 2004 Prof. Paul Lin 37 Translation Table Courtesy – Fig. 19.27 Page 496, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

38 November 29, 2004 Prof. Paul Lin 38 Next-Hop Routing Courtesy – Fig. 19.28 Page 498, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

39 November 29, 2004 Prof. Paul Lin 39 Network-Specific Routing Courtesy – Fig. 19.29 Page 498, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

40 November 29, 2004 Prof. Paul Lin 40 Host-Specific Routing Courtesy – Fig. 19.30 Page 499, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

41 November 29, 2004 Prof. Paul Lin 41 Default Routing Courtesy – Fig. 19.31 Page 500, Data Communications and Networks, 3rd edition, Forouzan, McGrawHill

42 November 29, 2004 Prof. Paul Lin 42 More on Routing Static vs Dynamic Static Routing Table Dynamic Routing Table and Protocols RIP – Routing Information Protocol OSPF – Open Shortest Path First BGF – Border Gateway Protocol Routing Tables For Classful Addressing For Classless Addressing (CIDR)


Download ppt "November 29, 2004 Prof. Paul Lin 1 CPET 355 16. Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering."

Similar presentations


Ads by Google