1 / 33

Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT

This article explains the concepts of addressing and routing in internetworks, including classful and classless addressing, as well as the use of Network Address Translation (NAT). It also covers different routing techniques and their advantages.

bryonh
Télécharger la présentation

Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Layer: 19.1 Internetworks 19.2 Addressing Classful, Classless addressing, NAT 19.3 Routing

  2. Figure 19.2Links in an internetwork

  3. Figure 19.3Network layer in an internetwork

  4. Figure 19.4Network layer at the source

  5. IP Packet Header bits

  6. Figure 19.5Network layer at a router

  7. Example A router inside the organization receives the same packet with destination address 190.240.33.91. Show how it finds the subnetwork address to route the packet. Solution • The router follows three steps: • The router must know the mask. Assume it is /19. • The router applies the mask to the address, 190.240.33.91. The subnet address is 190.240.32.0. • The router looks in its routing table to find how to route the packet to this destination.

  8. 191.240.11.0 190.240.32.0 191.240.12.0

  9. Figure 19.6Network layer at the destination

  10. Figure 19.7Switching

  11. Figure 19.7Switching

  12. Figure 19.7Switching

  13. Figure 19.8Datagram approach

  14. Note: Switching at the network layer in the Internet is done using the datagram approach to packet switching.

  15. Note: Communication at the network layer in the Internet is connectionless.

  16. 19.3 Routing Routing Techniques Static Versus Dynamic Routing Routing Table for Classful Addressing Routing Table for Classless Addressing

  17. Next-hop routing Network-specific routing Host-specific routing Default routing Routing Techniques

  18. Figure 19.28Next-hop routing

  19. Figure 19.29Network-specific routing

  20. Figure 19.30Host-specific routing

  21. Network address 0.0.0.0 Figure 19.31Default routing

  22. Routes manually entered By administrator If Internet changes, table is updated manually Good for small internet, experiments, troubleshooting Routes periodically updated By protocols like RIP, OSPF, BGP (ch21) If Internet changes, protocols update tables. Good for big internet such as the Internet. Static and Dynamic Routing Tables Static Dynamic

  23. Figure 19.32Classful addressing routing table

  24. Example 10 Using the table in Figure 19.32, the router receives a packet for destination 192.16.7.1. For each row, the mask is applied to the destination address until a match with the destination address is found. In this example, the router sends the packet through interface m0 (host specific). 11000000 00010000 00000111 00000001 11111111 11111111 11111111 11111111 11000000 00010000 00000111 00000001 192.16.7.1 /32 192.16.7.1

  25. Example 11 Using the table in Figure 19.32, the router receives a packet for destination 193.14.5.22. For each row, the mask is applied to the destination address until a match with the next-hop address is found. In this example, the router sends the packet through interface m2 (network specific). 11000001 00001110 00000101 00010110 11111111 11111111 11111111 00000000 11000001 00001110 00000101 00000000 193.14.5.22 /24 193.14.5.0

  26. Example 12 Using the table in Figure 19.32, the router receives a packet for destination 200.34.12.34. For each row, the mask is applied to the destination address, but no match is found. In this example, the router sends the packet through the default interface m0. 11001000 00100010 00001100 00100010 00000000 00000000 0000000000000000 00000000 00000000 00000000 00000000 200.34.12.34 /0 0.0.0.0

  27. Figure 19.32Classless addressing routing table

  28. An example of address allocation and distribution by an ISP

  29. No Hierarchical routing

  30. Hierarchical routing(2-level)

  31. Geographic routing A European backbone A U.S. backbone Leased lines to Asia Leased transatlantic lines National network Regional network

  32. Classful addressing(obsolete) Wasteful address archetecture Network boundaries are fixed at 8, 16 and 24 bits (class A, B, and C) Classless addressing Efficient address architecture Network boundaries may occur at any bit (/12, /16,/19,/24, etc) Summary Best Current Practice

  33. NAT allows private network to use a set of private addresses internally, and global addresses externally. Routing Static / Dynamic Classful / Classless routing Hierarchical / Geographical routing Summary Alleviates IP depletion Used for the Internet Prevent immense routing table sizes

More Related