Lab - 14 - Routing Protocols & Configuration
Lab - 14 - Routing Protocols & Configuration
http://www.4shared.com/rar/RkAOflVf/Lab-14-Routing_Protocols__Conf.html
1) 2) 3) 4) 5) 6) Configure the topology Verify Connected Routes Configuring Static Routes Configuring Default Routes Configuring Dynamic Routing Protocol (RIP) Verifying RIP
www.asghars.blogspot.com
i.
Configure Hosts Please refer to Lab-00-Prepare Virtual Network Environment to configure the loopback and virtual Linux boxes.
ii.
www.asghars.blogspot.com
b. SW_LHR
www.asghars.blogspot.com
c. SW_PSH
www.asghars.blogspot.com
iii.
www.asghars.blogspot.com
b. Lahore
www.asghars.blogspot.com
c. Peshawar
www.asghars.blogspot.com
The output of the show ip route command confirms that Islamabad added a route to all subnets to its routing table.
ii.
Lahore
www.asghars.blogspot.com
iii.
Peshawar
For example; Islamabad can successfully ping the IP addresses on its local connected LAN subnet (10.1.128.252 and 10.1.130.252). However, a ping of IP addresses 10.1.129.252, 10.1.129.253, 10.1.2.251 and 10.1.3.251 will fail.
One solution to this problem could be to configure static routes as. i. Islamabad Possible Routes Route 10.1.2.0 10.1.3.0
www.asghars.blogspot.com
10
You can also verify the static routes through show ip route.
ii.
iii.
www.asghars.blogspot.com
11
Ping Command on Cisco Routers: The Cisco ping command uses, by default, the output interfaces IP address as the packets source address, unless otherwise specified as in the example given below.
www.asghars.blogspot.com
12
ii.
Lahore
iii.
Peshawar
www.asghars.blogspot.com
13
i.
Islamabad
ii.
Lahore www.asghars.blogspot.com 14
iii.
Peshawar
Note: To disable the sending of RIP updates on specific interface use the passive-interface type number RIP subcommand but before applying this command RIP on that interfaces must be enabled.
6. Verifying RIP
i. Show Command Three primary show commands are helpful to confirm how well RIP-2 is working.
www.asghars.blogspot.com
15
a. Metric When an internetwork has redundant links, and uses a single routing protocol, each router may learn multiple routes to reach a particular subnet. The routing protocol then uses a metric to choose the best route, and the router adds that route to its routing table. b. Administrative Distance When multiple routing protocols are used on the single router. The IOS assign a numeric value to each routing protocol. IOS then chooses the route whose routing protocol has the lower number. This number is called the administrative distance (AD). RIP defaults to use an AD of 120. Note; Static routes (backup static route) have a default AD that is better than all routing protocols, so if a router has a static route defined for a subnet, and the routing protocol learns a route to the same subnet, the static route will be added to the routing table. www.asghars.blogspot.com 16
For example, the ip route 10.1.1.0 255.255.255.0 10.2.2.2 150 command sets this static routes AD to 150. If RIP-2 learned a route to 10.1.1.0/24 on this same router, the router would place the RIP-learned route into the routing table, assuming a default AD of 120, which is better than the static routes AD in this case. The show ip protocols command identifies some of the details of RIP operation.
Of particular importance for real-life troubleshooting, focus on both the version information and the routing information sources. If you forget to configure the version 2 command on one router, that router will send only RIP-1 updates by default, and the column labeled Send would list a 1 instead of a 2. The other routers, only listening for Version 2 updates, could not learn routes from this router. ii. Debug Command This command enables a debug option that tells the router to generate log messages each time the router sends and receives a RIP update.
www.asghars.blogspot.com
17
Before using the debug command, it is helpful to look at the routers CPU utilization with the show process command. On routers with a higher CPU utilization, generally above 30 to 40 percent, be very cautious when enabling debug options, as this may drive the CPU to the point of impacting packet forwarding.
www.asghars.blogspot.com
18
www.asghars.blogspot.com
19