Professional Documents
Culture Documents
Cnap - 2 - 06 - Routing & Routing Protocols
Cnap - 2 - 06 - Routing & Routing Protocols
Table of Content
6
Configuring Static Routes Configuring Static Routes: Example
Configuring Default Route Forwarding Verifying & Troubleshoot Static Route Configuration
Sterling
S0 S1
Hoboken S0 S1 waycross
172.16.3.1/24 172.16.5.1/24
172.16.1.1/24 • show running-config to view the active
configuration
• show ip route to verify that the route that was
configured is in the routing table.
waycross(config)# ip route 0.0.0.0 0.0.0.0 [next-hop-address | • Ping
outgoing interface]
Default routes are used to route packets with destinations
• Traceroute
that do not match any of the other routes in the routing table
waycross(config)# ip route 0.0.0.0 0.0.0.0 172.16.4.1
10
9
12
Purpose Of A Routing Protocol & Autonomous Systems Identifying The Classes Of Routing Protocols
14
A B C
10.2.0.0 10.3.0.0
10.1.0.0 10.2.0.0 10.3.0.0 10.4.0.0
16
Path Determination
18
Routing Configuration Routing Configuration ( cont. )
Network 172.16.0.0
20
RIP,IGRP,EIGRP,OSPF
21
22
Interior Gateway Routing Protocol (IGRP) Open Shortest Path First (OSPF)
24
Enhanced Interior Gateway Routing Protocol (EIGRP) Summary
26
28
mailto: info@saigonctt.com
Table of Content
2 RIP
3 IGRP
30
Distance vector routing updates Distance vector routing loop issues
31
32
• Routing loops increment the distance vector •Specific a maximum distance vector metric as infinity.
33
34
Network 1
Distance 16
36
Split horizon with poison reverse Avoiding routing loops with triggered updates
Network 4 Network 5 Network 10.4.0.0 is unreachable
Network 3
A B C
Network 1
Network 1
Distance 16
unreachable
• Route poisoning does not break split horizon rules. • With the triggered update approach, routers send
• Split horizon with poison reverse is essentially messages as soon as they notify a change in their
route poisoning, but specifically placed on links routing table
that split horizon would not normally allow routing
information to flow across, the failed routes are
advertised with infinite metrics.
37
38
RIP
ROUTING INFORMATION PROTOCOL
39
40
Ethernet
42
Configuring RIP: Option tasks Without ip classless command
• Applying offsets to routing metrics
10.3.3.0
• Adjusting timers Fa0/1 192.168.1.4/30
44
10.3.3.0
Fa0/1 192.168.1.4/30
S0/0
BHM GAD
• To reduce routing loops and counting to infinity,
Fa0/0 192.168.13.2
10.1.1.0 RIP uses the following techniques:
– Count-to-infinity
– Split horizon
To
10.2.2.4 – Poison reverse
– Holddown counters
Destination network Outbound interface
– Triggered updates
10.3.3.0 Fa0/1
10.1.1.0 Fa0/0
0.0.0.0 S0/0
45
46
Setting holddown timer To configure the router to send and receive packets
To disable split horizon: Command Purpose
Router(config-if)#no ip split-horizon Router(config-router)#version {1 | 2} Configure the software to
send and receive RIP version
To change the holddown timer: 1 version 2 packets
Router(config-if)#ip rip send version 1 Configure an interface to send
Router(config-router)#timers basic update invalid RIP version 1 packets
holddown flush [sleeptime] Router(config-if)#ip rip send version 2 Configure an interface to send
RIP version 2 packets
To change the update internal: Configure an interface to send
Router(config-if)#ip rip send version 1 2
Router(config-router)#update-timer seconds RIP version 1 or 2 packets
Router(config-if)#ip rip receive version 1 Configure an interface to
Disable the sending of routing updates on specified interfaces: receive RIP version 1 packets
48
packets
Verifying RIP configuration: SHOW IP PROTOCOLS Verifying RIP configuration: SHOW IP ROUTE
RIP interface
50
Troubleshooting RIP update issues: DEBUG IP RIP Troubleshooting RIP update issues: Others command
52
1
56K
64K 2
3
155M
54
Integrating static routes with RIP RIP with floating route
56
Characteristics
58
k2xBW
Metric = k1xBW + + k3xDelay
256 – Load
k5
If k5 ≠ 0 then: Metric = Metric x
Rel + k4
• Default: k1 = 1, k2 = 0, k3 = 1, k4 = 0, k5 = 0.
• Delay is the sum of all the delays of all outgoing interfaces
divided by 10.
– Delay = [Delay / 10ms].
• BW is the lowest bandwidth of all outgoing interfaces divided
by 10,000,000.
– BW = [10.000.000 / bandwidth in Kbps].
59
60
Interior, System and Exterior route IGRP stability features
62
Configuring IGRP and migrating RIP to IGRP Verifying IGRP configuration: SHOW IP INTERFACES
Ethernet
Ethernet
64
Verifying IGRP configuration: SHOW IP PROTOCOLS Verifying IGRP configuration: SHOW RUN
65
66
Verifying IGRP configuration: SHOW RUN Verifying IGRP configuration: SHOW IP ROUTE
67
68
70
Summary