1 / 20

Chapter Overview

Chapter Overview. Routing Principles. Understanding Routing--important. Routing refers to the process of taking a packet from one device and sending it through the network to another device on a different LAN using the network address

mckile
Télécharger la présentation

Chapter Overview

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. Chapter Overview • Routing Principles

  2. Understanding Routing--important • Routing refers to the process of taking a packet from one device and sending it through the network to another device on a different LAN using the network address • The router on the same network as the host then uses the physical address to deliver the packet

  3. Routed protocol vs. Routing protocol • routed protocols (IP, etc) route your data and routing protocols send routing updates between routers about the status of the network so that your routed protocol data can be routed. Read more: http://www.dummies.com/how-to/content/looking-into-routed-versus-routing-protocols-for-t.html#ixzz0nn1fJY6I • We discuss routing protocols in next chapter

  4. Understanding Routers • A router is a system connected to two or more networks that forwards packets from one network to another. • Routers operate at the network layer of the Open Systems Interconnection (OSI) reference model. • Routers can connect networks running different data-link layer protocols and different network media. • Large internetworks often have redundant routers, providing multiple routes to a destination. • Routers select the most efficient route to each destination.

  5. Redundant Routers

  6. Router Products • The Microsoft Windows 2000/2003/2008, Microsoft Windows NT, and Novell NetWare operating systems include routing capability. Linux? • A stand-alone router is a hardware device that is essentially a special-purpose computer (with CPU, RAM, HD, and NICs). • Cost can go from $30 to $3M

  7. To route, a router needs to know • Destination address • Neighbor routers and possible routes to all remote networks (routing table) • The best route to a remote network • How to maintain and verify routing info

  8. Direct and Indirect Routes • Direct route. The route taken when a computer running TCP/IP transmits a packet to a destination on the local network • Indirect route. The route taken when a computer running TCP/IP transmits a packet to a destination on another network by forwarding the packet to a router on the local network

  9. Routing example

  10. The main example • Host_A sends a ICMP (Internet Control Message Protocol) package to Host_B • Per https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol, it is an IP layer protocal

  11. Internet Control Message Protocol • ICMP creates an echo request (ping 172.16.20.2) and passes it to IP • IP realizes the IP address is not local, it gets the default gateway, which it has the IP address 172.16.10.1 • If IP does not have the MAC address, it uses ARP to get that • Data Link layer protocol is invoked to send a frame to the router

  12. All devices on the LAN get the message. Each runs CRC, and checks the destination MAC address if CRC checking is a go. Discards otherwise . • Router finds the match, removes envelope, passes it to IP • IP checks the destination IP address against its routing table

  13. The touting table has an entry for the 172.16.20.2, either as an IP address, network, or default. • If the routing table does not have a matching entry, the message is discarded and a “destination-network-unreachable-message is sent back to the requester. • In this case, router sends the message to 172.16.20.1 interface/port and knows it is directly connected

  14. Interface 172.16.20.1 needs to either know the MAC address of 172.16.20.2 already or use ARP to resolve it • Again Data Link and Physical layers deliver the IP packet • Host_B receives the frame, runs CRC, checks the MAC address – it is for itself, checks protocol and passes it to IP • IP passes the package to ICMP, which generates an echo reply message, trigging a message from B to A 

  15. Selecting a Table Entry

  16. A Routing Table: Sample

  17. Routing Table Entries for a Router • A routing table on a router contains • Entries for all of the networks that the router is attached to • Entries provided manually by administrators or dynamically by routing protocols

  18. Requires administrators to create routing table entries manually Suitable only for small networks Creates routing table entries automatically by using routing protocols. Suitable for large networks Automatically compensates for network infrastructure changes Reduces administrative workload Static Routing and Dynamic Routing Static Routing Dynamic Routing

  19. Interior Gateway Protocols (IGP) and Exterior Gateway Protocols (EGP) Border Gateway Protocol (BGP). EGP IGP More IGP protocols later

  20. IGP and EGP • An interior gateway protocol (IGP) is a routing protocol that is used within an autonomous system (AS). • In contrast an Exterior Gateway Protocol (EGP) is for determining network reachability between autonomous systems and makes use of IGPs to resolve routes within an AS. • The interior gateway protocols can be divided into two categories: 1) Distance-vector routing protocol and 2) Link-state routing protocol.

More Related