• Aucun résultat trouvé

Building Scalable Cisco Building Scalable Cisco Internetworks (BSCI) Internetworks (BSCI) IP Routing Overview

N/A
N/A
Protected

Academic year: 2022

Partager "Building Scalable Cisco Building Scalable Cisco Internetworks (BSCI) Internetworks (BSCI) IP Routing Overview"

Copied!
5
0
0

Texte intégral

(1)

http://www.INE.com

Building Scalable Cisco Building Scalable Cisco

Internetworks (BSCI) Internetworks (BSCI)

IP Routing Overview

IP Routing Overview IP Routing Overview

• Three main steps

– Routing

• Find the outgoing interface

– Switching

• Move the packet between interfaces

– Encapsulation

• Build the layer 2 header

• i.e. layer 2 packet rewrite

(2)

Copyright

Copyright ©© 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc www.INE.com

www.INE.com

The Routing Process The Routing Process

• Step 1: Find the longest match

show ip route 1.2.3.4

• 1.0.0.0/8

• 1.2.0.0/16

• 1.2.3.0/24

• Which route chosen?

• Step 2: Perform recursive lookup

– 1.2.3.4 via 5.6.7.8

• 5.6.7.8 via 9.0.1.2

– 9.0.1.2 via 3.4.5.6

» 3.4.5.6 directly connected, FastEthernet0/0

Copyright

Copyright ©© 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc www.INE.com

www.INE.com

Metric vs. Administrative Distance Metric vs. Administrative Distance

• If there are multiple longest matches from…

– the same protocol

• Metric used to decide between multiple routes from the same protocol

– different protocols

• Administrative distance used to decide between multiple routes from different protocols

(3)

Copyright

Copyright ©© 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc www.INE.com

www.INE.com

Administrative Distance Reference Administrative Distance Reference

255 Infinite

200 Internal BGP

170 External EIGRP

160 ODR

140 EGP*

120 RIP

115 IS-IS

110 OSPF

100 IGRP*

90 Internal EIGRP

20 External BGP

5 EIGRP Summary

1 Static

0 Connected

*Deprecated

The Switching Process The Switching Process

• Move the packet between interfaces

• Where load balancing occurs

• Switching Paths

– Process

– Fast

– CEF

– …

(4)

Copyright

Copyright ©© 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc www.INE.com

www.INE.com

The Encapsulation Process The Encapsulation Process

• Build the layer 2 header based on the outgoing media

– i.e. layer 2 packet rewrite

• Two different types of interfaces

– Point-to-point

• Only one possible destination

• No need for layer 2 addressing

• e.g. HDLC, PPP, etc.

– Multipoint

• More than one possible destination

• Requires layer 3 to layer 2 resolution

• e.g. Ethernet, Frame Relay, ATM, etc.

Copyright

Copyright ©© 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc www.INE.com

www.INE.com

Routing to a Next

Routing to a Next- -Hop vs. Interface Hop vs. Interface

• To next-hop

– e.g. ip route 10.0.0.0 255.0.0.0 1.2.3.4 – Recursive lookup required

– Resolve layer 2 address of 1.2.3.4

• To point-to-point interface

– e.g. ip route 10.0.0.0 255.0.0.0 Serial0/0.1 – No recursive lookup

– Layer 2 resolution not required

• To multipoint Interface

– e.g. ip route 10.0.0.0 255.0.0.0 FastEthernet0/0 – No recursive lookup

– Resolve layer 2 address for final destination

• Ethernet Proxy-ARP

• NBMA Mappings

(5)

Copyright

Copyright ©© 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc www.INE.com

www.INE.com

IP Routing Q&A

IP Routing Q&A

Références

Documents relatifs

• Some DHCP implementation don’t use client source MAC address but instead use “Client Hardware Address” inside DHCP request payload. • Attacker can keep source MAC

– Upstream switch sends TCAck in Configuration BPDU back – Upstream switch sends TCN out Root Port. – Next upstream switch sends TCAck in Configuration BPDU back – Next

Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan

Copyright © © 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc

– Next-hop is the IP address used to peer with the EBGP neighbor they learned it from. •

AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 EIGRP: received packet with MD5 authentication, key id = 1 EIGRP: Received HELLO on FastEthernet0/0.12 nbr 10.1.12.2. AS 1,

Copyright © © 2009 Internetwork Expert, Inc 2009 Internetwork Expert, Inc

• Like OSPF, IS-IS uses hellos to negotiate adjacency parameters. • IS-IS