Presentation is loading. Please wait.

Presentation is loading. Please wait.

Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.

Similar presentations


Presentation on theme: "Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1."— Presentation transcript:

1 Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1

2 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-2 Outline Overview Routers Routers and IP Packet Delivery Process Path Determination Routing Tables Static, Dynamic, Directly Connected, and Default Routes Dynamic Routing Protocols Summary Lab Exercise 4-1: Creating a Default Gateway

3 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-3 Routers LinksysCisco 2610 Router

4 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-4 router# show ip route D 192.168.1.0/24 [90/25789217] via 10.1.1.1 R 192.168.2.0/24 [120/4] via 10.1.1.2 O 192.168.3.0/14 [110/229840] via 10.1.1.3 Router Functions 1 2 1.Lets other routers know about changes 2.Determines where to forward packets

5 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-5 Routers and the IP Packet Delivery Process 1. Router receives frame. 2. Router de-encapsulates frame and sees it is an packet. 3. Router checks to see if the packet stays here or goes to the next hop. If the packet needs to be forwarded, it consults the routing table. 4. If it stays, the router uses ARP. If the packet goes, it uses MAC of next hop. 5. Outgoing interface encapsulates the packet for correct media and sends it out.

6 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-6 Path Determination

7 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-7 Routing Tables

8 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-8 Routing Table Entries Directly connected: Router attaches to this network Static routing: Entered manually by a system administrator Dynamic routing: Learned by exchange of routing information Default route: Statically or dynamically learned; used when no explicit route to network is known

9 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-9 Routing Metrics

10 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-10 Distance Vector Routing Protocols Passes periodic copies of routing table to neighbor routes and accumulates distance vectors

11 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-11 Link-State Routing Protocols After initial flood, passes small event-triggered link-state updates to all other routers

12 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-12 Summary Routers have certain components that are also found in computers and switches. These components include the CPU, motherboard, RAM, and ROM. Routers have these two primary functions in the IP packet delivery process: maintaining routing tables and determining the best path to forward packets.

13 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-13 Summary (Cont.) Routers determine the optimal path for forwarding IP packets between networks. Routers can use different types of routes to reach the destination networks, including static, dynamic, and default route. Routing tables provide an ordered list of best path to known networks and include information such as destination, next-hop associations, and routing metrics. Routing algorithms process the received updates and populate the routing table with the best route. Commonly used routing metrics include bandwidth, delay, hop count, and cost.

14 © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—4-14 Summary (Cont.) Distance vector routing protocols build and update routing tables automatically by sending all or some portion of their routing table to neighbors. The distance vector routing approach determines the direction (vector) and distance to any network in the internetwork. Link-state routing protocols build and update routing tables automatically running the SPF algorithms against the link-state database to determine the best paths and flood routing information about their own links to all the routers in the network. Cisco developed the Enhanced Interior Gateway Protocol (EIGRP), which combines the best features of the distance vector and link state routing protocol.

15


Download ppt "Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1."

Similar presentations


Ads by Google