You are on page 1of 197

Cisco Certified Network Professional

(CCNP) – Route Lab Manual

Authored By:

Khawar Butt
Penta CCIE # 12353

Comprehensive Coverage of the CCNP –
Route Blueprint

(R/S,Security,SP,Voice,Storage)

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 1 of 197

Cisco Certified Network Professional
(CCNP) – Route Lab Manual

Authored By:

Khawar Butt
Penta CCIE # 12353

Module 1 – VLSM and Route
Summarization

(R/S,Security,SP,Voice,Storage)

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 2 of 197

Variable-Length Subnet Mask
Definition
Variable-Length Subnet Mask(VLSM): provides the ability to have more than
one subnet mask within your major network. It also allows you to further
subnet your already subnetted networks. Requires Classless Routing
Protocols.

Advantages
Efficient Use of IP addresses: Without VLSMs, networks would have to use
the same subnet mask throughout the network. But all your networks don’t
have the same number of hosts.
For example: You have 2 LAN connected via a Serial Point-to-point connection.
Each LAN has 50 Hosts on it. When you assign the subnet mask, it has to be
consistent across your network. So you end up assign a sub-network address
to the WAN connection with 62 hosts, whereas you only need 2.
Greater Capability for Route Summarization: Route Summarization is
covered in detail, later on in this module.

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 3 of 197

200.com Page 4 of 197 .200.32/27 • 200. 3 bits give us 6 usable networks with 30 hosts per network.128/27 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. In VLSMs.netscopeme.0 network into 6 subnets  We borrow 3 bits.200.  Our new networks are as follows: • 200.200. we can get away with borrowing only 3 bits.255. giving us 14 networks. Let us say we have a Class C address of 200. we want to connect the Main Site to the Branch Offices.96/27 • 200. we will use VLSMs.Calculating VLSMs 25 Hosts 25 Hosts 25 Hosts 25 Hosts In this example.224 or 27 bit Subnet Mask. In order to get around this problem.200. If we need 7 networks.0 assigned to us.200. a total of 7 networks.200. We will use the first 4 networks for our LAN based networks. If we used a fixed length subnet mask. we would need 4 networks for the LANs and 3 Networks for WANs.com Khawarb@khawarb. giving us a new mask of 255.200.200.200. Subnetting the 200. we have to borrow 4 bits. But it will only give us 14 hosts per network. Our WAN connections only require 2 hosts per network and we need 3 Networks.200.255.200.64/27 • 200. and subnet the fifth one further to give us additional networks with less hosts on each for our WAN connections.

200.200.10100100 200.10111000 (200.com Page 5 of 197 .200.168) Valid (200.200.200.200.164/30 25 Hosts 25 Hosts 200.200.200.200.128/27 200.200.224)  We only need 2 hosts per WAN connection.200.172) Valid (200.64/ 27 25 Hosts 200.200.200.255.200.200. 200.200.200.  We can take either the 5th or 6th network and further subnet it.160) Mask : 255.180) Valid (200. 200.  The network numbers are as follows: 200.192/27  We will assign the first 4 networks to our LAN-Based Networks. 200.200.168/30 200.200.255.200.10101100 200.200.172/30 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.200.200.32/ 27 200.200.10110100 200.200.200.200.255.160/27 200. 200.96/ 27 25 Hosts 200. leaving only 2 bits for hosts on each network.200.200.10100000 (200.11100000 (255.200.184) Valid Host Range: 165-166 Host Range: 169-170 Host Range: 173-174 Host Range: 177-178 Host Range: 181-182 Host Range: 185-186  So you can choose any 3 of the above network addresses for the WAN connections.• • 200.200. We will borrow a further 3 bits from this network.10101000 200.255.164) Valid (200. 200.200.200. Decimal Binary Subnet :200. 200. 200.netscopeme. 200.176) Valid (200.200. Let’ use the 5th network and further subnet it.200.200.200.10110000 200.200.200.com Khawarb@khawarb.

0.com Khawarb@khawarb. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Make sure to write the Subnet Mask in the bit format (/24).com Page 6 of 197 .1. Write the Network Addresses for all the networks including the WAN connections.netscopeme. use VLSMs to assign IP addresses in a efficient manner by minimizing loss of host addresses.Written Exercise for Calculating VLSMs Exercise 1 25 Hosts 5 Hosts 25 Hosts 5 Hosts 5 Hosts Objective: Given an IP address of 200.1.

Advantages  Reduces the size of Routing Tables  Isolates Topology changes from other routes in a Large Network Routing Table 150. 50. 35. 34. 50.com Khawarb@khawarb. 50. 34. 50. 0/24 150. 50. 0/24 150.0/ 16 B 150. 50. 33.netscopeme. 33. 0/24 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. 0/24 A Routing Table 150. 0/24 150. 0.Route Summarization Definition Route Summarization: reduces the number of routes that a router must maintain because it represents a series of network numbers in a single summary address. 50. 0/24 150. 35.com Page 7 of 197 .

0) (150.01000100.50.0/24 150.0) (150.69.0/24 LA is connected to another router SD.0/24 150.01000011.68.64.0) (150.01000001.50.01000101.50.50.50.50. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.50.0) (150.50.00000000 (150.01000010.50.00000000 150.01000000.67.66.01000010.0/24 150.70.0) (150.71.01000011.00000000 150.0) (150.50.netscopeme.50.50.0) (150.50.67. 150.50.50.00000000 150.0) (150.66.01000000.69.01000111.50.50.68.00000000 150.50.50.50.50.0) (150.0) (150.50.00000000 150.65.01000100.01000001.00000000 150.01000110.71. look at the bits that are common and draw a line.50.64.65.0) (150.70.50.00000000 150.00000000 150.65.50.0) The summarized address will be address you get from the common high order bits.00000000 (150.00000000 150.50.00000000 150.0/24 150.50.50.68.0/24 150.70.66.01000110.com Khawarb@khawarb.50.0/24 150.50.0) Starting from High order bits towards low order bits (Left to Right).01000111. LA wants to minimize the number of entries it sends to SD.50.50.00000000 150.50.50.com Page 8 of 197 . 150.71.50.50.00000000 150.50.0) (150.0) (150.0) (150.00000000 150.64.50.50.69. Write the network in Binary Format.Summarizing within an Octet Let us say that we the following networks connected to a Router named LA: 150.00000000 150.50.67.01000101.0/24 150.

netscopeme.50.com Page 9 of 197 . Your Subnet mask will the number of common bits.64. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.50.00000000 (150.50.150. which is 16 + 16 + 5 = 21 The Route that will be sent is 150.0/21.com Khawarb@khawarb.01000000.64.0).

1.107.80/28 OC 131.112/28 Where would you do Route Summarization? What would the Summarized addresses be? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.com Page 10 of 197 .107.144/28 131.107.1.107.107.107.107.192/28 131.Written Exercise for Route Summarization Exercise 1 131.208/28 LA SF 131.1.176/28 131.160/28 131.64/28 131.128/28 131.1.1.1.1.107.107.netscopeme.96/28 SD 131.1.1.com Khawarb@khawarb.107.

1.107.1.107.64/28 131.1.107.80/28 131.128/28 131.107.144/28 LA SF 131.1.Written Exercise for Route Summarization Exercise 2 131.107.96/28 131.160/28 OC SD 131.112/28 131.com Page 11 of 197 .107.1.1.192/28 131.48/28 Where would you do Route Summarization? What would the Summarized addresses be? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.208/28 131.1.1.107.107.107.107.1.netscopeme.1.com Khawarb@khawarb.176/28 131.107.

com Page 12 of 197 .com Khawarb@khawarb.Security.netscopeme.SP.Voice.Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 2 – RIP v1 Labs Penta CCIE # 12353 (R/S.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

2.0 255.2.1.0.1 Subnet Mask 255.0.2 Subnet Mask 255.12.1 192.0 255.255.netscopeme.12.0 IP Address 2.2/8 R1 Configuration Interface Loopback 0 S 0/0 IP Address 1.1.2 192.0.0/24 L0 1. On R1 router#conf t router(config)#hostname R1 R1(config)#Router RIP R1(config-router)#no auto-summary R1 (config-router)#net 1.0 R2 Configuration Interface Loopback 0 S 0/0 Objective: Configuring RIP v1 on the routers to exchange routes between the routers.0.1.12.255.1.com Page 13 of 197 .255.0.1.1.255.12.2) L0 2.0 R1 (config-router)#net 192.Lab 1 – Basic RIP Configuration R1 S 0/0(.1.1/8 S 0/0 (.0.0 On R2 Router#conf t router(config)#hostname R2 R2(config)#Router RIP Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.2.1) R2 192.2.com Khawarb@khawarb.

0.1.0 R2 (config-router)#net 192.0.netscopeme. Are you successful? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 14 of 197 .com Khawarb@khawarb.12.0 On Both Routers • Type Show ip route • What networks do you see listed? • Ping your partner’s Loopback Interface address.R2(config-router)#no auto-summary R2 (config-router)#net 2.

0.1.12.0 in 1 hop Interesting Facts • • • • Does not include the directly connected network (192.2 on serial 0/0 2.0.255 via Loopback 0 (1.0 Network 192.12.1) RIP: Build update entries Network 2.0 RIP: received V1 update from 192.com Page 15 of 197 .1. You will take a look at the Broadcast classfull updates. The destination address is a Broadcast It does not send periodic updates at constant intervals (Time Jitters) On R1 R1(config)#int loopback 0 R1(config-if)#shut RIP: build flash update entries network 1. On Both Routers Rx#debug ip rip (Where x is your Router number) RIP: Sending V1 update to 255. You will also take a look at the effect of PassiveInterface command and the effect of turning off Split Horizon.255.12.255 via Serial 0/0 (192.255.0.255.255 via Serial0/0 (192.1.com Khawarb@khawarb.Lab 2 – RIP Operation (Note: This lab builds on the configuration of Lab 1) Objective: Looking at the operation of RIP v1.1.0 network although it does exist in its routing table back towards R2.0.12.255.0 metric 1 RIP: Sending V1 update to 255. Does not include 2.0.1.0.12.0.0 metric 16 RIP: sending v1 update to 255.1) RIP: Build update entries Network 10.255.0.0.1) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.255.1.0.0) in its update towards R2.1.

Passive Interfaces On Both Routers Rx(config)#router rip Rx(config-router)#passive interface Loopback 0 Interesting Facts  The router stops advertising from the Loopback interface.netscopeme.255.0 metric 1 network 2.255 via Serial0/0 (192. the router does not wait for Periodic Update. indicating that you can’t reach 10.0. On R1 R1(config)#int loopback 0 R1(config-if)#no shut Turning Split Horizon Off On Both Routers Rx(Config)#int s 0/0 Rx(Config-if)#no ip split-horizon RIP: Sending v1 update to 255.12.0.0. It sends a Triggered update with a Poisoned route with a metric of 16  Notice R2 also sends an immediate Triggered Update back.1.0 metric 2 Interesting Facts • The router is advertising all routes.com Page 16 of 197 . Even the ones that it learned from the same router.0.0 metric 1 network 192. The command is useful for cutting down unnecessary broadcast over an interface that only has hosts on it and no router.1.0.com Khawarb@khawarb.12. The reason it does make it to the routing table is because the Router has a better metric to the route. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 cannot be reached through it.1) RIP: build update entries network 1.0.255.Interesting Facts  When a route goes down.

com Page 17 of 197 .2 On R2 R2(config)#Router rip R2(config-router)#passive interface S 0/0 R2(config-router)#neighbor 192.1 • Passive interface command disables RIP from sending broadcasts over a specific interface. Turning Split Horizon Back on On Both Routers Rx(Config)#int s 0/0 Rx(Config-if)#ip split-horizon Sending Unicast Updates on S 0/0 interface On R1 R1(config)#Router rip R1(config-router)#passive interface S 0/0 R1(config-router)#neighbor 192.12.Lab 3 – RIP using UNICAST (Note: This lab builds on the configuration of Lab 2) Objective: Turn Spilt-Horizon back on. The neighbor allows updates to go to specific IP addresses.12. You would like to send Unicast updates between R1 and R2 instead of Broadcast updates.com Khawarb@khawarb.1.1. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme. So It will disables all RIP broadcasts and only send unicast updates to each other.

2 192.255.1) R2 192.0 IP Address 3.0 255.1.3/8 R3 R1 Configuration Interface Loopback 0 E 0/0 IP Address 1.255.2) L0 1.2.netscopeme.1/8 L0 2.23.255.2.2.23.1.0 R2 Configuration Interface Loopback 0 E 0/0 S 0/0 R3 Configuration Interface Loopback 0 S 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.3) L0 3.1.com Khawarb@khawarb.3.0/24 S 0/0 (.1.255.2 192.0 IP Address 2.0 255.2) 192.3 192.0.1.0 255.2.34.4.1.12.1.0.Lab 4 – Injection of Default Route R1 S 0/0(.0/24 L0 4.4/8 R4 S 0/0 (.4.3 Subnet Mask 255.3.4) E 0/0 (.1.3.0/24 S 0/0(.1.0.0 255.1.12.255.255.0.3) 192.255.com Page 18 of 197 .1.255.3.1 192.1 Subnet Mask 255.23.0.2/8 E 0/0 (.12.1 Subnet Mask 255.

0.1.4 192.0 R2(config-router)#net 192.255.0.12.255.0.34.34.255.1.0 255.1.0 255.0.34.0 On R4 R4#conf t Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.12.1.12.0. On R1 R1#conf t R1(config)#ip R1(config)#ip R1(config)#ip R1(config)#ip R1(config)#ip route route route route route 2.0 IP Address 4.255.1.2 On R2 R2#conf t R2(config)# ip route 0.0 255.0 255.0 R4 Configuration Interface Loopback 0 S 0/0 Objective: R1 is acting as the ISP and R2 is the Edge Router for a company that is running RIP internally between R2.1.0 0.0 R3(config-router)#net 192.0.2 192.0.4.0.0 R2(config-router)#net 192.0 255.23.0 192.2 4.0 192.2 192.netscopeme.0.3 255.1.0.0 192.23.1.12.23.4 Subnet Mask 255.E 0/0 191.0 On R3 R3#conf t R3(config)#Router RIP R3(config-router)#no auto-summary R3(config-router)#net 3.12.1.255.1.0.com Khawarb@khawarb.1 R2(config)#Router RIP R2(config-router)#no auto-summary R2(config-router)#net 2.12.0. R3 and R4.2 3.255.34.0.0 192.0.0.0.255.0 192.1.com Page 19 of 197 .1.0.1.4. R2 will have a default route pointing towards R1.0 R3(config-router)#net 192.0.0.12.0 192.255.0 255.0.0. R1 will have static routes towards all the company networks.0.

netscopeme.1. RIP will advertise the default route to other RIP enabled routers.0 On R3 and R4 • Type Show IP route.0.com Page 20 of 197 .com Khawarb@khawarb.0 R4(config-router)#net 192. • Enter Debug IP RIP and view the routing table entries going from R2 to R3 and R4.0. Do you see an entry learned through RIP that has a *? • By default. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.34.R4(config)#Router RIP R4(config-router)#no auto-summary R4(config-router)#net 4.



Lab 5 – Default Network using
Default Information Originate

(Builds on Lab 4)
Objecctive: Use the default-information originate instead of the default-route
on R2 to inject the default route into R3 and R4. You will no longer be using
the default route towards R1. Configure a static route to provide reachability
towards 1.0.0.0 network.

On R2
R2(config)#no ip route 0.0.0.0 0.0.0.0 192.1.12.1
R2(config)#clear ip route *
R2(config)#ip route 1.0.0.0 255.0.0.0 192.1.12.1

On R3 and R4 
Type Show IP route. Do you see an entry learned through RIP that has a
*? 
This is done by using the Default-information originate on R2 
Enter Debug IP RIP and view the routing table entries going from R2 to R3
and R4.

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 21 of 197

Cisco Certified Network Professional
(CCNP) – Route Lab Manual

Authored By:

Khawar Butt

Module 3 – RIP v2 Labs

Penta CCIE # 12353
(R/S,Security,SP,Voice,Storage)

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 22 of 197

Lab 1 – Basic RIP v2 Configuration

R1

S 0/0(.1)

192.1.12.0/2

L0 1.1.1.1/8

R2
S 0/0 (.2)

L0 2.2.2.2/8

R1 Configuration
Interface
Loopback 0
S 0/0

IP Address
1.1.1.1
192.1.12.1

Subnet Mask
255.0.0.0
255.255.255.0

IP Address
2.2.2.2
192.1.12.2

Subnet Mask
255.0.0.0
255.255.255.0

R2 Configuration
Interface
Loopback 0
S 0/0

Objective: Configuring RIP v1 on the routers to exchange routes between the
routers.
On R1
router#conf t
router(config)#hostname R1
R1(config)#Router RIP
R1(config-router)#no auto-summary
R1(config-router)#version 2
R1 (config-router)#net 1.0.0.0
R1 (config-router)#net 192.1.12.0
On R2
Router#conf t
Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 23 of 197

com Khawarb@khawarb.0 On Both Routers • Type Show ip route • What networks do you see listed? • Ping your partner’s Loopback Interface address.0 R2 (config-router)#net 192.0.com Page 24 of 197 .0. Are you successful? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.12.1.netscopeme.router(config)#hostname R2 R2(config)#Router RIP R2(config-router)#no auto-summary R2(config-router)#version 2 R2 (config-router)#net 2.

0/8 in 2 hop metric 1.0. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. On Both Routers Rx#debug ip rip (Where x is your Router number) RIP: Sending V2 update to 224.0.12.0.1) RIP: Build update entries Network 2.9 via Loopback 0 (1.1.0.12.1.12. External Tag 0 Network 192.0.0.9 via Serial 0/0 (192.0.0.0/8 metric 2.1. You will take a look at the Multicast classless updates. External Tag 0 Interesting Facts • • • Update is a V2 Update Includes the Subnet Mask The destination address.com Khawarb@khawarb. External Tag 0 RIP: Sending V2 update to 224.0.2 on serial 0/0 2.netscopeme.0.com Page 25 of 197 .1.0/8 metric 1. External Tag 0 RIP: received V2 update from 192.0/8 metric 1.Lab 2 – RIP 2 Operation (Note: This lab builds on the configuration of Lab 2) Objective: Looking at the operation of RIP v2.1) RIP: Build update entries Network 1.1.

0.255.1 192.0/2 L0 1.0/2 L0 4.0.1.12.2/8 E 0/0 (.4) 192.1.255.255.0.1.2) 192.0 IP Address 2.netscopeme.23.255.1.1.0 255.0 255.1.2.1 Subnet Mask 255.255.2.255.255.23.Lab 3 – Compatibility with RIP Version 1 R1 S 0/0(.0/2 S 0/0(.0.34.1.1) 192.3/8 R3 R1 Configuration Interface Loopback 0 E 0/0 IP Address 1.34.2.1.3) S 0/0 (.3.255.255.0 R2 Configuration Interface Loopback 0 E 0/0 S 0/0 R3 Configuration Interface Loopback 0 S 0/0 E 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.3 Subnet Mask 255.2 192.2 192.12.2.1/8 R2 S 0/0 (.com Page 26 of 197 .3 192.0 255.1.4/8 R4 E 0/0 (.3) L0 3.4.23.3 191.1 Subnet Mask 255.3.0.2) L0 2.0 255.0 IP Address 3.1.0 255.4.12.1.255.1.0.3.com Khawarb@khawarb.3.

1. R2 and R4 with RIP v2.0 R1(config-router)#net 1.1.1.1.0.4 Subnet Mask 255. Allow R2 and R4 to exchange routes with R3.0.0 R2(config-router)#net 192.0.0.0 R2(config-router)#Interface E 0/0 R2(config-if)#ip rip send v1 R2(config-if)#ip rip receive v1 On R3 R3#conf t R3(config)#Router RIP R3(config-router)#no auto-summary R3(config-router)#version 1 R3(config-router)#net 192.0 R3(config-router)#net 3.4.0 On R4 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.12.1.1.com Page 27 of 197 .R4 Configuration Interface Loopback 0 S 0/0 IP Address 4.34.0 255. On R1 R1#conf t R1(config)#Router RIP R1(config-router)#no auto-summary R1(config-router)#version 2 R1(config-router)#net 192.0 R3(config-router)#net 192.12.0.0 R2(config-router)#net 2. Configure R3 with RIP V1.0 Objective: R3 does not support RIP v2.0.23.4.0 On R2 R2#conf t R2(config)#Router RIP R2(config-router)#no auto-summary R2(config-router)#version 2 R2(config-router)#net 192.23.255.4 192.0.com Khawarb@khawarb.34.netscopeme.0.255. Configure R1.

com Page 28 of 197 .netscopeme.0 R4(config-router)#Interface S 0/0 R4(config-if)#ip rip send version 1 R4(config-if)#ip rip receive version 1 On R2 • Type Debug ip rip • When R2 sends an update to R1.0 R4(config-router)#net 4.34.1. what version does it use? • When R3 sends an update to R2 and R4.com Khawarb@khawarb.0.0.R4#conf t R4(config)#Router RIP R4(config-router)#no auto-summary R4(config-router)#version 2 R4(config-router)#net 192. what address does it use? • When R4 sends an update to R3. what address does it use? • When R2 sends an update to R3. what version does it use? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

Lab 4 – RIP V2 Plain Text Authentication (Note: This lab builds on the configuration of Lab 3) Objective: Configure Plain Text Authentication on all routers. Enable RIP v2 on R3.com Khawarb@khawarb. Disable sending of v1 updates on R2 and R4 before enabling authentication on all the routers.com Page 29 of 197 .netscopeme. Enable RIP V2 on all routers and Disable IP RIP Send and Receive Version 1 commands R1 (Requires no change) R2 R2(config)#interface E 0/0 R2(config-if)#no ip rip send version 1 R2(config-if)#no ip rip receive version 1 R3 R3(config)#Router RIP R3(config-router)#version 2 R4 R4(config)#interface S 0/0 R4(config-if)#no ip rip send version 1 R4(config-if)#no ip rip receive version 1 Enable Plain-text Authentication of all the Routers R1 R1(config)#key chain KC-1 R1(config-keychain)#key 1 R1(config-keychain-key)#key-string CISCO R1(config-keychain-key)#exit Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

com Page 30 of 197 .R1(config)#int S 0/0 R1(config-if)#ip rip authentication key-chain KC-1 R2 R2(config)#key chain KC-1 R2(config-keychain)#key 1 R2(config-keychain-key)#key-string CISCO R2(config-keychain-key)#exit R2(config)#int S 0/0 R2(config-if)#ip rip authentication key-chain KC-1 R2(config-if)#int E0/0 R2(config-if)# ip rip authentication key-chain KC-1 R3 R3(config)#key chain KC-1 R3(config-keychain)#key 1 R3(config-keychain-key)#key-string CISCO R3(config-keychain-key)#exit R3(config)#int S 0/0 R3(config-if)#ip rip authentication key-chain KC-1 R3(config-if)#int E0/0 R3(config-if)# ip rip authentication key-chain KC-1 R4 R4(config)#key chain KC-1 R4(config-keychain)#key 1 R4(config-keychain-key)#key-string CISCO R4(config-keychain-key)#exit R4(config)#int S 0/0 R4(config-if)#ip rip authentication key-chain KC-1 Checking the Authentication On all Routers • Type Debug ip rip • Can you see the authentication happening? • Can you see the password in the debug information? • What is the password that is being passed between the routers? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.netscopeme.

com Page 31 of 197 . Enable RIP V2 MD 5 Authentication on all routers R1 R1#config t R1(config)#int S 0/0 R1(config-if)#ip rip authentication mode md5 R2 R2#config t R2(config)#int S 0/0 R2(config-if)#ip rip authentication mode md5 R2(config-if)#int E 0/0 R2(config-if)# ip rip authentication mode md5 R3 R3#config t R3(config)#int E 0/0 R3(config-if)#ip rip authentication mode md5 R3(config)#int S 0/0 R3(config-if)#ip rip authentication mode md5 R4 R4#config t R4(config)#int S 0/0 R4(config-if)#ip rip authentication mode md5 Checking the Authentication On all Routers • Type Debug ip rip • Can you see the authentication happening and if so.Lab 5 – RIP V2 MD5 Authentication (Note: This lab builds on the configuration of Lab 4) Objective: Configure MD5 Authentication on all routers.com Khawarb@khawarb. can you see the actual password? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.

SP.Security.com Page 32 of 197 .Voice.com Khawarb@khawarb.Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 4 – EIGRP Penta CCIE # 12353 (R/S.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.

but these updates are:  Non-Periodic: The updates are not sent at regular intervals. EIGRP will send a query to its neighbor/s to discover an alternate path.21. These queries are propagated until an alternate route is found.  Bounded: Updates are sent to affected routers only. It stores a backup route if one is available. the reason EIGRP does not support clear text is because. EIGRP can authenticate using only MD5. so it can quickly re-converge incase a route goes down. • Security: With IOS version 11.com Page 33 of 197 . Features • Rapid Convergence: EIGRP uses DUAL to achieve rapid convergence. such as dynamic neighbor discovery.netscopeme. this feature will eliminate the issue pertaining to discontiguous networks. VLSM and Manual Summarization is also supported on any router within the enterprise. rather when a metric or a topology change occurs. • Advance Distance Vector/Hybrid routing protocol that has the behavior of distance vector with several Link State features. Another issue regarding bandwidth usage is the fact that EIGRP by default will only consume 50% of the bandwidth of the link during convergence.3 or better.  Partial: Updates will include the routes that are changed and not every route in the routing table. • Reduced Bandwidth Usage/Incremental Updates: In EIGRP updates are still sent to directly connected neighbors. • First released in 1994 with IOS version 9.com Khawarb@khawarb. This parameter can be adjusted to a higher or lower value eith the following command: Ip bandwidth-percent eigrp <AS number> <number that represents the percentage> • Classless Routing Protocol: This means that advertised routes will include their subnet mask. much like distance vector protocols.Enhanced IGRP (EIGRP) • Cisco proprietary routing protocol. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. If no backup route exists.

MAX Load. • Metrics: EIGRP uses 2 step metric: 1. but it must run in a clientless networks(WAN). • Easy configuration: The configuration of EIGRP is very similar to IGRP which is very simple. Point to point topology such as HDLC. CIDR/Supernetting. EIGRP supports incremental SAP and RIP updates. • Unequal and Equal Cost Path Load-Balancing: This feature will enable the administrators to distribute traffic flow in the network. and all Cisco routers support MD5 authentication. • Use Of Multicast Instead Of Broadcast: EIGRP uses multicast address of 224. Min Bandwidth and Hop count. • Support Of Different Topology: EIGRP can support broadcast multiaccess topologies such as Token-Ring.com Khawarb@khawarb. so a sniffer can easily see the password/s. COMPOSITE  Vector metric is: Min MTU. and Ethernet.0. • Support of hierarchical addressing scheme: Eigrp supports FLSM. EIGRP will also perform auto-redistribution with NLSP. 224 HOPS. and AppleTalk. and it uses bandwidth + delay which is far more better than just Ticks and Hops used by IPXRIP. VECTOR 2.netscopeme.  The vector metric of a route received from a neighbor is computed from the received vector metric and the metric of the interface through which the route was received. • OSI and EIGRP: Like all TCP/IP routing protocols EIGRP relies in IP to deliver the packets. whereas the other routing protocols support only one routed protocol.0. NBMA topology such as Frame-Relay. Total delay. • Multiple Network Layer Protocol Support: EIGRP can support IP.EIGRP can only be used within CISCO routers. EIGRP maps to the transport layer of OSI and uses protocol number 88. and also a better metric calculation.com Page 34 of 197 . Copyrights Netscope FZ LLC 2007-2015 Website: http://www. • 100% Loop Free: EIGRP uses DUAL to attain fast convergence while maintaining a totally loop free topology at every instance. IPX. IPXRIP. VLSM. For RTMP it supports event driven updates. But the routes are not encrypted.10 instead of broadcast. Min Reliability. RTMP. By default EIGRP will use up to 4 paths and this can be increased to 6.

1/30 R-D S 0/1 10.2. After the vector is received and calculated it is stored in the topology table.1. and then they will advertise that cost to R-C.2/30 S 0/1 10.1/30  In the above diagram. This metric is calculated using Bandwidth.1. The formula that it uses is as follows:  You can view the detailed vector and composite metric of a single EIGRP route from the topology table with the following command: “ sh ip eigrp top <ip-address> “ • EIGRP Metric Calculation uses the following formula:  Metric = [107/Bandwidth(min))+(Delay(Sum)]/10)]*256 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.3.1/30 R-C R-A S 0/1 10.  EIGRP uses the same formula as IGRP to calculate its composite metric.1.1.1.  The vector metric is never adjusted in the outgoing updates.1. it notifies R-B.2. Delay.1.2/30 S 0/0 10. the router always reports the values it has in its topology table and relies on the receiving router to adjust the values.3. and MTU. and R-B will adjust these values based on the parameters of their interface to R-A. S 0/0 10.2/30 S 0/1 10.1. and R-D with its own vector metric.4.com Khawarb@khawarb. Reliability.1.1. Load. R-D.1/30 R-B S 0/0 10.4.com Page 35 of 197 .2/30 S 0/0 10. with one difference and that is EIGRP scales the metric component by 256 to achieve a finer metric granularity. the minute the Ethernet port on R-A comes active.netscopeme.

com Khawarb@khawarb. • To find out the value of bandwidth and the delay associated to a given interface. Bandwidth = the smallest of all bandwidths in the path to a given destination divided by 10.  These values can be changed with the following interface mode commands:  “ bandwidth < bandwidth in Kbps> “  “ delay < delay in tens of microseconds > “ Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.000.  Delay = the sum of all the delay values assigned to the interfaces along the path to a given destination divided by 10.000. “ sh interface < the interface type > x “ where x is the interface number.com Page 36 of 197 .

o FS s are kept in the topology table. In some cases we may have multiple routes to the same destination. the neighbor becomes a FS for that destination. so the routers are all in passive state. FS are nothing but backup routes to a given destination. Even when a router loses its successor. These routers are always downstream routers.Terminology • Feasible Distance: FD is equal to advertised distance of a neighbor plus the cost of the link to that neighbor. o If a neighbor’s advertising distance to a destination meets the FC. • Passive State: When there is no change in the internetwork. there is no need to do a computation or convergence. Successors are entries that are kept in the routing table. • Feasible Successor: FS are downstream neighboring router/s through which a destination can be reached. and it will place the FS in the routing table. and there may be more than one FS per destination. this can create a ripple effect.com Page 37 of 197 . It is possible for the routers that are receiving the queries to send queries to their neighbor. the router will remain in the passive state (normal state). o In order for a neighbor to become the successor. that neighbor must firstmeet the FC. or second best route to a given destination. o FC states. • Successor: A directly connected neighboring router that has the best route to a given destination. in situation like that FD will be based on the lowest metric. • Feasibility Condition: It is a condition that is met if a neighbor’s advertised distance to a destination is lower than the router’s FD to that same destination.netscopeme. in this state the router sends out queries to all neighbors in order to find a route to that destination. as long as that router has a FS in the topology table. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. and no computation will be performed.com Khawarb@khawarb. that the route must be advertised by a downstream neighbor (with respect to the destination). the router goes into active state. • Active State: When a router loses its route to a destination and no FS is available in the topology table. and the cost of the advertising routes to the destination must be less than or equal to the cost of the route that is currently being used by the router receiving the advertisement.

Neighbor relationships ensure a bi-directional communication between each of the directly connected neighbor. • Advertised Distance: Is a distance reported to the current router. Sometimes its referred to as Reported Distance. • Routing Table: Eigrp uses the best path to a given destination (the Successor/s) from the topology table and places it into the routing table. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. FS are kept in this table for rapid convergence. • Neighbor table: Each Eigrp router has a neighbor table that has a list of adjacent routers.com Khawarb@khawarb. by a neighbor.• Topology Table: This includes route entries for all the destinations that the router has learned. • Upstream: This router is further away from the destination than the local router. • Downstream: A router which is closer to the destination than the local router.com Page 38 of 197 .netscopeme. This router will use the local router to get to the destination.

• Replies: These packets are sent in response to queries. These packets are used when a router comes up for the first time. as long as these packets are received the routers can determine that the neighbor is up. Acknowledgement packets use unicast and use unreliable delivery method.0. then the updates are multicast out to 224. Queries will always use multicast and requires an ACK. Hello packets are sent as multicasts. the sending router will use unicast to convey the route information’s. but if an up date is requested by more than one router. these packets will always use unicast and require an ACK.com Page 39 of 197 . or when there is a topology change. or the metric of a route is changed for better or worst. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0. • Queries: When a router looses its successor and has no feasible successor in the topology table.netscopeme. these are transferred when necessary. it will send a query to all neighbors in the neighbor table. and are sent only to the routers that require the information. • Acknowledgements or ACK s: These packets are sent by the routers to acknowledge the receipt of an update. and they use unreliable delivery meaning that they do not need an ACK. • Update: Update packets convey route information.Packet Types • Hello: Used for neighbor discovery process. When updates are requested by a single router. The updates require ACK s.10 address.com Khawarb@khawarb.

EIGRP Summarization

Purpose: Smaller routing table, smaller updates, and query boundary.
Auto-summarization: Auto-summarization is turned on by default, and
it is done on the major network boundary, subnets are summarized to a
single classfull networks.
Manual Summarization: Auto-summarization can be turned off, unlike
OSPF manual summarization can be done on any router in any location.

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 40 of 197

Cisco Certified Network Professional
(CCNP) – Route Lab Manual

Authored By:

Khawar Butt

Module 4 – EIGRP Labs

Penta CCIE # 12353
(R/S,Security,SP,Voice,Storage)

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 41 of 197

Lab 1 – Configuring Basic EIGRP

R1

S 0/0(.1)

R2

192.1.12.0/24
S 0/0 (.2)

L0 1.1.1.1/8

L0 2.2.2.2/8

R1 Configuration
Interface
Loopback 0
S 0/0

IP Address
1.1.1.1
192.1.12.1

Subnet Mask
255.0.0.0
255.255.255.0

IP Address
2.2.2.2
192.1.12.2

Subnet Mask
255.0.0.0
255.255.255.0

R2 Configuration
Interface
Loopback 0
S 0/0

Objective: Configuring EIGRP to look at the basic configuration on EIGRP.

On R1
R1(config)#Router eigrp 12
R1 (config-router)#net 1.0.0.0
R1 (config-router)#net 192.1.12.0

On R2
R2(config)#Router eigrp 12
R2 (config-router)#net 2.0.0.0
R2 (config-router)#net 192.1.12.0

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 42 of 197

This shows the Topology table.netscopeme.0.com Khawarb@khawarb.0.0.1.2 Interface Hold Uptime SRTT RTO (sec) (ms) Cnt Se0/0 10 00:06:21 12 Q Seq Num 200 0 • What is the Hello Time? • Type SH IP EIGRP TOPOLOGY. • Metric = Bandwidth (min) + Delay(sum) • Type SH IP OSPF NEIGHBOR H Address 0 192. • Type SH IP EIGRP TOPOLOGY 2. • Notice the Vector and Composite Metric • Type SH IP EIGRP TRAFFIC • See how the Hello # are changing and updates are not. • Bring the loopback interface down • Note the Values in the output. See how the queries number increased • Bring the loopback interface back up • Note how the update # changes Copyrights Netscope FZ LLC 2007-2015 Website: http://www.Test the Configuration • Type SH IP ROUTE • What routes do you see? • Are the metrics advertised correct? • Breakdown the Calculation for the Metric.com Page 43 of 197 .12.

Changing the Hello-interval and Hold-time timers On Both Routers R1(config)#int S 0/0 R1(config-if)#ip hello-interval eigrp 12 20 R1(config-if)#ip hold-time eigrp 12 60 • Type SH IP EIGRP NEIGHBOR • What and whose time do you see? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.com Khawarb@khawarb.com Page 44 of 197 .

2 192.1 Subnet Mask 255.1) R2 192.255.0/24 L0 4.255.2/8 E 0/0 (.0 255.23.3.1.2.1.3.0.2.255.255.0 IP Address 3.0 255.1.12.2.34.1.0.com Khawarb@khawarb.3 192.3. R1 Configuration Interface Loopback 0 E 0/0 IP Address 1.1.0.3.1.0 255.0 255.3/8 R4 R3 Objective: Verifying the EIGRP Metric calculations.3 Subnet Mask 255.0 R2 Configuration Interface Loopback 0 E 0/0 S 0/0 R3 Configuration Interface Loopback 0 S 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4.1.1.2) 192.Lab 2 .4/8 S 0/0 (.1.12.0.4.com Page 45 of 197 .4) E 0/0 (.Basic Metric Calculation R1 S 0/0(.255.0/24 S 0/0 (.1/8 L0 2.0.2 192.1.23.0/24 S 0/0(.3) 192.0.2.23.3) L0 3.netscopeme.1 192.255.2) L0 1.0 IP Address 2.255.1 Subnet Mask 255.255.1.12.

0 R2(config-router)#net 192.1.0.12.0 255.1.255.1.0 On R4 R4(config)#Router eigrp 1 R4(config-router)#net 4.0.3 255.4 192.255.0 R3(config-router)#net 192.0 R2(config-router)#net 192. • Who are your neighbors? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0 On R3 R3(config)#Router eigrp 1 R3(config-router)#net 3.4.0 R1(config-router)#net 192.0 R3(config-router)#net 192.0.34.0.0.0 R4(config-router)#net 192.0 R4 Configuration Interface Loopback 0 S 0/0 On R1 R1(config)#Router eigrp 1 R1(config-router)#net 1.23.com Khawarb@khawarb.0.0.0 • Type SH IP ROUTE • Do you see all the routes? • Type SH IP EIGRP NEIGHBOR.34.12.255.34.1.1.0.0 On R2 R2(config)#Router eigrp 1 R2(config-router)#net 2.1.23.1.com Page 46 of 197 .34.0 IP Address 4.0.netscopeme.4.E 0/0 191.4 Subnet Mask 255.1.255.

netscopeme.2 S 0/0 On R2 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. On R1 and R2 • Type SH IP ROUTE • Do you see all the routes? • Type SH IP EIGRP NEIGHBOR • Do you see your Neighboring router? Configure Passive-Interface on R1 and R2 towards each other Rx(config)#Router eigrp 1 Rx(config-router)#Passive-interface S 0/0 • With RIP.12. Use Unicast updates to set up the neighbor relationship.com Page 47 of 197 . the passive-interface command RIP doesn’t send updates but continue to receive routes. • Type SH IP EIGRP NEIGHBOR • Do R1 and R2 see each other as neighbors? Configure Neighbor Statements on R1 and R2 to establish the relationship On R1 R1(config)#Router eigrp 1 R1(config-router)#Neighbor 192.1.com Khawarb@khawarb.• Lab 3 the – Neighbor command Verify that Metric Calculations are done based on the with EIGRP Metric calculation formula: Metric = [ 10 /BW(min) +EIGRP Delay(sum) / 10] * 256 7 (Note: This lab builds on the configuration of Lab 2) Objective: Configuring Passive Interfaces on EIGRP to disable sending of Multicast Updates on an Interface.

1 S 0/0 On R1 and R2 • Type SH IP ROUTE • Do you see all the routes? • Type SH IP EIGRP NEIGHBOR • Do you see your Neighboring router? • In EIGRP. Conclusion : The passive interface command under EIGRP blocks both Unicast and Multicast updates.com Khawarb@khawarb. it also suppressing the Unicast updates. If you want to send Unicast updates only. send Unicast Updates. By specifying the interface.1. But because of the passive-interface command. you tell it to suppress the Multicast update on the interface and instead.R2(config)#Router eigrp 1 R2(config-router)#Neighbor 192. the Neighbor command requires the interface. On R1 R1(config)#Router eigrp 1 R1(config-router)#No passive-interface S 0/0 On R2 R2(config)#Router eigrp 1 R2(config-router)#No passive-interface S 0/0 On R1 and R2 • Type SH IP ROUTE • Do you see all the routes? • Type SH IP EIGRP NEIGHBOR • Do you see your Neighboring router? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.12.netscopeme. use the Neighbor command along with the interface.com Page 48 of 197 .

This lab shows you the Feasible Condition come into play.1 Subnet Mask 255.4) 192.0/24 192.255.1.12.4 Subnet Mask 255.23.3.1.1.3. Configure the Variance command to support unequal cost load balancing.1.1) R2 192.14.1.netscopeme.1.2) L0 1.1.2.3/8 L0 4.14.1) 192.3) R3 Objective: Configure the Ethernet link between R1 and R4.2. R1 Configuration Interface E 0/0 IP Address 192.com Page 49 of 197 .0 IP Address 192.0/24 S 0/0 (.0/24 R4 S 0/0 (.0 R4 Configuration Interface E 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.3) E 0/0 (.com Khawarb@khawarb.1.34.14.4.255.255.2) E 0/0 (.4.0/24 E 0/0 (.2/8 E 0/0 (.255.4/8 S 0/0(.Lab 4 –Unequal-Cost Load Balancing (Note: This lab builds on the configuration of Lab 3) R1 S 0/0(.1/8 L0 2.4) L0 3.

R3 and R4 Router R1 R1 R2 R2 R3 R3 R4 R4 Interface E 0/0 S 0/0 S 0/0 E 0/0 E 0/0 S 0/0 S 0/0 E 0/0 Bandwidth 64 128 128 512 512 256 256 64 On R1 R1(config)#Interface S 0/0 R1(config-if)#bandwidth 128 R1(config-if)#Interface E 0/0 R1(config-if)#bandwidth 64 R1(config-if)#delay 2000 On R2 R2(config)#Interface E 0/0 R2(config-if)#bandwidth 512 R2(config-if)#delay 2000 R2(config-if)#Interface S 0/0 R2(config-if)#bandwidth 128 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 50 of 197 . Set the Delay on all the Interfaces to 2000 to simulate a WAN setup between R1. R2.1.com Khawarb@khawarb.14.0 On R4 R4(config)#Router eigrp 1 R4(config-router)#net 192.1.0 Changing the Bandwidth and Delay to simulate certain Link speeds between the Routers.netscopeme.14.Configuring the extra link between R1 and R4 and enabling EIGRP on the new link On R1 R1(config)#Router eigrp 1 R1(config-router)#net 192.

On R3 R3(config)#Interface E 0/0 R3(config-if)#bandwidth 512 R3(config-if)#delay 2000 R3(config-if)#Interface S 0/0 R3(config-if)#bandwidth 256 On R4 R4(config)#Interface E 0/0 R4(config-if)#bandwidth 64 R4(config-if)#delay 2000 R4(config-if)#Interface S 0/0 R4(config-if)#bandwidth 256 Configure the Variance Command on the routers to support unequal Load balancing • Note you have 2 ways to get to the diagonally opposite loopback networks • Calculate the metric to get to the diagonally opposite loopback networks for both Paths • Metric = [ 107/BW(min) + Delay(sum) / 10] * 256 • Input the appropriate Variance for the EIGRP 1 process. • Do all the routers show dual paths to get the diagonally opposite loopback networks. (Variance = Best Path/Worst Best) Rounded up On All Routers Rx(config)#Router EIGRP 1 Rx(config-router)#Variance xx On All Routers • Type Clear ip route * • Type SH IP ROUTE.netscopeme.com Page 51 of 197 . Variance is based on your composite metric.com Khawarb@khawarb. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

• If not.com Khawarb@khawarb. Why? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.com Page 52 of 197 .

12.0 – L3 10.0/24 R4 E 0/0 (.255. R2 from each group will have E 0/1 connected to the backbone using the 10.255.com Khawarb@khawarb.1 10.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 – L3 10.1.1.255.1.1.4.255.7.255.12.11.1.1.15.5.x.1.1 10.0/24 R2 192.netscopeme.19.3) S 0/0 (.x.x. Use the following for x (A=1.16.1.0 255.0 255.2) 192.0 – L3 10.255.1) L0 10.1 10.0/24 Group B Objective: Configure EIGRP Route Summarization on individual routers and the Backbone routers connecting the two groups to each other.4) 192.x.0 /24 network.0 255.0/24 L0 10.Lab 5 – Route Summarization Group A L0 10.5.0 255.2) E 0/0 (.255.1.0/24 S 0/0(.1.23.255.0/24 R1 S 0/0(.1.B=2) R1 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 E 0/0 IP Address 10.0 – L3 10.3) R3 L0 10.255.8.1 10.1 Subnet Mask 255.7.1.0/24 S 0/0 (.x.com Page 53 of 197 .1.255.4.6.34.

0 R3 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 E 0/0 S 0/0 R4 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 E 0/0 R1 on Both Groups R1(config)#Router eigrp 1 R1(config-router)#net 10.0 255.13.14.x.x.18.12.X.1 10.0 255.X.1 10.x.255.1 10.X.2 10.255.255.x.0 255.0 255.1 10.255.255.17.0 255.1 Subnet Mask 255.255.2.255.1 10.255.1 10.0 IP Address 10.netscopeme.255.0 255.255.255.2 Subnet Mask 255.255.0 255.15.255.255.255.255.x.255.1 10.23.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.255.0 255.255.255.1.255.x.x.1 10.x.x.0 255.255.255.1 10.0 R1(config-router)#net 192.11.255.x.255.0.0 255.19.1.255.0.0 255.0 R2(config-router)#net 192.x.0.1 10.255.255.1 10.255.255.0 R2(config-router)#net 192.com Khawarb@khawarb.0 255.1 10.x.10.255.0 255.0 R1(config-router)#no auto-summary R2 on Both Groups R2(config)#Router eigrp 1 R2(config-router)#net 10.com Page 54 of 197 .16.3.x.255.9.255.R2 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 E 0/0 S 0/0 E 0/1 IP Address 10.1 10.8.255.x.0.5.3.0 IP Address 10.1 10.2.255.x.x.255.x.0 255.0 255.12.y Subnet Mask 255.12.

com Khawarb@khawarb. • Apply it to your appropriate interfaces using the following command: • IP summary-address eigrp 1 [summary-address] [mask] • Type SH IP ROUTE.34. Do you see less routes now? • Get together with your group and figure out a summarization for the Border router (Router connecting to the backbone).23.X.0. • On each router. • Type SH IP ROUTE.0 R3(config-router)#net 192.0 R4(config-router)#no auto-summary Objective: Configure EIGRP Route Summarization on individual routers and the Backbone routers connecting the two groups to each other.0 R3(config-router)#no auto-summary R4 on Both Groups R4(config)#Router eigrp 1 R4(config-router)#net 10.0 R3(config-router)#net 192.34.netscopeme. • Write it down • On the Border Router’s type the following commands: • Router(config)#int E 0/1 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.X.0.0 R4(config-router)#net 192. • Write down your summary address and mask.com Page 55 of 197 .0. Do you see all the loopback networks? • Let’s do summarization on each router. calculate the summary address and enter it on the appropriate interfaces.0.X.R2(config-router)#no auto-summary R3 on Both Groups R3(config)#Router eigrp 1 R3(config-router)#net 10.

com Page 56 of 197 .netscopeme.com Khawarb@khawarb. what is the change? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.• Router(config-if)#ip summary-address eigrp 1 [address] [Mask] • Type SH IP ROUTE • Is the routing table the same? If not.

1 Subnet Mask 255.2.0 255.0.1.3) L0 3.1.3 192.1 Subnet Mask 255.0 R2 Configuration Interface Loopback 0 E 0/0 S 0/0 R3 Configuration Interface Loopback 0 S 0/0 E 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.12.1/8 L0 2.0/24 L0 4.3 Subnet Mask 255.0.1.255.3) 192.34.255.2.1.2) 192.34.0.3.4.12.4/8 R4 S 0/0 (.netscopeme.1.0/24 S 0/0(.1.0.255.255.0/24 S 0/0 (.2.2 192.255.3.3.3/8 R3 R1 Configuration Interface Loopback 0 E 0/0 IP Address 1.23.23.1.255.2) L0 1.0.1.23.255.1.1) R2 192.Lab 6 – Injecting Default Route with Route Redistribution R1 S 0/0(.2 192.0 255.com Khawarb@khawarb.2/8 E 0/0 (.3 191.1.0 255.4.0 IP Address 3.255.3.255.1 192.0 255.0 255.2.0.12.1.com Page 57 of 197 .255.0 IP Address 2.4) E 0/0 (.

0 192.0.0 R2(config-router)#net 192.0.2 192.1.0.0.1.0 255.255.255.0 255.0 192.1.2 192.23.34.4 Subnet Mask 255.0 255.0 192.0.0 On R3 R3(config)#Router EIGRP 1 R3(config-router)#no auto-summary R3(config-router)#net 3.com Khawarb@khawarb.1.0 192.0.0.0.0.0.255. On R1 R1(config)#ip R1(config)#ip R1(config)#ip R1(config)#ip R1(config)#ip route route route route route 2.1 R2(config)#Router EIGRP 1 R2(config-router)#no auto-summary R2(config-router)#net 2.0.0.0.4 192.0 255.255.23.0. R2 will have a default route pointing towards R1.12.0. R2 should inject the default route into R3 and R4.34.12.netscopeme.4.0.255.1.0 192.0 255.0.0.0.1.0 On R4 R4(config)#Router EIGRP 1 R4(config-router)#no auto-summary R4(config-router)#net 4.255.2 On R2 R2(config)# ip route 0.0.12.12.0 192.0 R2(config-router)#net 192.34.1.1. R3 and R4.0.1.12.4.1.0 R3(config-router)#net 192.1.1.1.1.0 Objective: R1 is acting as the ISP and R2 is the Edge Router for a company that is running EIGRP internally between R2. R1 will have static routes towards all the company networks.0.R4 Configuration Interface Loopback 0 S 0/0 IP Address 4.0.0.12.0.23.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 255.0.2 4.com Page 58 of 197 .0 R3(config-router)#net 192.12.34.0 0.0.0 R4(config-router)#net 192.0.2 3.

1.0 network? On R2 • Type Ping 1. who is advertising it? • Type Ping 1.1 • Were you successful? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 59 of 197 .1.1 • Does it work? • Type SH IP ROUTE • Do you have any routes to the 1.1.On R3 and R4 • Type Show IP route.netscopeme.1 or any Default gateway set? Use the Redistribute command on R2 to redistribute the Default Route into EIGRP On R2 R2(config)#router eigrp 1 R2(config-router)#redistribute static metric 10000 1000 255 1 1500 On R3 and R4 • Type SH IP ROUTE • Do you see a Default Route? If so.1.com Khawarb@khawarb.1.0. Do you have reachability towards the 1.1.1 • Does it work? On R3 and R4 • Type Ping 1.0.1.1.

R2 should inject the default route into R3 and R4 using the Summary address command instead of Route Redistribution.0.1.netscopeme. R2 will have a default route pointing towards R1.0.0 0.0.4.0.0.Lab 7 – Injecting Default Route with  Summary-Address Command (Based on Lab 6 Configuration) Objective: This lab is based on the previous lab.0.com Khawarb@khawarb.0 network On R3 and R4 • Type Ping 1.0 Test the new configuration On R3 and R4 • Type Ping 4.1 • Does it work? • Type SH IP ROUTE • Any route to 1.0 network or a Default-gateway? Add the summary routes on R2 E 0/0 Interfaces towards R3 On R2 R2(config)#int E 0/0 R2(config-if)#ip summary-address eigrp 1 0.1. Remove the redistribute static and ip route statements from R2 On R2 R1(config)#router eigrp 1 R1(config-router)#no redistribute static metric 10000 1000 255 1 1500 Test the connection from R3 & R4 towards the 1.com Page 60 of 197 .4.4 • Does it work? Why or Why Not? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0.

11.11 192.1 Subnet Mask 255.0 IP Address 2.11.3.1.2.34.com Page 61 of 197 .23.0 255.com Khawarb@khawarb.11.1.0.3.2.0.1.2.1) R2 192.2 192.255.2) 192.0 255.1/8 R1 S 0/0(.1.0 255.0/24 S 0/0(.0.11/8 E 0/0 (.0 255.1.3.1.3/8 R3 R1 Configuration Interface Loopback 0 Loopback 1 E 0/0 IP Address 1.12.0.3) L0 3.3.12.0 IP Address 3.11.4/8 R4 S 0/0 (.2) L0 2.2/8 L1 11.4.255.4) E 0/0 (.1.1.netscopeme.0 R2 Configuration Interface Loopback 0 E 0/0 S 0/0 R3 Configuration Interface Loopback 0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2 192.4.1.Lab 8 –Redistributing Directly Connected Networks L0 1.1 Subnet Mask 255.1.0/24 S 0/0 (.0.255.12.0.1 11.2.255.3) 192.255.3 Subnet Mask 255.0.0/24 L0 4.255.0.23.

com Page 62 of 197 .34.1.0 R4 Configuration Interface Loopback 0 S 0/0 Objective: Inject the 1.1.0 On R4 R4#conf t R4(config)#Router EIGRP 1 R4(config-router)#no auto-summary R4(config-router)#net 4.0.0.4.23.3 191.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4.0 and 11.0.4 192. Configuring EIGRP on R1 – R4. Don’t advertise the Loopbacks in EIGRP on R1 yet.0 On R3 R3(config)#Router EIGRP 1 R3(config-router)#no auto-summary R3(config-router)#net 3.1.34.1.23.0.34.255.1.0.0 IP Address 4.12.0. On R1 R1(config)#Router EIGRP 1 R1(config-router)#no auto-summary R1(config-router)#network 192.4 Subnet Mask 255.23.1.3 255.0.12.0 R4(config-router)#net 192.0 R3(config-router)#net 192.255.255.0 255.0.0.S 0/0 E 0/0 192.255.0.1.com Khawarb@khawarb.34.0 R2(config-router)#net 192.1.0.255.0 R3(config-router)#net 192.0 255.1.0 R2(config-router)#net 192.0 On R2 R2(config)#Router EIGRP 1 R2(config-router)#no auto-summary R2(config-router)#net 2.0 networks into EIGRP without using the Network command.0.netscopeme.255.

0.netscopeme.0 and 11.0. R3 and R4 • Type SH IP ROUTE • Do you see the 1.Redistribute all your directly connected networks on R1 On R1 R1(config)#router eigrp 1 R1(config-router)#redistribute connected On R2.0 networks? • What type of entry is it? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 63 of 197 .com Khawarb@khawarb.0.0.

Lab 9 –Redistributing EIGRP into
EIGRP with different AS #
(Uses the same topology as Lab 8)
Objective: Redistributing EIGRP from one AS to another. Run EIGRP in AS 11
between R1 and R2. Run EIGRP in AS 1 between R2, R3 and R4.
Remove eigrp 1 from R1. Remove network 192.1.12.0 and 2.0.0.0 from
EIGRP 1 on R2. Run EIGRP 11 between R1 and R2. Advertise the
Loopbacks on both the Routers in EIGRP 11.

On R1
R1(config)#no router eigrp 1
R1(config)#router eigrp 11
R1(config-router)#no auto-summary
R1(config-router)#net 192.1.12.0
R1(config-router)#net 1.0.0.0
R1(config-router)#net 11.0.0.0

On R2
R2(config)#router eigrp 1
R2(config-router)#no net 2.0.0.0
R2(config-router)#no net 192.1.12.0
R2(config-router)#Router eigrp 11
R2(config-router)#net 192.1.12.0
R2(config-router)#net 2.0.0.0

On R1, R3 and R4

Type SH IP ROUTE

Do you see all the routes?

Mutually Redistribute between EIGRP 1 and EIGRP 11 on R2.
On R2
R2(config)#router eigrp 1
R2(config-router)#redistribute eigrp 11
Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 64 of 197

R2(config-router)#router eigrp 11
R2(config-router)#redistribute eigrp 1

On R1, R2 and R4

Type SH IP ROUTE

Do you see all the routes?

Are the metric’s the correct metrics?

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 65 of 197

Lab 10 –Redistributing EIGRP into RIP
(Uses the same topology as Lab 9)
Objective: Performing Redistribution between RIP and EIGRP Run RIP between
R1 and R2. Run EIGRP in AS 1 between R2, R3 and R4.

Remove EIGRP 11 from R1 and R2. Run RIP v2 between R1 and
R2. Advertise all the loopbacks on these 2 routers in RIP
On R1
R1(config)#no router eigrp 11
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#net 192.1.12.0
R1(config-router)#net 1.0.0.0

On R2
R2(config)#no router eigrp 11
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#net 2.0.0.0
R2(config-router)#net 192.1.12.0

On R1, R3 and R4

Type SH IP ROUTE

Do you see all the routes?

Perform mutual Route redistribution between RIP and EIGRP
on R2
On R3
R3(config)#router eigrp 1
R3(config-router)#redistribute rip metric 10000 1000 255 1 1500
R3(config-router)#router rip
Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 66 of 197

com Khawarb@khawarb.netscopeme.1.4.1.com Page 67 of 197 . • Are you successful? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4 from R1.1 from R4 and Ping 4.R3(config-router)#redistribute eigrp 1 metric 3 On R1. R3 and R4 • Type SH IP ROUTE • Do you see all the routes? • Ping 1.4.

0.1 255.0.0.0.1 255.0.0 255.0.netscopeme.0.0.0.0.0.0.0.0.1 17.1 13.0 R1(config-if)#router rip R1(config-router)#net 11.0 R1(config-if)#interface Loopback 12 R1(config-if)#ip address 12.0 R4 Interface Loopback 15 Loopback 16 Loopback 17 Loopback 18 On R1 R1(config)#interface Loopback 11 R1(config-if)#ip address 11.0.0.0 255.0.0.0.0.0.0.0.0 R1(config-router)#net 12.0.0.0.1 14.0.1 255.0.1 12.1 16.0 R1(config)#interface Loopback 13 R1(config-if)#ip address 13.0.0 255.0.0. We will filter certain routes from getting redistributed into the other routing protocol Add the following Loopbacks on R1 and R4 and advertise them into RIP on R1 and EIGRP 1 on R4 R1 Interface Loopback 11 Loopback 12 Loopback 13 Loopback 14 IP Address 11.0.0.0 255.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0.com Khawarb@khawarb.0 255.1 255.0 R1(config)#interface Loopback 14 R1(config-if)#ip address 14.0.0.0.Lab 11 –Redistributing EIGRP into RIP using Route Filtering (Uses the same topology as Lab 10) Objective: This lab builds on the configuration of the previous labs.com Page 68 of 197 .0 255.0.0.0.0.0.0.0 IP Address 15.0.0.0.1 18. We will add some new routes on R1 and R4 and inject them into the appropriate protocols.1 Subnet Mask 255.0.0.0.1 Subnet Mask 255.0.0.0 R1(config-router)#net 13.0.0.

0 On R1.com Khawarb@khawarb.0.R1(config-router)#net 14.0.0 0.0.0 routes? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0 R4(config-router)#net 18.0 R4(config-if)#Router eigrp 1 R4(config-router)#net 15.0 R4(config)#interface Loopback 17 R4(config-if)#ip address 17.0.0 RIP routes to be redistributed into EIGRP On R2 R2(config)#access-list 1 deny 11.com Page 69 of 197 .0.0 On R4 R4(config)#interface Loopback 15 R4(config-if)#ip address 15.0.0.0.0.0.0.0.0.0.0 and 12.0 R4(config-router)#net 16.0.0 0.0.0.0. R3 and R4 • Type SH IP ROUTE • Do you see all the routes? Deny 11.0.0.0.0.netscopeme.0.0.255.255 R2(config)#access-list 1 deny 12.0.0.0.0 & 12.255 R2(config)#access-list 1 permit any R2(config)#Route-map R-2-E permit 10 R2(config-route-map)#match ip address 1 R2(config-route-map)#router eigrp 1 R2(config-router)#redistribute rip route-map R-2-E On R3 and R4 • Type SH IP ROUTE • Do you see all the 11.0.0.0 R4(config-if)#interface Loopback 16 R4(config-if)#ip address 16.0.0.1 255.0.0.0 R4(config)#interface Loopback 18 R4(config-if)#ip address 18.255.0 R4(config-router)#net 17.1 255.255.0.1 255.255.0.1 255.0.0.

• Do you see all the other RIP routes? Deny 15.0.0 0.0.0 0.255 R2(config)#access-list 2 permit any R2(config)#route-map E-2-R permit 10 R2(config-route-map)#match ip address 2 R2(config-route-map)#router rip R2(config-router)#redistribute eigrp 1 route-map E-2-R On R1 • Type SH IP ROUTE • Do you see all the 15.0.0.com Khawarb@khawarb.255.0.255.0.0.0.0 EIGRP routes to be redistributed into RIP R2(config)#access-list 2 deny 15.0.0 and 16.com Page 70 of 197 .255.255.0.0 routes? • Do you see all the other EIGRP routes? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 & 16.0.netscopeme.0.255 R2(config)#access-list 2 deny 16.

12.0 192.0 255. Configuring a Default Route on R1 pointing towards R2.0 192.12.0 192.0.1 R2(config)#no Router RIP Redistribute all the Static routes on R2 into EIGRP except the 11.0.0 192.com Page 71 of 197 .1.0.com Khawarb@khawarb.0.0.0 255.255.0 255.255.0 0.0 192.0 0.1 R2(config)#ip route 14.0 and 14.12.Lab 12 – Redistributing Static using Route Filtering (Uses the same topology as Lab 11) Objective: R1 and R2 will not be running any routing protocol between them.0.0.0.0 192.0 0.2 R1(config)#no Router RIP On R2 R2(config)#ip route 1.0 networks On R2 R2(config)#access-list 3 deny 11.0.1 R2(config)#ip route 12.1.0.0.1.0.0.0.12.0.1 R2(config)#ip route 13.255.255 R2(config)#access-list 3 permit any R2(config)#route-map S-2-E permit 10 R2(config-route-map)#match ip address 3 R2(config-route-map)#router eigrp 1 R2(config-router)#redistribute static route-map S-2-E Copyrights Netscope FZ LLC 2007-2015 Website: http://www.255.0. R3 and R4. R2 will create static routes for the R1 networks.0.0.0.0.0. You would like to inject some of these static routes into the already running EIGRP instance between R2.255 R2(config)#access-list 3 deny 14.1.0.0.0.0.12. Disabling RIP between R1 and R2.0.0.0.0. Configure Static routes on R2 for all the R1 networks On R1 R1(config)# ip route 0.0 255.netscopeme.0 255.1. R1 will use a default route pointing towards R2.12.1.1 R2(config)#ip route 11.0.0.0.

0.com Khawarb@khawarb.1? • Can you Ping 12.0.netscopeme.1? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 72 of 197 .0 networks • Can you Ping 11.0 and 14.0.0.0.On R3 and R4 • Type SH IP ROUTE • Verify that you see all the static routes except the 11.0.0.0.

com Khawarb@khawarb.com Page 73 of 197 .netscopeme.Lab 13 – EIGRP Authentication (Uses the same topology as Lab 12) Objective: Use MD5 to authenticate the Routers that are running EIGRP Setting up the Key for the Passwords On R2 R2(config)#key chain KC-1 R2(config-keychain)#key 1 R2(config-keychain-key)#key-string cisco On R3 R3(config)#key chain KC-1 R3(config-keychain)#key 1 R3(config-keychain-key)#key-string cisco On R4 R4(config)#key chain KC-1 R4(config-keychain)#key 1 R4(config-keychain-key)#key-string cisco Applying the Key to theInterface On R2 R2(config)#int E 0/0 R2(config-if)#ip authentication key-chain eigrp 1 KC-1 R2(config-if)#ip authentication mode eigrp 1 md5 On R3 R3(config)#int E 0/0 R3(config-if)#ip authentication R3(config-if)#ip authentication R3(config-if)#int S 0/0 R3(config-if)#ip authentication R3(config-if)#ip authentication key-chain eigrp 1 trinet mode eigrp 1 md5 key-chain eigrp 1 trinet mode eigrp 1 md5 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

R3 and R4 o Type Debug eigrp packet o Notice the authentication is md5 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.netscopeme.On R4 R4(config)#int S 0/0 R4(config-if)#ip authentication key-chain eigrp 1 trinet R4(config-if)#ip authentication mode eigrp 1 md5 On R2.com Page 74 of 197 .

SP.com Khawarb@khawarb.com Page 75 of 197 .Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 5 – OSPF Penta CCIE # 12353 (R/S.Security.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.Voice.

Uses Multicast versus Broadcasts. Provides bit-based Route summarization. Convergence is Faster than in Distance Vector Routing protocols. OSPF Features • • • • • • • • • • • • • Scales better than Distance Vector Routing protocols. instead of hop count. The most recent specifications are specified in RFC 2328.com Khawarb@khawarb. Classless Routing Protocol. OSPF uses a Cost Value. This protocol was finalized in 1989. Cost = 108/Bandwidth.Open Shortest Path First (OSPF) History • • OSPF Version 1 was specified in RFC 1131 in 1988. Provides Authentication.com Page 76 of 197 . Provides Load Balancing Introduces the concept of Area’s to ease management and control traffic. There are no periodic updates. Router only send changes in updates and not the entire full tables.netscopeme. Updates are only sent when there are changes. Cost is based on the speed of the link. The reason for that is it floods the changes to all neighboring routers simultaneously rather than in a chain. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. It relies on IP to deliver the Packets. FLSM and Supernetting. Use port 89. Supports Variable Length Subnet Masking (VLSM). It virtually has no practical Hop Count Limit. OSPF Version 2 (Current version).

 Backbone Routers are routers with at least one interface attached to the backbone.  Area Border Routers (ABR) connect one or more areas to the backbone area and has at least one interface that belongs to the backbone. Although this requirement means that ABR’s are also backbone routers. can be categorized in relation to areas. Areas reduce the Memory. like Traffic. Can be denoted in Decimal format(0) or Dotted format (0. Routers within an area will have no detailed knowledge of the topology outside of their area. known as the backbone area. Router Types • • Routers.0) OSPF requires one area to be Area 0.0.netscopeme.com Khawarb@khawarb. connects all the other area to each other. Areas divide an OSPF domain into sub-domains.0. CPU utilization and amount of traffic in a network. Reduced size of the Database reduces Memory requirements for the routers. These routers have a single Link State Database. and must maintain as separate Link State Database for each of its connected areas. Three types of Traffic may be defined in relation to areas:  Intra-area traffic consists of packets that are passed between routers within a single area. Must be a more resourceful router than a Internal Router. Area’s identified by a 32-bit Area ID. but not all Backbone routers are ABR’s.  External traffic consists of packets that are passed between a router within the OSPF domain and a router within another Autonomous systems. An Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Most of the traffic can be restricted to within the area.Areas and Router Types Areas • • • • • • • • • • • Area is a logical grouping of OSPF routers.com Page 77 of 197 . Backbone area or Area 0. The different Router Types are as follows:  Internal Routers are routers whose interfaces all belong to the same area. Areas allow OSPF to be extremely scalable.  Inter-area traffic consists of packets that are passed between routers in different areas.

An ASBR can be located anywhere within the OSPF autonomous system.com Page 78 of 197 . such as BGP or EIGRP or RIP or IGRP. injecting routes into the OSPF domain that were learned from other protocols.Internal Router having all its interfaces in Area 0 is also a Backbone router. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. It may be an Internal.netscopeme.  Autonomous System Boundary Router (ASBR) are gateways for external traffic.com Khawarb@khawarb. Backbone or ABR router.

Neighbors: Two routers that have interfaces on a common network. • It’s used to uniquely identify a router within an Autonomous System. it will be the highest configured address on the router.OSPF Terminology Interface: A Connection between the router and one of its attached Networks Link State: The status of a link between two routers. • Its calculated at boot time • It’s the highest Loopback address on a Router. that is. Databases or Tables: There are 3 OSPF Database or Tables: • Neighbor Database: Contains the information about Directly connected neighbors • Link-State Database: Link States of all the routers in an Area. Link State Advertisement(LSA): • Is the packet that is used by the routers to tell each other about the state of a Link. a router’s interface and its relationship to its neighboring routers. All routers in the same area will have an identical Link State Database.com Page 79 of 197 .com Khawarb@khawarb. • The ones that are flooded within the area. also known as the Link State Database. • Routing Table: Derived from the Link State Database by running the SPF(also known as the Dijkstra Algorithms). Flooding: A technique used to distribute LSA’s between routers. • Certain types LSA’s are flooded throughout the network and certain ones only within the area. A neighbor relationship is usually discovered and maintained by the Hello Protocol. The link states are advertised to other routers in a special packet called link-state advertisements (LSA).netscopeme. are used to create a topology database. If there is no loopback configured. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Adjacent: OSPF routers form adjacency with neighboring routers in order to exchange routing information. Router ID: • A 32-bit number assigned to each OSPF enabled router.

 Neighbor’s: The list of neighbors with which a bi-directional communication has been established.  Hello Interval: It specifies the frequency in seconds that a router sends hello’s. All routers communicate to the DR using a Multicast address of 224.5. Token-Ring and FDDI are examples of Broadcast Multi-access Networks For OSPF to exchange routes. Hello packets are multicast packets OSPF routers on broadcast networks will elect a Designated Router (DR)and Backup Designated Router(BDR). Hello Protocol is responsible fro establishing and maintaining neighbor relationships. the router’s have to belong to the same Area. Bi-directional communication is indicated when the router sees itself listed in the neighbor’ hello packet. In order to form a neighbor relationship. By default. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. All the other routers will establish the adjacency with the DR and BDR rather than with all the other routers on a Multi-access networks. The Hello Packet contains the Following fields:  Router ID: Router’s Identification.  Dead Interval: It specifies the time in seconds that a router waits to hear from a neighbor before declaring the neighbor router down.OSPF Network Types OSPF Defines Three Main Network Types: • • • Broadcast Multi-access Networks Point-to-point Networks Non-broadcast Multi-access (NBMA) Networks Broadcast Networks • • • • • • • • • Networks like Ethernet. it is 4 times the hello interval.0. Each router has to have a unique ID. the Dead Interval on the router’s has to match.0.netscopeme. the Hello Interval on the router’s has to match. In order to form a neighbor relationship.0.6.0.com Page 80 of 197 . In order to form a neighbor relationship.com Khawarb@khawarb. The DR communicates with all the routers using a Multicast address of 224. they must establish a Neighbor Adjacency this is done by Hello Protocol.  Area ID: The ID of an area that the router belongs to.

the Highest Router ID ( IP Address) is used to break the tie. even if a new router with a higher priority comes up. that connect a pair of Routers to each other are examples of Point-to-point networks.5. The flag has to match for the routers to establish adjacency. DR and BDR election Process For the Election process to function properly.netscopeme. Neighbors on a Point-to-point network form adjacency with each other. for either the DR or BDR. Routers with a Priority of 0 are ineligible to become a DR or BDR.0. The default priority on Cisco Routers is 1 and can be changed on a per multi-access interface basis with the command IP OSPF Priority. it sets the DR and BDR fields to 0. the routes are still send across unencrypted.0. known as AllSPFRouters. Once a DR or BDR is chosen.0. When an interface first becomes active on a multi-access network. The election process takes place after the 2-way communication has taken place. it will not become a DR or BDR.0 in the Hello Packet. In case of a tie. The destination address on Point-to-point networks is always 224. which is an 8-bit integer ranging from 0 – 255. There are no DR or BDR router types on a Point-to-point network.com Page 81 of 197 .  DR and BDR IP: If it is known. Hello packets include fields for the originating router to specify its Router Priority and for the IP addresses of the connected interfaces of the routers it considers the DR and BDR. Router Priority: An 8-bit number that indicates the priority of this router when selecting a DR/BDR. two routers must use the same password.  Authentication Password: If authentication is enabled. Point-to-point Networks • • • Networks like T1 or a Fractional T1. the IP address of the DR and BDR. The Router with the Highest Priority becomes the DR and next highest priority becomes the BDR. support authentication.  Stub Area Flag: Specifies the Type of area the router is in. the following conditions must exist: • • • • • • • Each multi-access interface of each router has a Router Priority value.com Khawarb@khawarb.0. Although OSPF routers. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Different types of areas are discussed later.

NBMA Networks



Networks like Frame Relay,X.25 or ATM, are examples of NBMA
networks.
These type of networks do have the capability to connect more than two
routers but have no capability of broadcasts. A packet sent by one of the
attached routers would not be received by all other attached routers.
OSPF routers on NBMA elect a DR and BDR and all OSPF packets are
unicast.
All routers form an adjacency with the DR and BDR.
Careful selection of DR and BDR has to be done in the Hub-and-Spoke
configuration of NBMA networks.

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 82 of 197

OSPF Protocols and Packets

OSPF consists of a set of individual protocols all working together to
build a fast and scalable interior routing protocol.
OSPF protocols are:
• Hello Protocol
• Exchange Protocol
• Flooding Protocol
These protocols are used in different packet types. The different packet
types, their descriptions are listed in the following Table.

Packet
Type
1

Name

Description

Protocol
Used

Hello

Used to build Adjacencies
or Neighbor Relations.
Carries Parameters on
which neighbors must
agree in order to form an
adjacency
Used to check
Synchronization between
routers
Used to request specific
Link State records from a
Neighbor Router
Used to send specific Link
State records from router to
router
Used to Acknowledge the
above Packet to provide
Reliability

Hello

2

Database
Description

3

Link State
Request

4

Link State
Update

5

Link State
Advertisements

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 83 of 197

Exchange

Exchange

Flooding

All

Problems with a large OSPF single
area

Frequent SPF algorithm calculation: In large networks, network changes
are inevitable, so the routers would have to spend more CPU cycles for
recalculating SPF.

Large Routing Table: Each router would need to maintain at least one
entry per network, and if we have provided redundancy to some of the
links, then more entries will be found in the routing table.

Huge Link-State Database: Remember each point-to-point link will have
2 entries and so on, so one can imagine the number of entries in that
database.

Solution in Hierarchical routing (multiple Areas)

In OSPF we can divide a large Area into smaller areas.

Routing still occurs between the areas called inter-area routing.

If one of the areas is having a flapping link, it will not have an effect on
the other areas, because the traffic will always be restricted to that area
If you summarization is performed on the ABR.

Benefits

Reduced Frequency of SPF calculation: detailed routing information is
kept within each area so its not necessary to flood all Link-State changes
to all other areas, thus not all routers need to run the SPF calculations.

Smaller Routing Table: Because detailed routing information is kept
within an area, the routers within an area will have smaller routing table.

Reduced Link-State Updates: LSU s can contain a variety of LSA types,
instead of sending an LSU about each network within an area, you can
advertise a single or fewer summarized routes between areas to reduce
overhead associated with LSU s.

Copyrights Netscope FZ LLC 2007-2015
Website: http://www.netscopeme.com
Khawarb@khawarb.com
Page 84 of 197

netscopeme. Routers In an OSPF Multi-Area 1. They must have at least one interface in Area 0. Area Border Routers (ABR): • • • • Routers that have interfaces to multiple areas. All routers have an identical Link-State database. 3.com Khawarb@khawarb. ABR s can summarize the routes from one area and advertise a summarized route/s to the other areas. Autonomous System Boundary Routers (ASBR): • • Routers that have at least one interface into an external network such as Non-OSPF network.com Page 85 of 197 . These routers will maintain a separate Link-State Database for each area to which they are connected. An exit point for an area. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Back Bone Routers (BBR): • • All the IR s in area 0 are called the backbone routers. 2. Hierarchical routing enables routing efficiency because it allows you to control the type of routing information that you allow in and out of an area. Internal Routers (IR): • • All interfaces are in the same area. These routers can redistribute Non-OSPF routes into OSPF networks.Multi-Area Components • • • • Routers LSAs Areas Virtual-Links Note. 4.

Link-State Types 1. 4. 7. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Flooded throughout the backbone area or from backbone area to other areas. 3. LSA Type 3: • • • • • Summary Link Entry Identified by the letter IA in the routing table. Summary Link Entry. Generated by ABR. Describes the networks in a given area to the backbone area and vise versa. 5. Network Link Entry. LSA Type 4: • Summary Network Link Entry. NSSA. 2. Describes the set of routers attached to that multi-access networks. Generated by DR/BDR in multi-access networks. 2. Identified by the letter O in the routing table. Describes the states of the router’s link to the area. MOSPF. Identified by the letter O in the routing table. LSA Type 2: • • • • • Network Link Entry. LSA LSA LSA LSA LSA LSA LSA Type Type Type Type Type Type Type 1: 2: 3: 4: 5: 6: 7: Router Link Entry. LSA Type 1: • • • • • Router Link Entry. 6. 3. Flooded within any area that has DR/BDR s. Flooded within any area. Generated by all routers.com Khawarb@khawarb.com Page 86 of 197 . 4. Autonomous System External Link Entry. Summary Link Entry.netscopeme. 1.

LSA Type 7: • • • • • Not-So-Stubby Autonomous System External Link Entry. Describes reachibility to ASBR. When LSA Type 4s are flooded. 5. Describes the routes to destination/s external to the OSPF autonomous system. and NSSA areas. 6. In a multi-area it will be given to the ABR of the same area . Describes the routes to destination/s external to the OSPF autonomous system. These LSAs are then translated to LSA Type 5 and flooded into the Backbone Area.com Page 87 of 197 . LSA Type 4 is only seen in the Link-State Database. Generated by ASBR in a NSSA.com Khawarb@khawarb. Generated by the ASBR. Distributes group-membership location information throughout the routing domain. Flooded throughout an OSPF autonomous system except STUB. Flooded by a Multicast OSPF Router (MOR).netscopeme. LSA Type 6: • • • Group Membership Link Entry. LSA Type 5s are seen as well. 7. LSA Type 4s are seen as well. TOTALLY STUBBY. Identified by the letter E1 or E2 in the routing table. Identified by the letter N1 or N2 in the routing tables of the routers in that particular NSSA. Generated by the ASBR. Flooded throughout an OSPF autonomous area except in Totally Stubby areas.• • • • • LSA Type 4s are not seen in the routing table. LSA Type 5: • • • • • • Autonomous System External Link Entry. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. When LSA Type 5s are flooded. and the ABR will flood the LSAs to the other areas.

• E2 (default): If a packet is E2 it will only have the external cost assigned. meaning ASBR’s cost to get to an external route.E1. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. used only when there is one ASBR advertising an external route/s. and N2 entries in the routing table: The cost of an external route differs depending on the external type configuration on the ASBR. The external-types are as follows: • E1: If a packet is E1 then the metric is calculated by adding the external cost to the internal cost of each link the packet crosses.netscopeme. E2. N1. used only when there are multiple ASBRs advertising a route to the same AS.com Page 88 of 197 .com Khawarb@khawarb.

com Page 89 of 197 . 2. External networks LSA Type 5s are not allowed to be flooded into a Stub area. If routers need to route to networks outside an AS.0). they will use a default route (0. Standard or Normal Area: • • This could be any area that is not configured as Stub. 4. The virtual Link provides the disconnected area with a logical path to the backbone so the disconnected area can communicate with other areas. a virtual link must be configured to provide the needed connectivity to the backbone area.5 .0. A default route is injected for reachibility to other networks outside that area.3. Can accept any LSA Types 1.4. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Totally Stubby. to get to external networks. and as a result of that it reduces the memory requirements of the routers inside that area. and Type 2.Types Of Areas 1. This kind of area reduces the size of the Link-State Database. area 0 must exist. or NSSA. Back Bone Area (transit area): • • • • This is Area 0. routers will use the default route. Flooded LSAs are: LSA Type 1.netscopeme. All the other areas must have a Physical or Logical connectivity to the backbone area. Totally Stubby Area: • • • • • Does not accept external AS routes.2.com Khawarb@khawarb. Cisco Proprietary solution. or summary routes from other areas internal to the AS.0. If a new area is added and it does not have direct connection to the backbone area. Stub Area: • • • • Does not accept information about routes external to the AS. 3. Can only be used if all the routers are CISCO.

that can accept external routes with using LSA Type 7s. that area could not be set to STUB of any kind. Not-So-Stubby: • • • • • • • Available in IOS versions 11. Defined in RFC 1587. NSSA can only receive LSA Types 1. if an area had an external route.3.2 and higher. and 7.2.• To get to external networks. • To add redundancy incase a router failure causes the Backbone area to be split into two. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.com Page 90 of 197 . LSA Type 7s will then be translated into LSA Type 5s by the ABR and flooded into area 0. • Linking fragmented Backbone area. LSA Type 7s can be originated and advertised throughout a NSSA. It’s a hybrid Stub area. 5. routers will use the default route.com Khawarb@khawarb. Virtual-Links and their Purpose • Linking an area that does not have a physical connection to the Backbone area. Prior to NSSA.

Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 5 – OSPF Labs Penta CCIE # 12353 (R/S.com Khawarb@khawarb.SP.com Page 91 of 197 .Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.Voice.Security.netscopeme.

1.0.1.0 IP Address 3.1 Subnet Mask 255.4/8 R3 R4 R1 Configuration Interface Loopback 0 E 0/0 IP Address 1.3/8 L0 4.4.0.3 Subnet Mask 255.0 R2 Configuration Interface Loopback 0 E 0/0 R3 Configuration Interface Loopback 0 E 0/0 R4 Configuration Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2 192.1/8 E 0/0 (.0 255.2.0 255.3.255.com Khawarb@khawarb.2 Subnet Mask 255.1.255.0.0.100.1.Lab 1 – OSPF Over Ethernet R2 R1 L0 2.100.1.0/24 E 0/0 (.4.3.2.1.1.1) L0 192.1 192.100.255.com Page 92 of 197 .2/8 L0 1.netscopeme.3) L0 3.255.0 IP Address 2.2.255.0.3.4) E 0/0 (.255.2) E 0/0 (.1.100.0.0 255.2.3.3 192.

255.1.1.0.255.com Page 93 of 197 .0 0.netscopeme.0.255 area 0 R3 (config-router)#net 192.0.com Khawarb@khawarb.0.0 255.100.255.0.0.1.1.0.4 Subnet Mask 255.255. Initial sequence number established Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 0.0 0. used in DR and BDR election State: Init State First Hello is sent 2-Way Neighbor discovered.0.255.255.255 area 0 On R2 R2(config)#Router ospf 1 R2 (config-router)#net 2.0 0.255 area 0 On R4 R4(config)#Router ospf 1 R4 (config-router)#net 4.0 0.0.100.0.0.0.100.255.0.0 0.255.0.255 area 0 On R3 R3(config)#Router ospf 1 R3 (config-router)#net 3.4.1.255 area 0 R2 (config-router)#net 192. but adjacency not built Exstart Neighbor’s form a Master/Slave Relationship.0 0.255.4.255.0 Objective: Configuring OSPF over an Ethernet network and getting used to different Show commands On R1 R1(config)#Router ospf 1 R1 (config-router)#net 1. Based on the Highest IP address.4 192.0 0.0.0.Interface Loopback 0 E 0/0 IP Address 4.100.100.0.255 area 0 R1 (config-router)#net 192.0.255 area 0 Test the Configuration • Type SH IP OSPF NEIGHBOR Neighbor ID: Neighbor’s Router ID Pri: Neighbor’s Priority.255 area 0 R4 (config-router)#net 192.

A request list is created.3.100.com Khawarb@khawarb.netscopeme. Loading Link State Request is sent to each other and based on the LSR’s received. • Type SH IP OSPF DATABASE NETWORK Displays all the Network LSA’s received by your router. Link State Update packets are sent back in both directions.1.4 • 1 1 1 full/drother full/bdr full/dr 192. DR The neighbor is the DR BDR The neighbor is the BDR DROTHER The neighbor is neither a DR nor BDR Address: The address of the neighbor router’s interface Interface: The local interface that connects to the neighbor router Format: 2.3.3 4. Full All neighbors have a consistent Database.4 E 0/0 E 0/0 E 0/0 Type SH IP OSPF DATABASE ROUTER. Displays all the router LSA’s received by your router.1. Send out by the DR.100. Includes the following information: o DR Address o All the attached routers of the area • Type SH IP OSPF INTERFACE E 0/0 Shows the following information: • • • • • • IP Address of the Interface Area ID Process ID Network Type Cost (108/Bandwidth) DR and BDR Router ID’s and IP addresses Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2.2.com Page 94 of 197 .2 192.100.4.2 3.Exchange The router’s exchange Database Description packets to tell each other about the routes it knows about.4.1.3 192.

com Page 95 of 197 .• • • Interval’s for Hello.netscopeme. Dead. Shows all packets for OSPF Displays the Hello packets and DR and BDR Election Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Wait and Retransmit Total # of Neighbors and Adjacent Neighbors Type SH IP ROUTE O – OSPF Intra-Area Route 110 – Administrative Distance for OSPF 11 – Cost Default Cost Values for Common Intrefaces Interface FDDI/Fast Ethernet Loopback HSSI 16 M Token Ring Ethernet 4 M Token Ring Serial Cost 1 1 2 6 10 25 64 Other Useful Commands Command IP OSPF COST [Value] IP OSPF Hello-Interval [Value] IP OSPF Dead-Interval [Value] IP OSPF Priority [Value] auto-cost reference-bandwidth Debug IP OSPF Packet Debug IP OSPF Adj Explanation Changes the default cost of an Interface Change the Hello-interval Changes the Dead-interval Changes the Priority.com Khawarb@khawarb. Used in forcing one of the router’s to be the DR or BDR Used when you have a Gigabit Ethernet connection and 108 does not work correctly.

com Khawarb@khawarb. Also note the Roles of the Routers • Type SH IP OSPF INT E 0/0 to see the DR and BDR for the Network.com Page 96 of 197 . Copyrights Netscope FZ LLC 2007-2015 Website: http://www.Lab 2 –Specifying DR and BDR (Builds on Lab 1) Objective: Controlling the selection of the DR and BDR on a Ethernet Segment On R1 R1(config)#Int E 0/0 R1(config-if)#IP OSPF priority 100 R1(config-if)#shut On R2 R2(config)#Int E 0/0 R2(config-if)#IP OSPF priority 50 R2(config-if)#shut On R3 R3(config)#Int E 0/0 R3(config-if)#IP OSPF priority 0 R3(config-if)#shut On R4 R4(config)#Int E 0/0 R4(config-if)#IP OSPF priority 0 R4(config-if)#shut • Bring All E 0/0 interfaces UP • Type SH IP OSPF NEIGHBOR • Use Up arrow key and Enter to keep on repeating the commands and see the state of the routers going from Init to Full.netscopeme.

0.com Page 97 of 197 .2 Aid:0. 2:md5 Auk: Authentication Key (used only for md5) • Type U ALL On RI and R2 Rx(config)#Int E 0/0 Rx(config-if)#IP OSPF authentication-key Cisco Rx(config-if)#IP OSPF authentication On All Routers • Type Clear IP Route * • Type SH IP Route • Notice R1 and R2 talk to each other and R3 and R4 only see the directly connected networks ON R3 and R4 Rx(config)#Int E 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.2. 3-LS Req.netscopeme.Lab 3 – Clear Text Authentication (Builds on Lab 2) Objective: Use Clear Text authentication to authenticate all 4 routers • Type DEBUG IP OSPF PACKET You should see the following output: OSPF: rcv.LS Update 5-LSA l: Length of packet rid: Router ID Chk: Checksum Aut: Authentication type 0: No Authentication. 1:Simple. 2.0 chk:965A aut:0 auk: from E 0/0 v: t: Stands for OSPF Version OSPF Packet Type 1.Hello.2.Data Description. V:2 t:1 l:56 rid:2. 4.com Khawarb@khawarb.

0 chk:965A aut:1 auk: from E 0/0 • Aut:1 tells you that you are using Simple Authentication Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.netscopeme.com Page 98 of 197 .Rx(config-if)#IP OSPF authentication-key Cisco Rx(config-if)#IP OSPF authentication On All Routers • Type Debug IP OSPF Packet You should see the following: OSPF: rcv.com Khawarb@khawarb.0.2 Aid:0.2.2. V:2 t:1 l:56 rid:2.

com Khawarb@khawarb.0.netscopeme.0.com Page 99 of 197 . V:2 t:1 l:56 rid:2.0 chk:965A aut:2 key: from E 0/0 • Aut:2 tells you that you are using md5 authentication Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2.2.2 Aid:0.Lab 4 – MD5 Authentication (Builds on Lab 3) Objective: Use MD5 authentication to authenticate all 4 routers • Type U ALL On All Routers Rx(config)#Int E 0/0 Rx(config-if)#IP OSPF message-digest-key 1 md5 ccnp Rx(config-if)#IP OSPF authentication message-digest On All Routers • Type Clear IP Route * • Type SH IP Route • Type Debug IP OSPF Packet • You should see the following: OSPF: rcv.

255 area 0 R1 (config-router)#net 192.com Khawarb@khawarb.1.netscopeme.2.2.255.1) R2 192.2) L0 2.com Page 100 of 197 .2/8 Objective: Configuring OSPF over a Point-to-point network and getting used to different Show commands R1 Configuration Interface Loopback 0 S 0/0 IP Address 1.12.1.255.1 Subnet Mask 255.12.0 0.1.1/8 S 0/0 (.0.1.255 area 0 R2 (config-router)#net 192.Lab 5 – OSPF in a Point-to-Point Configuration R1 S 0/0(.255.1 192.1.0 0.12.1.0 255.255.0 0.255.255.1.0.0.0.12.255 area 0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2.0 R2 Configuration Interface Loopback 0 S 0/0 On R1 R1(config)#Router ospf 1 R1 (config-router)#net 1.12.2 192.0.2 Subnet Mask 255.0 255.0.0.255.2.0.255.1.255 area 0 On R2 R2(config)#Router ospf 1 R2 (config-router)#net 2.0 0.0.0.1.0.0 IP Address 2.0.0/24 L0 1.

com Page 101 of 197 . Type 2 LSA’s are only displayed for Broadcast Multi-access(BMA) or Non-Broadcast Multiaccess Networks(NBMA). • Type SH IP OSPF INT S 0/0 • Notice the Network Type is POINT-TO-POINT and No DR or BDR information is displayed • Type SH IP OSPF DATABASE NETWORK • No Type 2 LSA (Network LSA’s) are displayed. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.com Khawarb@khawarb. There is no DR or BDR in a Point-to-point network.Test the Configuration • Type SH IP ROUTE • What routes do you see? • Type SH IP OSPF NEIGHBOR • Notice the State (Full/-).

23.34.2 192.1) R2 192.255.4) E 0/0 (.0/24 L0 4.255.1.2 192.1.0.3) R4 L0 3.1 192.255.0 255.0.3 192.0 R2 Configuration Interface Loopback 0 S 0/0 E 0/0 R3 Configuration Interface Loopback 0 E 0/0 S 0/0 R4 Configuration Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.12.3.2) 192.2.255.255.34.0/24 S 0/0 (.3.255.3 Subnet Mask 255.0 IP Address 3.4/8 S 0/0 (.2.1.3.23.2 Subnet Mask 255.2/8 E 0/0 (.1.2.0 255.12.2) L0 1.1.1.3) 192.1.com Page 102 of 197 .0 IP Address 2.1.0.1.1/8 L0 2.12.4.0.Lab 6 – OSPF in a Mixed Topology R1 S 0/0(.0 255.0/24 S 0/0(.1.255.4.1.1.3/8 R3 R1 Configuration Interface Loopback 0 S 0/0 IP Address 1.2.1 Subnet Mask 255.255.255.255.3 192.0.23.0 255.3.netscopeme.0 255.com Khawarb@khawarb.

255 area 0 R4(config-router)#net 192.0.0.0.255 area 0 On R2 R2(config)#Router ospf 1 R2(config-router)#net 2.0.0.23.0.0.0.0 0.255.255. You also take a look at the LSA Database On R1 R1(config)#Router ospf 1 R1(config-router)#net 1.com Page 103 of 197 .0.255 area 0 R3(config-router)#net 192.1.0 255.1.255 area 0 R1(config-router)#net 192.0.0 0.255.4.4 Subnet Mask 255.0.0.0.255 area 0 On R4 R4(config)#Router ospf 1 R4(config-router)#net 4.12.34.Interface Loopback 0 S 0/0 IP Address 4.255 area 0 • Type SH IP ROUTE • Do you see all the routes? • Type SH IP OSPF NEIGHBOR • How many Neighbors do you see and What are their States and Designations • Type SH IP OSPF DATABASE ROUTER Copyrights Netscope FZ LLC 2007-2015 Website: http://www.255.1.0 0.4 192.0.netscopeme.1.0.0.0.com Khawarb@khawarb.0.255.0 0.0 0.0 0.0 0.0 Objective: Configuring OSPF with P-2-P and Ethernet networks.255 area 0 R2(config-router)#net 192.0.1.23.255 area 0 On R3 R3(config)#Router ospf 1 R3(config-router)#net 3.0.255.12.0 0.34.255.0 0.255 area 0 R3(config-router)#net 192.1.1.0 0.0.255.34.4.255 area 0 R2(config-router)#net 192.255.0.255.

1) A Point-to-point link to Router 2 (R2) A Stub Network for the Point-to-point link (192.3 (R3) should advertise 4 Links: A link to the Transit Network (192.3.4 (R4) should advertise 2 links: A link to the Stub Network ( 4.4.3.com Khawarb@khawarb.2) A Point-to-point link to Router 1 (R1) A Stub Network for the Point-to-point link (192.1.23.0) Router ID: 2.netscopeme.1.1.2.4) A Point-to-point link to Router 3 (R3) A Stub Network for the Point-to-point link (192.1.0) Table for the Link ID and Data Type 1 Network Description Point-to-Point Connection to another Router Link ID Neighboring Router’s ID 2 Connection to a Transit Network IP address of the DR’s Interface 3 Connection to a Stub Network IP Address of the Network Link Data IP Address of originating Router’s Interface to the Network IP Address of the Originating Router’s Interface to the Network Subnet Mask * A point-to-point link is considered a Stub Network Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0) A link to the Stub Network (3.3.2.0) Router ID: 3.com Page 104 of 197 .12.0) A link to the Stub Network (2.3.2.4.You should see Four Router’s Advertising with the following Information • • • • Router ID: 1.2 (R2) should advertise 4 Links: A link to the Transit Network (192.34.23.1.1.2.34.1 (R1) should advertise 3 links: A link to the Stub Network ( 1.4.0) Router ID: 4.1.12.4.1.1.1.3) A Point-to-point link to Router 4 (R4) A Stub Network for the Point-to-point link (192.

netscopeme.com Khawarb@khawarb.1.255.0 R2(config-router)#net 192.0. R3 and R4. Run RIP v2 between R1 and R2.Lab 7 – Redistributing OSPF and RIP (Builds on Lab 6) Objective: Performing Mutual Redistribution between RIP and OSPF.0 0.0 network? • Does R1 see the 3.0. Disabling OSPF between R1 and R2.255 area 0 On All Router’s • Type SH IP ROUTE • Do R3 and R4 see the 1.0.0.0.0 On R2 R2(config)#Router rip R2(config-router)#net 2. Advertise all the loopbacks in RIP on R1 and R2 On R1 R1(config)#no Router ospf 1 R1(config)#Router rip R1(config-router)#no auto-summary R1(config-router)#version 2 R1(config-router)#net 1.0. Run RIP between R1 and R2.0.255.0.0 R2(config-router)#router ospf 1 R2(config-router)#no net 192.0 R1(config-router)#net 192.12. Run OSPF between R2.255 area 0 R2(config-router)#no net 2.0 and 4.0.0 network? Redistribute RIP into OSPF and OSPF into RIP On R2 R2(config)#router rip R2(config-router)#redistribute ospf 1 metric 2 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.com Page 105 of 197 .0.0.0.12.1.0 0.0.0.12.

1.4.R2(config-router)#router ospf 1 R2(config-router)#redistribute rip metric 10 subnets On All Router’s • Type SH IP ROUTE on R3 and R4.4 from R1.com Page 106 of 197 . • Do you see another Type of Route? • How does E1 calculate the Metric? On All OSPF Routers (R2. R3 and R4) • Type SH IP OSPF BORDER-ROUTERS • How many router’s show in the list? • What type of router is it? Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Can you ping? • Ping 4.com Khawarb@khawarb.4.1 from R3 and R4.1. Can you Ping? Redistribute RIP into OSPF and OSPF into RIP Using E1 routes On R2 R2(config)#router ospf 1 R2(config-router)#no redistribute rip metric 10 R2(config-router)#redistribute rip metric 10 metric-type 1 On All Router’s • Type SH IP ROUTE on R3 and R4. • Do you see another Type of Route? • How does E2 calculate the Metric? • Ping 1.netscopeme.

0. Run EIGRP between R1 and R2.0.com Page 107 of 197 .0. Disable RIP between R1 and R2.0.0 network? • Does R1 see the 3.0 On All Router’s • Type SH IP ROUTE • Do R3 and R4 see the 1.0. Run EIGRP 1 instead.netscopeme.0 On R2 R2(config)#no router rip R2(config)#router ospf 1 R2(config-router)#no redistribute rip subnets metric-type 1 R2(config-router)#router eigrp 1 R2(config-router)#net 2.0.1.12.0.0 network? Redistribute EIGRP into OSPF and OSPF into EIGRP On R2 R2(config)#router eigrp 1 R2(config-router)#redistribute ospf 1 metric 1544 2000 255 1 1500 R2(config-router)#router ospf 1 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.0 R2(config-router)#net 192.0 and 4.0.0. Run OSPF between R2.0 R1(config-router)#net 192. R3 and R4.Lab 8 – Redistributing OSPF and EIGRP (Builds on Lab 7) Objective: Performing Mutual Redistribution between EIGRP and OSPF.0.12.com Khawarb@khawarb. Advertise all the loopbacks on R1 and R2 in EIGRP On R1 R1(config)#no router rip R1(config)#router eigrp 1 R1(config-router)#net 1.

1. Do you see another Type of Route? • Ping 1.1.4. Can you ping? • Ping 4.com Page 108 of 197 .com Khawarb@khawarb.R2(config-router)#redistribute eigrp 1 subnets On All Router’s • Type SH IP ROUTE on R3 and R4.4.1 from R3 and R4.netscopeme. Can you Ping? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4 from R1.

0. OSPF should add the cost of the links when forwarding the routes downstream On R2 R2(config-router)#router ospf 1 R2(config-router)#redistribute static metric-type 1 subnets On All Router’s • • • Type SH IP ROUTE on R3 and R4.1.12. Do you see another Type of Route? Ping 1.4.0.0 192.0.0.1 On All Router’s • Type SH IP ROUTE • Do R3 and R4 see the 1.4 from R1.0 network? Redistribute Static Routers into OSPF.0.0. On R1 R1(config)#no router eigrp 1 R1(config)#ip route 0.Lab 9 – Redistributing Static Routes with OSPF (Builds on Lab 8) Objective: Redistributing Static routes with OSPF. Configure Static routes between R1 and R2.1 from R3 and R4.0 192.1.netscopeme.0.0.0 0.1.1. Configure Static routes on R2 towards R1’s Networks. Disable EIGRP between R1 and R2. Can you ping? Ping 4.com Khawarb@khawarb. Configure a default route on R1 towards R2.12.0 255. Redistribute the static routes on R2 into OSPF.com Page 109 of 197 .0.0.2 On R2 R2(config)#no router eigrp 1 R2(config)#router ospf 1 R2(config-router)#no redistribute eigrp 1 metric 10 metric-type 1 R2(config-router)#ip route 1. Can you Ping? Why or why not? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4.

Lab 10 – Redistributing Connected Networks with OSPF (Builds on Lab 9) Objective: Redistributing directly connected routes into OSPF.0.6.5.7. 6.5.255.5.0 0.0.255 R2(config)#route-map C-2-O permit 10 R2(config-route-map)#match ip address 1 R2(config-route-map)#router ospf 1 R2(config-router)#redistribute connected route-map C-2-O subnets Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0. make sure that R1 can ping R3 and R4 loopbacks.255. 6.0. On R2 R2(config)#access-list 1 permit 192.255.0 On All Router’s • Type SH IP ROUTE • Do R3 and R4 see the 5.com Khawarb@khawarb.7/8) On R2 R2(config)#int loo 5 R2(config-if)#ip addr 5.0 0.6.7.5.0 and 7.0.0.0.255 R2(config)#access-list 1 permit 7.0.0 0.7.255 R2(config)#access-list 1 permit 6.6.0.6.0. Also.0 0.0.7.6 255.0 networks? Redistribute the newly created directly connected Networks into OSPF.5 255.0 R2(config-if)#int loo 6 R2(config-if)#ip addr 6.0.5/8.255.com Page 110 of 197 .0.netscopeme.0.0 R2(config-if)#int loo 7 R2(config-if)#ip addr 7.0.7 255.0.0.1.12.255.0. Make sure to only redistribute the specified directly connected routes Create 3 additional Loopback Interfaces on R2 (5.6/8 and 7.255.0.0.255 R2(config)#access-list 1 permit 5.0.

5.netscopeme.On All Router’s • Type SH IP ROUTE on R3 and R4.com Khawarb@khawarb. Can you ping? • Can you ping 3.4.5 from R3 and R4.com Page 111 of 197 .3.5. Do you see new Routes? • Ping 5.3.4.3 and 4.4 from R1 now? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

netscopeme.0.5.5. On R2 R2(config)#no router ospf 1 R2(config)#router ospf 1 R2(config-router)#net 192. Only enable it for the 192.2 0.0.5 networks? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.23.0 network.1. Inject a Default route into OSPF so that R3 and R4 can reach R1 and R2 loopback networks.1.com Page 112 of 197 .0 area 0 R2(config-router)#default-information originate always On All Router’s • Type SH IP ROUTE • Do you see a 0.0 route in the routing table of R3 and R4.1 and the 5.23.com Khawarb@khawarb.1.0. Is the Gateway of Last resort set? • Can R3 and R4 Ping 1.Lab 11 – Injecting Default Route into OSPF (Builds on Lab 10) Objective: Injecting Default Route into OSPF Disable and Re-enable OSPF on R2.1.0.

3 /24 301 R1 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.2 /24 201 R1 R3 S0/0: 192.123.netscopeme.123.com Khawarb@khawarb.1.Lab 12 – OSPF over NBMA using the Broadcast Network Statement R1 R3 R2 Frame-Relay Objective: Configure OSPF to run over a NBMA network by changing the network type to Broadcast.com Page 113 of 197 . IP addressing and DLCI information Chart Routers R1 IP address S0/0: 192.1.123.1/24 Local DLCI 102 Connecting to: R2 103 R3 R2 S0/0: 192.

255.2.0.0 R2(config-if)#encapsulation frame-relay R2(config-if)#frame-relay map ip 192.2 255.1.2 255.0.0.123.3/8) on the respective routes and enable them in OSPF. Make sure that Spokes can ping each other. Also configure Loopback Interfaces (1. On R1 R1(config)#int S 0/0 R1(config-if)#ip address 192.255.1/8 .123.123.netscopeme.1.0 0.123.com Page 114 of 197 .1.0 R2(config)#Router ospf 1 R2(config-router)#net 2.2.1.1 201 broadcast R2(config-if)#frame-relay map ip 192.255 area 0 On R2 R2(config)#int S 0/0 R2(config-if)#ip address 192.123.123.0.1.0 R1(config-if)#encapsulation frame-relay R1(config-if)#frame-relay map ip 192.com Khawarb@khawarb.255.1.0.2.3 103 broadcast R1(config-if)#no shut R1(config-if)#int loopback 0 R1(config-if)#ip address 1.255.2.3 255.0 area 0 R2(config-router)#net 192.1 255.0.0.0 R1(config)#Router ospf 1 R1(config-router)#net 1.3. Configure Static Frame-relay map statements.0.2.1.2 301 R3(config-if)#no shut R3(config-if)#int loopback 0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0.0.1.1 0.3 201 R2(config-if)#no shut R2(config-if)#int loopback 0 R2(config-if)#ip address 2.3.123.123.1 301 broadcast R3(config-if)#frame-relay map ip 192.1.255 area 0 On R3 R3(config)#int S 0/0 R3(config-if)#ip address 192.1.2 0.1 255.123.1.0 0.0 area 0 R1(config-router)#net 192.Configure Frame Relay on the S0/0 interface based on the table above.2.1.0 R3(config-if)#encapsulation frame-relay R3(config-if)#frame-relay map ip 192.1.123.2 102 broadcast R1(config-if)#frame-relay map ip 192.255.0.1.1.123.2/8 and 3.1.2.1.255.

R3(config-if)#ip address 3.3.1. which is a form of Broadcast and this is a non-broadcast network.255. make sure the Hub is the DR by setting the spokes with a priority of 0.0 area 0 R3(config-router)#net 192.com Page 115 of 197 .3.3 0.3 255.3. In a Hub-n-spoke network.3 255.0.255.0 R3(config)#Router ospf 1 R3(config-router)#net 3.netscopeme.0.123.com Khawarb@khawarb.0 area 0 On All Routers  Type SH IP ROUTE  How many networks do you see?  Type SH IP OSPF INT S 0/0?  What type of network is it? Does it send the OSPF routing packets? Problem: OSPF send’s Multicast packets.0. Solution: Turn it into a Broadcast network.0.3. On R2 and R3 Rx(config)#int S 0/0 Rx(config-if)#shut Rx(config-if)# IP OSPF Network broadcast Rx(config-if)# IP OSPF priority 0 Rx(config-if)#no shut On R1 R1(config)#int S 0/0 R1(config-if)#shut R1(config-if)# IP OSPF Network broadcast Rx(config-if)#no shut • Type SH IP ROUTE • How many networks do you see? • Can you ping the loopback interfaces across the network? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

com Page 116 of 197 .123.2 R1(config-router)#neighbor 192. which is a form of Broadcast and this is a non-broadcast network.1.Lab 13 – OSPF over NBMA using the Neighbor Statement (Builds on Lab 12) Objective: Configure OSPF to run over a NBMA network by using the Neighbor command Change the Network type back to Non-Broadcast on all the Routers On All Routers Rx(config)#int S 0/0 Rx(config-if)#sh Rx(config-if)# NO IP OSPF network broadcast Rx(config-if)#no shut On All Routers • Type SH IP ROUTE • How many networks do you see? • Type SH IP OSPF INT S 0/0? • What type of network is it? Problem: OSPF send Multicast packets.1.netscopeme.123.3 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb. Solution: Have OSPF send Unicast Packets using Neighbor Statement On R1 R1(config)#router ospf 1 R1(config-router)#neighbor 192.

1. • Are you successful? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.123.1.com Khawarb@khawarb.netscopeme.123.1 On All Routers • Type SH IP ROUTE • How many networks do you see? • Ping the loopback interfaces across the Network.com Page 117 of 197 .On R2 R2(config)#router ospf 1 R2(config-router)#neighbor 192.1 On R3 R3(config)#router ospf 1 R3(config-router)#neighbor 192.

1. This network will not need a DR or BDR.123.1.com Page 118 of 197 .123.1. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Delete the Neighbor Statements on all the Routers On R1 R1(config)#router ospf 1 R1(config-router)#no neighbor 192.Lab 14 – OSPF over NBMA using the Point-to-Multipoint Network Type (Builds on Lab 13) Objective: Configure OSPF to run over a NBMA network by changing the Network type of point-to-multipoint.1 On R3 R3(config)#router ospf 1 R3(config-router)#no neighbor 192.1.netscopeme.1 On All Routers • Type SH IP ROUTE • How many networks do you see? • Type SH IP OSPF INT S 0/0? • What type of network is it? Problem: OSPF send Multicast packets.123. which is a form of Broadcast and this is a non-broadcast network.com Khawarb@khawarb.3 On R2 R2(config)#router ospf 1 R2(config-router)#no neighbor 192.2 R1(config-router)#no neighbor 192.123.

com Khawarb@khawarb. Hence no need to set the priorities on the Spokes to 0.netscopeme.com Page 119 of 197 . Change the Network type back to Point-to-multipoint on all the Routers On R1 R1(config)#int S 0/0 R1(config-if)#sh R1(config-if)#IP ospf network point-to-multipoint R1(config-if)#no shut On R2 and R3 Rx(config)#int S 0/0 Rx(config-if)#sh Rx(config-if)#IP ospf network point-to-multipoint Rx(config-if)#no IP ospf priority 0 Rx(config-if)#no shut On All Routers • Type SH IP ROUTE • How many networks do you see? • Ping the loopback interfaces across the Network. • Is there a DR/BDR on this network? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.Solution: Turn the network type to point-to-multipoint. • Are you successful? • Type Show IP ospf interface S 0/0. which is a form of point-to-point link and does not require any DR/BDR.

1.255.0.0 255.1.3) R3 R1 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 S 0/0 IP Address 1.0 R2 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 S 0/0 E 0/0 Area 0 R3 Configuration Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.2) Area 10 E 0/0 (.1.255.0 255.0 – L3 1.3) S 0/0(.com Khawarb@khawarb.1 192.netscopeme.2.255.255.12.255.1.1.0.0 255.34.0.0 255.0 255.1 Subnet Mask 255.1.1.3.0/24 Area 100 L0 3.0/24 S 0/0 (.0 255.0 – L3 2.0 255.0/24 S 0/0 (.255.com Page 120 of 197 .255.1.1.0/24 E 0/0 (.1.1.0/24 L0 2.3.0 IP Address 2.1 192.1 2.255.1 1.23.1 2.2 Subnet Mask 255.255.2) 192.0 255.1) R2 192.1.3.4) L0 4.255.1.0/24 R4 192.255.23.1.2.0.0 – L3 3.2 192.255.1.1 1.255.1.1.255.255.0 255.1.1 1.255.1 2.1.255.0.12.12.3.255.1.255.255.1.255.255.0.3.0/24 R1 S 0/0(.1.3.Lab 15 – Multi-Area Connection L0 1.1.0 – L3 4.

netscopeme.12.34.255 area 100 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.1.255 area 10 R2(config-router)#net 192.Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 E0/0 S 0/0 IP Address 3.1.1 3.255 area 0 R3(config-router)#net 192.255.255.255.23.255.0.1.1 4.0 IP Address 4.0.0.255.1.1 3. Configure OSPF and advertise the loopbacks on all the routers based on the network.255.0 0.0 R4 Configuration Interface Loopback 0 Loopback 1 Loopback 2 Loopback 3 S 0/0 Objective: Configure OSPF in a Multi-area configuration based on the network diagram.255.0.4 Subnet Mask 255.1.1.0.0 255.255.0 0.1.0.0 255.1.0.com Khawarb@khawarb.34.0 0.0 255.255.255 area 10 R1(config-router)#net 192.1 192.2.0.23.0.255.255.0.255.2.1.0 255.1 192.1.1 4.255.12 0.255.255 area 10 On R2 R2(config)#Router ospf 1 R2(config-router)#net 2.1.3. Configure the Loopbacks in Either Area 10 or Area 100 On R1 R1(config)#Router ospf 1 R1(config-router)#net 1.255 area 0 On R3 R3(config)#Router ospf 1 R3(config-router)#net 192.1.23.34.255.255.0.255.255.255 area 10 R2(config-router)#net 192.255.255.0.255.255.0 255.1.0 255.0.0 0.255. Advertise all the loopbacks on all the routers.0 0.1.0.3.0 0.3 192.255.1.1 3.1.0.0 255.com Page 121 of 197 .1 4.0 255.1.1.3 Subnet Mask 255.0.1.0 255. Verify the different types of routes in a Multi-area configuration.1.

0. Do you see all the routes ? • Do you see new type of routes? • What is the designation of the new type of routes? • Type SH IP OSPF BORDER-ROUTERS • Do you see the address of your ABR? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.255.1.0 0.255 area 100 R4(config-router)#net 192.0.1.255 area 100 On R4 R4(config)#Router ospf 1 R4(config-router)#net 4.255.com Page 122 of 197 .0.34.0 0.netscopeme.0.1.0 0.0.com Khawarb@khawarb.R3(config-router)#net 3.255 area 100 On All Routers • Type SH IP ROUTE.

1.0.0 Summarize the 3.0 255.0.0 R2(config-router)# area 10 range 2.1.252.0.1.0 Area 10 routes on R2 On R2 R2(config)#router ospf 1 R2(config-router)# area 10 range 1.252.0 and 2.X.255.0 R3(config-router)# area 100 range 4.252.com Page 123 of 197 .0 255.X.255.com Khawarb@khawarb.255.0 255.1.0.X.0.255.252.0 Area 100 routes on R3 On R3 R3(config)#router ospf 1 R3(config-router)# area 100 range 3.0.0.0 and 4.Lab 16 – Multi-Area Connection using Route Summarization (Builds on Lab 15) Objective: Perform Route summarization such that all the Loopbacks from Area 10 and Area 100 are summarized Summarize the 1.netscopeme.0 On All Routers • Type SH IP ROUTE • Does your routing table have all the entries to all the networks outside your area? • Can you ping the other area Hosts? • What are the benefits of Route Summarization? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 255.X.0.

1.0.255.1.255.1.0 – L1 1.1.12.1.1.1.netscopeme.1.255.255.255.255.0 – L1 4.255.Lab 17 – Configuring Stub Area L0 1.1.1 1.3) S 0/0(.0 255.1.0.0.3 Subnet Mask 255.1.0.0/24 R1 S 0/0(.1.1.1 Subnet Mask 255.255.12.255.1) R2 192.1.0.2) 192.23.255.1 192.0/24 S 0/0 (.0 255.255.3) R3 R1 Configuration Interface Loopback 0 Loopback 1 S 0/0 IP Address 1.2) Area 10 E 0/0 (.23.0 255.255.1.1.0 255.1.255.255.12.1 192.0/24 E 0/0 (.0.1.1.1.com Page 124 of 197 .34.0 255.1.0 R2 Configuration Interface Loopback 0 Loopback 1 S 0/0 E 0/0 R3 Configuration Interface Loopback 0 Loopback 1 E0/0 Area 0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2 Subnet Mask 255.1.0 255.255.2 192.1.1.255.0/24 S 0/0 (.1.0 255.com Khawarb@khawarb.0/24 Area 100 L0 3.0.0 – L1 2.1 192.255.23.0/24 R4 192.1.1 2.4) L0 4.0/24 L0 2.255.0 – L1 3.1.1.0 IP Address 2.0 IP Address 3.255.1 3.255.

0 and 3.1. Configure OSPF and advertise the loopbacks on all the routers based on the network.0.0 0.4 Subnet Mask 255.3 255.1 4.1.255 area 10 R2(config-router)#net 192.com Khawarb@khawarb.255 area 0 R3(config-router)#net 192.255 area 10 R1(config-router)#net 1.com Page 125 of 197 .255 area 10 On R2 R2(config)#Router ospf 1 R2(config-router)#net 192.0.1.0 0.255.X.0.255.34.0 0.34.0.0.0.255.255 area 100 R3(config-router)# redistribute connected subnets On R4 R4(config)#Router ospf 1 R4(config-router)#net 4.0 routes into OSPF using the Redistribute Connected statement such that they appear as External routes in OSPF On R1 R1(config)#Router ospf 1 R1(config-router)#net 192.1.0.0.0.0.netscopeme.X. Configure Area 10 and Area 100 as Stub Area’s to prevent External routes from the Backbone getting injected into it.255.1.0 0.1 192.0 R4 Configuration Interface Loopback 0 Loopback 1 S 0/0 Objective: Configure OSPF in a Multi-area configuration based on the network diagram.0 0.1.0 IP Address 4.1.255.255.0.255 area 0 R2(config-router)#redistribute connected subnets On R3 R3(config)#Router ospf 1 R3(config-router)#net 192.1.1.255.23.0 0.1.12.0.0.255.255 area 100 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.S 0/0 192.0.34.0.12 0.23.255.1.0.0.0 255.0. Inject the 2.0 255.0.0 0.1.0.255 area 100 R4(config-router)#net 192.1.34.255.

netscopeme.com Khawarb@khawarb.0.1.1. 3.0)? • Do you see a Default Route? • Who injected this route into OSPF? • Can you still ping the external networks? • What type of routes do you not see in the routing table of a stub area? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 and 3.1.1. This will prevent external routes from the backbone from getting injected into it.0.0. On R1 and R2 Rx(config)#router ospf 1 Rx(config-router)#area 10 stub On R3 and R4 Rx(config)#router ospf 1 Rx(config-router)#area 100 stub On R1 and R4 • Type SH IP ROUTE.0. 3.0)? Configure Area 10 and 100 as Stub area’s.1.1. 2.com Page 126 of 197 .0.1.1.1.0. Do you see all the routes ? • Do you see the external Routes (2. Do you see all the routes ? • Do you see the external Routes (2.0.1.0.1.On R1 and R4 • Type SH IP ROUTE.1.0 and 3. 2.

1.0 and 4.com Page 127 of 197 . On R1 and R4 • Type SH IP ROUTE.Lab 18 – Configuring a Totally Stub Area (Builds on Lab 17) Objective: Configure Area 10 and 100 as Totally Stubby area’s by also blocking the Inter-Area routes from propagating into it. Do you see all the routes ? • Do you see the Inter area Routes? • Do you see a Default Route? • Who gave you this route? • Can you still ping the 1.netscopeme.0 networks? • What type of routes do you not see in the routing table of a Totally stub area? Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Do you see all the routes ? • Do you see the Inter-Area Routes? Configure Area 10 and 100 as Totally Stubby area’s to block all inter-area routes from propagating into it.0.com Khawarb@khawarb.X.X. It should still maintain reachability to them On R2 R2(config)#router ospf 1 R2(config-router)#area 10 stub no-summary On R3 R3(config)#router ospf 1 R3(config-router)#area 10 stub no-summary On R1 and R4 • Type SH IP ROUTE.

3 Subnet Mask 255.255.2.1.1.0 255.3.255.2) RIP E 0/0 (.1.255.1.0/24 L0 2.34.255.1.0 R2 Configuration Interface S 0/0 E 0/0 Loopback 0 R3 Configuration Interface E 0/0 S 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.12.3) Area 0 L0 3.1 Subnet Mask 255.3) S 0/0(.2 2.com Page 128 of 197 .3.1.12.netscopeme.0/24 E 0/0 (.255.255.2 192.0 255.0 255.3 192.2) 192.4) L0 4.255.4/24 R4 Area 10 192.1) R2 192.23.2.255.255.0 IP Address 192.2 Subnet Mask 255.12.0 IP Address 192.1.1.2/24 S 0/0 (.1.23.1.255.1.255.255.4.255.0 255.2.255.1.1/24 R1 S 0/0(.2.34.4.1 192.23.0/24 S 0/0 (.Lab 19 – Configuring Not-so-Stubby Area L0 1.com Khawarb@khawarb.3/24 R3 R1 Configuration Interface Loopback 0 S 0/0 IP Address 1.

0.Loopback 0 3.0 IP Address 4. Advertise the Loopbacks on R2 and R3 into OSPF.23.0.1.255. Inject the 4.0.255.0 R1(config-router)#net 192.0.255.255. Perform mutual Route redistribution between RIP and OSPF on R2.1.12.0 networks into OSPF using the Redistribute connected command so that they appear in OSPF as external routes.255.0.1.34.0 On R2 R2(config)#Router rip R2(config-router)#no auto-summary R2(config-router)#net 2.netscopeme.com Page 129 of 197 .0 255.255.0.0.3 255. R3 and R4 in the appropriate areas based on the Network diagram. Run RIP between R1 and R2.12.0 R2(config-router)#redistribute ospf 1 metric 1 R2(config-router)#Router ospf 1 R2(config-router)#net 192. On R1 R1(config)#Router rip R1(config-router)#version 2 R1(config-router)#net 1.0 area 1 R2(config-router)#redistribute rip subnets On R3 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4 192.4 Subnet Mask 255.0 R4 Configuration Interface Loopback 0 S 0/0 Objective: Configure OSPF in a Multi-area configuration based on the network diagram.4.2 0.3. Make sure that everybody outside of Area 10 has reachability to external routes injected by the ASBR in Area 10 Configure OSPF between R2.1.com Khawarb@khawarb.0 R2(config-router)#net 192. Configure Area 10 as a NSSA Area’ to prevent External routes from the Backbone getting injected into it.0.4.3.

0.0.com Khawarb@khawarb.0 area 0 On R4 R4(config)#Router ospf 1 R4(config-router)#net 192.0 area 0 R3(config-router)#net 192.1.0.0.3.netscopeme.com Page 130 of 197 .0 area 0 R4(config-router)#redistribute connected subnets On R3 • Type SH IP ROUTE • Do you see External Routes from the ABR (R3) and from ASBR(R2)? Configure Area 10 as a NSSA area.0.34. Area 10 external routes should will be injected in a Type 7 routes in Area 10 and then converted back into Type when send into the Backbone area. This will stop the ABR from injecting the external routes from the backbone into Area 10.0.3 0.R3(config)#Router ospf 1 R3(config-router)#net 192.1.3 0.3. On R3 and R4 Rx(config)#router ospf 1 Rx(config-router)#area 10 nssa On R4 • Type SH IP ROUTE • Do you see any E routes? On R3 • Do you see any N routes? What type of LSA is the N routes? On R2 • Do you see any N routes? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 area 1 R3(config-router)#net 3.0.1.0.23.4 0.3 0.34.

0.0.netscopeme.0. 192.0 network? What type of route is it? • What does the ABR do with the N routes (LSA Type 7)? On R3 • Do you see the RIP routes (1.1.0.0) in the routing table? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 131 of 197 .12.com Khawarb@khawarb.• Do you still see the 4.0.

com Khawarb@khawarb.1.1.netscopeme.Lab 20 – Configuring NSSA – Stub Area (Builds on Lab 19) Objective: Configure Area 10 as a NSSA – Stub area to maintain reachability to the external routes from the Backbone.1 now? Copyrights Netscope FZ LLC 2007-2015 Website: http://www. On R4 • Can R4 ping 1.1.com Page 132 of 197 .1? Configure R3 to inject a default route into R4 by making Area 10 into a NSSA – Stub area R3(config)#Router ospf 1 R3(config-router)#area 10 nssa default-information-originate On R4 • Type SH IP ROUTE • Do you see a new N2 Default Route? • Can you Ping 1.1.

3.3 routes? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme.com Khawarb@khawarb.Lab 21 – Configuring NSSA – Totally Stubby Area (Builds on Lab 20) Objective: Configure Area 10 as a NSSA – Totally Stubby area to block the Inter-area routes as well from getting injected into Area 10. On R4 • Type SH IP ROUTE • Do you see the IA routes? • What if you want to cut your Routing table by blocking the Inter-area routes from getting injected into Area 10.3.2 and 3.2.com Page 133 of 197 .2. Configure Area 10 as a NSSA – Totally Stubby Area On R3 R3(config)#Router ospf 1 R3(config-router)#area 1 nssa no-summary On R4 • Type SH IP ROUTE • Do you still see Inter-Area routes in Area 10? • Can you still ping 2.

1.255.23.12.1.255.netscopeme.255.0.0 IP Address 2.0.0.0/24 Area 100 Area 10 L0 3.3 192.255.23.0.0/24 L0 2.0 255.0/24 E 0/0 (.0 – L1 4.2 192.3 192.2) 192.1.0.1.0/24 S 0/0 (.34.1 Subnet Mask 255.0 255.255.1.3.com Khawarb@khawarb.3) R3 R1 Configuration Interface Loopback 0 S 0/0 IP Address 1.0 – L1 3.com Page 134 of 197 .1.1.1.255.0/24 R1 S 0/0(.12.3) S 0/0(.1.1 192.1.0 255.1.0 255.2 Subnet Mask 255.23.1.1.0.0/24 S 0/0 (.1.1.1) R2 192.4) L0 4.0 IP Address 3.255.0 – L1 1.1.0.2.Lab 22 – Configuring a Virtual Link L0 1.34.1.0 R2 Configuration Interface Loopback 0 S 0/0 E 0/0 R3 Configuration Interface Loopback 0 E 0/0 S 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2) Area 0 E 0/0 (.255.1.0 255.3.2 192.1.12.0.2.1.0.1.0/24 R4 192.0 – L1 2.255.255.0.1.3 Subnet Mask 255.

4.255.1.4 192.3.R4 Configuration Interface Loopback 0 S 0/0 IP Address 4.0.2.1 0.2.0.3 0.2 0. Advertise all the interfaces in OSPF.1.3.0 area 0 R2(config-router)#net 2. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.3 0.netscopeme.0.3 0.255 area 10 On R3 R3(config)#Router ospf 1 R3(config-router)#router-id 3.34.12.0.0 area 10 R2(config-router)#net 192.1.0.4.1.23.1.0. On R1 R1(config)#Router ospf 1 R1(config-router)#net 1.0.3.2 R2(config-router)#net 192.0.0.0.0.0.1 0.4 Subnet Mask 255.0 Objective: Configure a Virtual-link between R2 and R3 to connect Area 100 to the Backbone area using Area 10 as the Transit Area for the Virtual Link Configure OSPF between R1 – R4 in the Appropriate Areas.0.12.0.3 R3(config-router)#net 192.2.2 0.3.2 0.34.23.0 255.4.0 area 100 On R4 R4(config)#Router ospf 1 R4(config-router)#net 192.com Khawarb@khawarb.2.0.1.1.1.0.0 area 100 R4(config-router)#net 4.0.0.4.0.0 area 10 R3(config-router)#net 192.0.com Page 135 of 197 .0.4 0.4 0.0 area 0 R1(config-router)#net 192.0.255.34.0 area 100 On R4 • Type SH IP ROUTE.0 area 10 R3(config-router)#net 3.0 area 0 On R2 R2(config)#Router ospf 1 R2(config-router)#router-id 2.

netscopeme.• Do you see all the routes ? • What is the reason behind the missing routes? Configure a Virtual Link between R2 and R3 to connect Area 100 to the Backbone area On R2 R2(config)#router ospf 1 R2(config-router)#area 10 virtual-link 3.3 On R3 R3(config)#router ospf 1 R3(config-router)#area 10 virtual-link 2.2.1.2 On R4  Type SH IP ROUTE  Can you all the routes from the backbone area?  Can you ping 1.com Page 136 of 197 .1? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.2.1.3.3.

Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 6 – BGP Penta CCIE # 12353 (R/S.Voice.com Page 137 of 197 .SP.com Khawarb@khawarb.netscopeme.Security.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

ISP)  An AS has multiple connections to other AS  The flow of traffic entering & leaving your AS must be manipulated SIZE OF AN INTERNET BGP ROUTER  > 30MB routing table  > 70.000 routes  > 6. using an IGP & common metrics to route packets within the AS.500 AS numbers WHEN NOT TO USE BGP (INSTEAD USE STATIC ROUTES)  A single connection to the Internet or other AS  Routing policy & route selection not a concern Copyrights Netscope FZ LLC 2007-2015 Website: http://www. DV Adv. DV Hierarchy Required Yes No No Metric Cost Composite Path Path Vectors or Attributes WHEN TO USE BGP  An AS allows packets to transit through it to reach other AS (for example. This type of AS is known as a Multihomed AS. and using an EGP to route packets to other AS Internet Assigned Numbers Authority (IANA) is responsible for allocating AS numbers AS number is a 16 bit number Range between 1 – 65535 64512 – 65535 reserved for private use like private IP addresses An autonomous system can be connected to more than one ISP.netscopeme.com Khawarb@khawarb.Border Gateway Protocol(BGP) FEATURES           Inter-domain routing protocol also known as EGP Latest version is 4 Defined in RFC 1771 Autonomous system is a set of routers under a single technical administration. BGP exchanges routes between AS in a loop free manner ROUTING PROTOCOL COMPARISON Protocol IGP/EGP DV/LS OSPF EIGRP BGP IGP IGP EGP LS Adv. This may be done for Redundancy or/and to increase performance through load balancing.com Page 138 of 197 .

com Khawarb@khawarb.com Page 139 of 197 .netscopeme. Lack of hardware requirements on the routers  Lack of understanding of route filtering & BGP path selection process  Low bandwidth between AS COMMAND SYNTAX FOR STATIC ROUTES  IP Route prefix mask {Address/Interface} [Distance] Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

flash updates Periodic keepalives to verify connectivity Rich metric (called path vectors or attributes) Extremely Scalable BGP routers contain two tables  IGP routing table  BGP routing table  Information can be exchanged  Peers/Neighbors – any two routers that have formed a TCP connection in order to exchange BGP routing information INTERNAL BGP  When BGP neighbors belong to the same AS  Neighbors do not have to be directly connected but need to be able to reach each other. POLICY BASED ROUTING  Administrators define policies or rules for how data will flow through the AS  BGP & associated tools cannot end-to-end policies. Incremental. protocol Runs on top of the TCP port 179 hence provides reliability.com Page 140 of 197 .  Neighbors should be directly connected  Used to connect different Autonomous Systems to each other.V. but not beyond it. EXTERNAL BGP  BGP neighbors belong to different AS and should be able to reach each other.  This is known as hop-by-hop routing paradigm BGP METRICS  Known as Path Attributes  Four Categories of Path Attributes  Well-Known Mandatory  Well-Known Discretionary  Optional Tranistive  Optional Non-Transitive WELL KNOW ATTRIBUTES  Recognized by al compliant BGP implementations Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Admins can only influence how our traffic to our neighboring AS.netscopeme.com Khawarb@khawarb.BGP Terminology        Advanced D.

netscopeme. the next hop attribute is carried along in the update. Propagated to other neighbors  Well-Known Mandatory attributes must be present in all update messages  Well-Known Discretionary attributes could be present in an update OPTIONAL ATTRIBUTES  Recognized by some implementation’s  Recognized optional attributes are propagated based on their meaning  Optional Transitive Attributes: If not recognized. OPTIONAL NON TRANSITIVE  Multi-Exit Discriminator (MED): Also known as Metric. OPTIONAL TRANSITIVE  Aggregator: Indicates the AS # and IP address of the Router that performed the Aggregation. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. They allow to filter incoming and outgoing routes. WELL KNOWN DISCRETIONARY  Local Preference: Send within the Local Autonomous System only. is send to external neighbors.com Khawarb@khawarb.  Community: Indicates the community that the route belongs to. They allow routers to make decisions based on the Community a route belongs to.  Origin: Indicates where the route information originated from. It uses an “i” to indicate that the route was learned from an IGP and “e” for a route learned from an EGP.com Page 141 of 197 . are marked as partial & propagated to other neighbors  Optional Non-Transitive Attributes: Discard if not recognized WELL KNOWN MANDATORY  AS Path: It identifies the autonomous systems through which routing information carried in this UPDATE message has passed. ADDITIONAL CISCO PROPERTY  Weight: Arbitrary number between 0 – 65535 which indicates to the router the preferred path to a given destination. Helps in route-selection policy and filtering traffic. When going from a EBGP neighbor to an IBGP neighbor.  Atomic Aggregate: Indicates that a summarized route has been send to the neighbor.  Next-Hop: It defines the IP address of the border router that should be used as the next hop to the destinations listed in the UPDATE message. Indicates to Local Routers which path to take to exit the AS. It indicates to the neighbor the preferred path into the AS.

0.0 (What networks to advertise) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.netscopeme. The Neighbor IP Address Weight Weight Command is used to set the Weight metric. it indicates that the BGP Routers are IBGP Peer’s or Neighbors Network 1. If the AS number is the same as your AS #.1.1.com Page 142 of 197 .0.1 remote-as 200) (The IP address of your BGP Peer and its AS #.com Khawarb@khawarb. Route Selection Decision Process           Highest Weight Highest Local Preference Route originated by the local router Shortest AS-Path Lowest Origin code ( IGP < EGP) Lowest MED from other AS EBGP over IBGP The Path through the closest IGP Neighbor Oldest route for EBGP Path with the lowest Neighbor BGP Router ID Basic BGP Configuration Router BGP 100 (Where 100 is the Autonomous system on this router) Neighbor 192.

 Route Reflectors modify BGP Spilt Horizon by allowing the router configured as the route reflector to propagate routes learned by IBGP to other IBGP Peers.2.com Khawarb@khawarb.1.Useful Commands Command SH IP BGP Clear IP BGP * Description Shows EGP Table Clear EGP Table Route Reflectors  BGP Split Horizon: Routes learned via IBGP are never propagated to other IBGP Peers.netscopeme.0 IOS Release  Prefix list can be used as an alternative to access lists in many BGP Route Filtering commands  You can use Show IP prefix-list detail command to see the prefix-list entries.2 prefix-list test out IP Prefix-list test seq 5 permit 172.  Full Mesh topology result in many BGP sessions being created.  In order to let IBGP routers to propagate routes within an Autonomous System it requires a Full Mesh Topology or Use Route Reflectors. This may result in a significant amount of increased traffic which is not feasible for slow WAN Links.0 / 8 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0 Neighbor 2.com Page 143 of 197 . Required to avoid Routing Loops.2.2.2 remote-as 200 Neighbor 2.2.168. Prefix List  New in Cisco 12.  Advantages include:  Significant Performance Improvement  Support for incremental modifications  More user-friendly command-line interface  Greater Flexibility Configuration Router BGP 100 Network 192.0.

netscopeme.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.SP.com Page 144 of 197 .com Khawarb@khawarb.Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 6 – BGP Labs Penta CCIE # 12353 (R/S.Security.Voice.

3) 192.4/8 L1 14.0/24 L0 2.2) L1 12.4.1.1/16 E 0/0 (.com Page 145 of 197 L1 13.1) R2 192.1/16 .1.1/16 L1 11.2) 192.1.2.1/8 S 0/0(.1.1.0.0.0/24 L0 3.Lab 1 – Connecting EBGP Physical Layout R1 L0 1.3) R4 R3 BGP Layout AS 1 AS 2 R2 R1 R4 R3 AS 4 AS 3 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2.netscopeme.2/8 S 0/0 (.com Khawarb@khawarb.1.3/8 S 0/0 (.1.34.0/24 S 0/0(.3.23.1.0.4.3.4) L0 4.1.0.1/16 E 0/0 (.12.

3.3 192.0 255.4 14.255.2 192.0. Hard-code the Router ID for the BGP routers as 11.1 192.255.1.255.255.0.255.255.4.12.1.255.0 255.0.0.0 255.12.0.com Page 146 of 197 .1 192.R1 Configuration Interface Loopback 0 Loopback 1 S 0/0 IP Address 1. Advertise the loopback networks in BGP.1.3 13.0.11.1 Subnet Mask 255.0 255.0. R1 should be in AS 1 and R2 should be in AS 2. Configure a BGP neighbor relationship between R1 and R2.255.0 IP Address 4.255.1.255.0 255.2.1 11.1.0.22 for R2.0.23.23.1 192.0.0.0 255.22.1.0 255.4.2 Subnet Mask 255.3.255.255.1.0.0 IP Address 2.0 IP Address 3.255.1.34.0.34.1.0 R2 Configuration Interface Loopback 0 Loopback 1 S 0/0 E 0/0 R3 Configuration Interface Loopback 0 Loopback 1 E 0/0 S 0/0 R4 Configuration Interface Loopback 0 Loopback 1 S 0/0 Objective: Configure E-BGP neighbor relationship between 4 Routers.1.0.2 12.0 255.0.2. On R1 R1(config)#Router bgp 1 R1(config-router)#no auto-summary R1(config-router)#no sync Copyrights Netscope FZ LLC 2007-2015 Website: http://www. You will also configure E-BGP neighbor relationships based on loopbacks.255.0 255.255.1 192.1.22.0.3 Subnet Mask 255.netscopeme.255.11 for R1 and 22.com Khawarb@khawarb.1.11.0 255.4 Subnet Mask 255.

22. Advertise the loopback network of R3 in BGP.44.23.0 R1(config-router)#neighbor 192.0 mask 255.netscopeme. R2 should already be configured in AS 2 and R3 should be in AS 3.0.11.0.255.1.11.1.255.0 R2(config-router)#network 12. Hard-code the Router ID for R3 as 33.33.1 remote-as 1 Configure a BGP neighbor relationship between R2 and R3.0 mask 255.11 R1(config-router)#network 1.22.0.0.1.22 R2(config-router)#network 2.2 remote-as 2 Configure a BGP neighbor relationship between R3 and R4. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.23.1. Do not advertise Loopback 0 in BGP.0 R2(config-router)#neighbor 192.33.44.3 remote-as 3 On R3 R3(config)#Router bgp 3 R3(config-router)#no auto-summary R3(config-router)#no sync R3(config-router)#bgp router-id 33. Hard-code the Router ID for R4 as 44.44.0.0 mask 255. Create static routes to reach the Loopback 0 of the other router.R1(config-router)#bgp router-id 11.0. Establish the neighbor relationship based on Loopback 0 addresses.12.1.0 R3(config-router)#neighbor 192.12.0.33.1. Advertise the loopback network of R4 in BGP.255.0 R1(config-router)#network 11.0.1.0. R# should already be configured in AS 3 and R4 should be in AS 4.33.com Page 147 of 197 .0.33 R3(config-router)#network 13.2 remote-as 2 On R2 R2(config)#Router bgp 2 R2(config-router)#no auto-summary R2(config-router)#no sync R2(config-router)#bgp router-id 22.com Khawarb@khawarb.33 On R2 R2(config)#Router bgp 2 R2(config-router)#neighbor 192.

0.255.3.255 192.4 ebgp-multihop On R4 R4(config)#ip route 3.4.4 remote-as 4 R3(config-router)#neighbor 4.3 255.0 mask 255.com Khawarb@khawarb.255 192.4 update-source loopback 0 R3(config-router)#neighbor 4.34.3 ebgp-multiphop Copyrights Netscope FZ LLC 2007-2015 Website: http://www.3.4 255.255.3.255.netscopeme.3.3.4.3 remote-as 3 R4(config-router)#neighbor 3.44 R4(config-router)#network 14.4.com Page 148 of 197 .4.0.1.4.3.255.4 R3(config)#Router bgp 3 R3(config-router)#neighbor 4.4.34.0 R4(config-router)#neighbor 3.On R3 R3(config)#ip route 4.44.1.255.3.3 R4(config)#Router bgp 4 R4(config-router)#no auto-summary R4(config-router)#no sync R4(config-router)#bgp router-id 44.3 update-source loopback 0 R4(config-router)#neighbor 3.4.3.4.1.44.

4.netscopeme.com Khawarb@khawarb.4.1.4 password cisco-34 On R4 R4(config)#Router bgp 4 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.3 password cisco-23 On R3 R3(config)#Router bgp 3 R3(config-router)#neighbor 192.1.com Page 149 of 197 .2 password cisco-23 Configure MD5 Authentication between R3 and R4 using a password of cisco-34 On R3 R3(config)#Router bgp 3 R3(config-router)#neighbor 4.1 password cisco-12 Configure MD5 Authentication between R2 and R3 using a password of cisco-23 On R2 R2(config)#Router bgp 2 R2(config-router)#neighbor 192.Lab 2 – BGP Neighbor MD5 Authentication (Builds on Lab 1) Objective: Configure BGP Authentication using MD5 between all the BGP peers. Configure MD5 Authentication between R1 and R2 using a password of cisco-12 On R1 R1(config)#Router bgp 1 R1(config-router)#neighbor 192.23.2 password cisco-12 On R2 R2(config)#Router bgp 2 R2(config-router)#neighbor 192.12.23.1.12.

netscopeme.com Page 150 of 197 .R4(config-router)#neighbor 3.com Khawarb@khawarb.3.3.3 password cisco-34 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

0.0. On R1 R1(config)#no router bgp 1 On R2 R2(config)#no router bgp 2 On R3 R3(config)#no router bgp 3 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.com Page 151 of 197 .0.0 on R3 and network 3. Configure Route Reflector to overcome the BGP split-horizon issue. Also. BGP Layout R3 AS 234 AS 1 R3 R1 R2 R4 Disable BGP on all 4 routers. delete the static routes for network 4.netscopeme.Lab 3 – Configuring Route Reflectors (Builds on Lab 2) Objective: Disable BGP from the previous lab and Re-configure it based on the new topology.0 on R4.com Khawarb@khawarb.

255.3 255.com Khawarb@khawarb.22.4.255 Configure a neighbor relationship between R1 and R2 based on the Logical diagram.3. Do not advertise the link between R1 and R2 in RIP.22 for R2.1.0.com Page 152 of 197 .0 R2(config-router)#network 12.1.255.4.22. On R2 R2(config)#Router RIP R2(config-router)#no auto-summary R2(config-router)#version 2 R2(config-router)#network 192.0.1 remote-as 1 Configure RIP V2 as the routing protocol within AS 234.12. Hard-code the Router ID for the BGP routers as 11.11.1.2 remote-as 234 On R2 R2(config)#Router bgp 234 R2(config-router)#no auto-summary R2(config-router)#no sync R2(config-router)#bgp router-id 22.11.R3(config)#no ip route 4.0 R1(config-router)#network 11.22 R2(config-router)#network 2.11.255 On R4 R4(config)#no router bgp 4 R4(config)#no ip route 3.0 mask 255.4 255.3.0.255.11 R1(config-router)#network 1.1. Only advertise the internal physical link in RIP on R2.0 R2(config-router)#neighbor 192.0 mask 255.22.255.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. On R1 R1(config)#router bgp 1 R1(config-router)#no auto-summary R1(config-router)#no sync R1(config-router)#bgp router-id 11.0.23.22.12.1.255.netscopeme.11.255.0 R1(config-router)#neighbor 192.0.0.0.11 for R1 and 22.0. Advertise the Loopback networks on both Routers. R3 and R4.

23.23.34.23. On R2 R2(config)#Router bgp 234 R2(config-router)#neighbor 192.0. Do not configure a neighbor relationship between R2 and R4.0.0 On R4 R4(config)#Router RIP R4(config-router)#no auto-summary R4(config-router)#version 2 R4(config-router)#network 192.1.23.1.34.0.255. R3 should have reachability towards R1 routes.2 remote-as 234 R3(config-router)#neighbor 192. Advertise the Loopback networks on R3 and R4 under BGP.0 R3(config-router)#network 13.0 mask 255.0 R3(config-router)#network 192.0 R3(config-router)#neighbor 192. configure R3 to propagate R2 routes to R4 by configuring it as a Route-Reflector server for R2 and R3.1.1.34.0.34.33 R3(config-router)#network 3.4 remote-as 234 R3(config-router)#neighbor 192.3 route-reflector-client R3(config-router)#neighbor 192.33.com Page 153 of 197 .On R3 R3(config)#Router RIP R3(config-router)#no auto-summary R3(config-router)#version 2 R3(config-router)#network 192.1.1.netscopeme.33. Accomplish this by using the Next-hop-self command on R2 towards R3.0 Configure neighbor relationships between R2 and R3 and another one between R3 and R4.1.23.3 next-hop-self On R3 R3(config)#Router bgp 234 R3(config-router)#no auto-summary R3(config-router)#no sync R3(config-router)#bgp router-id 33.1.3 remote-as 234 R2(config-router)#neighbor 192.com Khawarb@khawarb.1.4 route-reflector-client Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1. Also.

7.2.2.6.1 255.255.2.1/24 192.5.255.1 R2(config-if)#interface Loopback 5 R2(config-if)# ip address 192.2.2.1 R2(config-if)#interface Loopback 6 R2(config-if)# ip address 192.2.1 R2(config-if)#interface Loopback 8 R2(config-if)# ip address 192.255.0 255.com Khawarb@khawarb.1/24 192.1 R2(config-if)#interface Loopback 4 R2(config-if)# ip address 192.2.8.8.0 255.255.6.4.255.2.255.255.0 Advertise the newly created routes in BGP.255.0 255.3.2.1.5.1 R2(config-if)#interface Loopback 2 R2(config-if)# ip address 192.1/24 192.0 255.255.255.255.7.netscopeme. On R2 R2(config)#Route-map C-2-B permit 10 R2(config-route-map)#set origin igp Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2.1/24 192.255.3.2.2. Redistribute the directly connected networks into BGP.0 255.2.2.com Page 154 of 197 .2.255.1 R2(config-if)#interface Loopback 7 R2(config-if)# ip address 192.1 R2(config-if)#interface Loopback 3 R2(config-if)# ip address 192.1/24 On R2 R2(config)#interface Loopback 1 R2(config-if)# ip address 192.255. These routes should have an origin code of “igp”.2.1.255.2.1/24 192.255.Lab 4 – Route Filtering using Distribute List with ACL’s (Builds on R3) Objective: Configure Route Filtering using Distribute Lists with ACL’s Create the following Loopbacks on R2 Loopback Loopback Loopback Loopback Loopback Loopback Loopback Loopback 1 2 3 4 5 6 7 8 – – – – – – – – 192.0 255.0 255.1/24 192.4.1/24 192.2.

0 routes that have an odd number in the third octet from propagating outside the local AS.com Khawarb@khawarb.0 routes that have an even number in the third octet from coming in.2.0 0.0.254.1 distribute-list 1 out Configure R4 such that it blocks all the 192. Use the distribute-list command to accomplish this task.netscopeme.12.255 R2(config)#access-list 1 permit any R2(config)#router bgp 234 R2(config-router)#neighbor 192.R2(config-route-map)#router bgp 234 R2(config-router)#redistribute connected route-map C-2-B Configure R2 such that it blocks all the 192. On R4 R4(config)#access-list 1 deny 192.255 R4(config)#access-list 1 permit any R4(config)#router bgp 234 R4(config-router)#distribute-list 1 in Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Make sure that even if in the future that a neighbor relationship is established between R2 and R4 these routes don’t come into R4.2.1. Use the distribute-list command to accomplish this task.2.X.1.X.254.0 0.0.0. On R2 R2(config)#access-list 1 deny 192.com Page 155 of 197 .2.

255.1/20 150.255.1 255.255.3.3.255.0 R3(config-if)#interface Loopback 5 R3(config-if)# ip address 150.3.255.1 255.3.65.com Page 156 of 197 .16.240.1/22 150.0 mask 255.0 R3(config-if)#interface Loopback 2 R3(config-if)# ip address 150.50.0 R3(config-if)#interface Loopback 3 R3(config-if)# ip address 150.255.252.40.0 R3(config-if)#interface Loopback 7 R3(config-if)# ip address 150.1/18 On R3 R3(config)#interface Loopback 1 R3(config-if)# ip address 150.1 255.65.252.netscopeme.252.255.3.0 R3(config-if)#interface Loopback 6 R3(config-if)# ip address 150.40.255.0 R3(config-router)#Network 150.3.3.0 R3(config-router)#Network 150.0.240.64.0 mask 255.255.1/23 150.252.36.192.40.255.0 mask 255.64.3. On R3 R3(config)#Router bgp 234 R3(config-router)#Network 150.3.Lab 5 – Route Filtering using Prefix-List (Builds on R4) Objective: Configure Route Filtering using Prefix-list.255.13.1 255.0 Advertise the newly created routes in BGP using the Network command.3.0.3.0 R3(config-if)#interface Loopback 4 R3(config-if)# ip address 150.13.1 255.0.3.50.1/16 150.254.0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.1/24 150.14.16.1 255.1 255.36.14. Create the following Loopbacks on R3 Loopback Loopback Loopback Loopback Loopback Loopback Loopback 1 2 3 4 5 6 7 – – – – – – – 150.36.3.1/22 150.16.

3.0 mask 255.0/0 le 32 R2(config)#Router bgp 234 R2(config-router)#Neighbor 192.192.0.0/8 ge 17 le 23 R2(config)#IP Prefix-list PLIST permit 0.65.com Page 157 of 197 .14.0 routes that have a subnet mask between 17 and 23 bits.com Khawarb@khawarb.0.0 mask 255.0 Configure R2 such that it blocks all the 150.0.255.X. On R2 R2(config)#IP Prefix-list PLIST deny 150.50.0 150.254.64.13.X.0 150.255.netscopeme.3.1.255.3 prefix-list PLIST in Copyrights Netscope FZ LLC 2007-2015 Website: http://www.23.0 mask 255.R3(config-router)#Network R3(config-router)#Network R3(config-router)#Network R3(config-router)#Network 150.0.0 150.0.255.

Lab 6 – Configuring MED Physical Layout R1 R2 192.1/8 L0 2.1.1.23.2.1) S 0/0 (.netscopeme.1.4) 192.4.1.0/24 S 0/0(.0/24 E 0/0 (.com Page 158 of 197 .1) 192.2) E 0/0 (.3) E 0/0 (.4) L0 3.2/8 E 0/0 (.14.3) R4 R3 BGP Layout R2 AS 1 AS 234 R3 R1 R4 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.4/8 S 0/0(.2.34.1.1.3.0/24 192.4.3.12.3/8 L0 4.2) L0 1.0/24 S 0/0 (.com Khawarb@khawarb.

12. Use MED to control incoming traffic into AS 234.0.1.255.0.0 255.1 Subnet Mask 255.1.0.1.0 On R3 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.1.2 192.1.1 192.0 255.0 255.12.23.1.0. On R2 R2(config)#Router RIP R2(config-router)#Version 2 R2(config-router)#No auto-summary R2(config-router)#Network 192.1 192.1.255.1.255.255. Advertise the directly connected links under RIP.0 255.23.0) or the Loopbacks in RIP.3 192.0 255. Run RIP V2 as the IGP in AS 234.4.0.34.3 Subnet Mask 255.1.34.0 R2 Configuration Interface Loopback 0 S 0/0 E 0/0 R3 Configuration Interface Loopback 0 E 0/0 S 0/0 R4 Configuration Interface Loopback 0 S 0/0 E 0/0 Objective: Configure BGP in 2 AS’s (1 and 234).255.255.0.2.1.3. Do not advertise the external links (192.1.12.255.2.1.0.0 255.14.2 Subnet Mask 255.255.255. 192.255.R1 Configuration Interface Loopback 0 S 0/0 E 0/0 IP Address 1.0 IP Address 3.3 192.255.netscopeme.14.3.4 192.0.1.14.4 192.4.23.4 Subnet Mask 255.com Page 159 of 197 .2 192.com Khawarb@khawarb.255.0 IP Address 4.255.255.0 IP Address 2.0 255.0 255.255.255.

1 remote-as 1 R2(config-router)#Neighbor 192.0 R2(config-router)#Neighbor 192.com Page 160 of 197 .1.1.14.1.1.12.23. Make sure the 1.0 On R4 R4(config)#Router RIP R4(config-router)#Version 2 R4(config-router)#No auto-summary R4(config-router)#Network 192. On R1 R1(config)#Router BGP 1 R1(config-router)#No auto-summary R1(config-router)#No sync R1(config-router)#Network 1.R3(config)#Router RIP R3(config-router)#Version 2 R3(config-router)#No auto-summary R3(config-router)#Network 192.23.0 R1(config-router)#Neighbor 192. Configure the Neighbor relationships also based on the Logical diagram.netscopeme.com Khawarb@khawarb.1.0. Also make sure that Routes from R2 are getting propagated to R4 and vice versa using Route-reflectors.0 Configure the routers under BGP based on the Logical diagram.1.0.4 remote-as 234 On R2 R2(config)#Router BGP 234 R2(config-router)#No auto-summary R2(config-router)#No sync R2(config-router)#Network 2.0.1.2 remote-as 234 R1(config-router)#Neighbor 192.0 gets put into the routing table of R3.23.0 R3(config-router)#Network 192.34.0.0. Advertise Loopback 0 Networks on all routers under BGP.34.3 remote-as 234 R2(config-router)#Neighbor 192.1.3 next-hop-self On R3 R3(config)#Router BGP 234 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.12.

23.12.com Page 161 of 197 .1.1.2 R3(config-router)#Neighbor 192.0 R3(config-router)#Neighbor 192.1.23.2 R3(config-router)#Neighbor 192.0.netscopeme.1 route-map SETMED out Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb. On R2 R2(config)#Route-map SETMED permit 10 R2(config-route-map)#Set metric 100 R2(config-route-map)#exit R2(config)#Router BGP 234 R2(config-router)#Neighbor 192.R3(config-router)#No auto-summary R3(config-router)#No sync R3(config-router)#Network 3.1.34. Configure the MED on R2 to 100.4 remote-as 234 route-reflector-client remote-as 234 route-reflector-client All ingress (incoming) traffic to AS 234 should use the path thru R4 using the MED attribute.34.0. Lower MED will be preferred. R4’s MED is 0 by default.1.4 R3(config-router)#Neighbor 192.

1 route-map SETLP in Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 162 of 197 . Configure AS 234 such that all traffic destined for AS 1 should go through R2 in the outbound direction.1.netscopeme.Use Local-Preference Attribute to accomplish this.Lab 7 – Setting Local Preference (Builds on Lab 6) Objective: Controlling outgoing traffic using Local Preference. On R2 R2(config)#Route-map SETLP permit 10 R2(config-route-map)#Set Local-preference 200 R2(config-route-map)#exit R2(config)#Router BGP 234 R2(config-router)#Neighbor 192.com Khawarb@khawarb.12.

0.netscopeme.0 should go directly to R1 instead of going thru R2 as it has a higher Local Preference for the AS.1.0 0.Lab 8 – Setting Cisco Weight Attribute (Builds on Lab 7) Objective: Controlling outgoing traffic on the local router without affecting the rest of the AS.com Khawarb@khawarb.0.0.0.255.14. On R4 R4(config)#Access-list 1 permit 1.1 route-map SETWT in Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Configure R4 such that all traffic destined for network 1.255.com Page 163 of 197 .255 R4(config)#Route-map SETWT permit 10 R4(config-route-map)#Match address 1 R4(config-route-map)#Set weight 5000 R4(config-route-map)#Route-map SETWT permit 20 R4(config-route-map)#exit R4(config)#Router BGP 234 R4(config-router)#Neighbor 192.

Security.Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 7 – Additional Topics Penta CCIE # 12353 (R/S.Voice.netscopeme.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.com Page 164 of 197 .SP.

By default. a router will drop the broadcast packet. Multiple Servers on Multiple Remote Media: Two servers on two separate Networks. Command Syntax: IP helper-address Address Copyrights Netscope FZ LLC 2007-2015 Website: http://www.Additional Topics IOS DHCP Server • Allows a Cisco Router to Assign IP Configuration information Command Syntax: Router(config)#IP dhcp pool pool name Router(dhcp-config)#network network address /Prefix mask Router(dhcp-config)#default-router Router’s Address Router(dhcp-config)#netbios-name-server Name Server Address Router(dhcp-config)#netbios-node-type Node-type Router(dhcp-config)#dns-server Dns Server Address Router(dhcp-config)#lease Days hours minutes Router(config)#ip dhcp excluded-address Low-address High-address Helper Addresses • If a client needs to reach a server and does not know the server’s address the client uses a broadcast to find the server’s address. either of the same type or different types. Helper addresses allow connectivity by forwarding these broadcasts as unicast packets Server Locations Single Server on a Single Remote Network: Clients need to connect to only one server on a Remote Network.com Page 165 of 197 .netscopeme. Multiple Servers on a Single Remote Networks: Multiple servers on the Remote Network.com Khawarb@khawarb.

com Khawarb@khawarb. • Route Maps are like Complex Access Lists • You have Lines in Access Lists and Statements in Route Maps • You assign an Access List a Number whereas a Route Map is assigned a Name • You have Addresses and Inverse Masks in Access Lists whereas you have Match Statements in a Route Map. • It also changes the destination address from broadcast to unicast or directed address.com Page 166 of 197 .• Enables forwarding and specifies destination address for main UDP broadcast packets.netscopeme. • Unlike Access Lists Route Maps can be edited without reentering the whole Access Lists. • Route Maps can modify matched route with set command Copyrights Netscope FZ LLC 2007-2015 Website: http://www. • Like an Access List. forwards the following UDP ports:  TFTP (69)  DNS(53)  Time(37)  NetBIOS Name Service(137)  NetBIOS datagram Service(138)  BOOTP(67)  BOOTP(68)  TACACS(49)  IP Forward-protocol {udp | [port] | • • Specifies which protocols will be forwarded • No would allow you to disable the default protocol(s) from being forwarded Route Maps • Route maps can be used for both Redistribution and for Policy Routing. By default. there is an “Implicit deny any” at the end of a route map.

netscopeme.com Khawarb@khawarb.com Page 167 of 197 .Command Syntax: • Route-map map name [permit | deny] Sequence Number Route-map is the command Map name is the name of the route tag Permit | deny The action to be taken if the route map match conditions are met Sequence Number Indicates the position a new route map in the list of route map • Match ip address {access-list-number } {…access-list-number} • Match length min max • Set ip next-hop ip address [Defines next hop to which output packets] • Set interface Type / Number [Defines interface to which output packets] Policy Routing • Applied to incoming packets • Uses Route maps to define criteria • Policy based routing allows a network administrator to determine and implement routing policies to allow or deny paths based on the following:   The identity of a particular end system The size of the packets Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

Cisco Certified Network Professional (CCNP) – Route Lab Manual Authored By: Khawar Butt Module 7 – Additional Topics Labs Penta CCIE # 12353 (R/S.netscopeme.Storage) Copyrights Netscope FZ LLC 2007-2015 Website: http://www.SP.com Page 168 of 197 .com Khawarb@khawarb.Security.Voice.

1) R2 192.1 255. Create a pool for the 192.1.netscopeme.11.12. R1 Basic Configuration R1(config)#int S 0/0 R1(config-if)#ip addr 192.com Page 169 of 197 .1.11.11.254.1. Configure R1 as a DHCP Server.1.255.0/24 S 0/0 (.11.22.1) 192.12.1.0/24 network.1) E 0/0(.1.0/24 Objective: Configure a Routers as a DHCP Server and assign IP Configurations to local and remote subnets.255. Use a lease time of 3 and a half days.1 255. Configure a Router to forward broadcast from remote subnets to a DHCP Server.11.11.0 R1(config-if)#clock rate 128000 R1(config-if)#no shut R1(config-if)#exit R1(config)#int E 0/0 R1(config-if)#ip addr 192.1. The pool should start giving addresses from 192.1 as the default gateway and 192.0/24 192.255.11 – 192.255.Lab 1 – IP Helper Addresses R1 S 0/0(.1.0 R1(config-if)#no shut R1(config-if)#exit R1(config-if)#Router RIP R1(config-router)#version 2 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2) E 0/0(.com Khawarb@khawarb. It should assign 192.11.1.5 as the DNS Server.1.

1.255.1.255.1.0 R2(config-router)#network 192.10 R1(config)#IP dhcp pool DEF R1(dhcp-config)#network 192.22.255.5 R1(dhcp-config)#lease 3 12 R1(dhcp-config)#exit Objective: Also.1.1.0 /24 R1(dhcp-config)#default-router 192.11.11. It should assign 192.11.1.1.0 R1(config-router)#network 192.1.1.2 255.5 R1(dhcp-config)#lease 3 12 R1(dhcp-config)#exit Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.com Khawarb@khawarb.5 as the DNS Server. The pool should start giving addresses from 192.12.1.0 R2(config-if)#no shut R2(config-if)#int E 0/0 R2(config-if)#ip addr 192.1.1.1 R1(dhcp-config)#dns-server 192.22.22.0 R1 DHCP Configuration R1(config)#ip dhcp excluded-address 192. configure R1 as a DHCP Server for the 192.22.com Page 170 of 197 .R1(config-router)#no auto-summary R1(config-router)#network 192.22.netscopeme.11.11.22. R1 DHCP Configuration R1(config)#ip dhcp excluded-address 192.22.254.22.22.12.1 192.1 192.1.255.22.0 R2(config-if)#no shut R2(config-if)#Router RIP R2(config-router)#version 2 R2(config-router)#no auto-summary R2(config-router)#network 192.10 R1(config)#IP dhcp pool ABC R1(dhcp-config)#network 192.0/24 network.1.1.1.1.1 as the default gateway and 192.0 R2 Basic Configuration R2(config)#int S 0/0 R2(config-if)#ip addr 192. Use a lease time of 3 and a half days.22.12.11.1 255.1.1 R1(dhcp-config)#dns-server 192.1.22.11 – 192.0 /24 R1(dhcp-config)#default-router 192. Make sure R2 forwards the DHCP requests to R1 DHCP.1.

12.R2 Broadcast Forwarding configuration R2(config-if)#ip helper-address 192.com Khawarb@khawarb.com Page 171 of 197 .1 R2(config-if)#no shut R2(config-if)#exit PC Configuration • Configure your PC to obtain an IP Address automatically in either Network Neighborhood (Windows NT) or My Network Places (Windows 2000) • Open a Command prompt • Type IPCONFIG /ALL. • Make sure the addresses are not from the excluded range Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1. • Check the Addresses against the addresses assigned by the IOS DHCP Server.netscopeme.

0/24 E 0/0 (.0 255.2 192.3.2 192.1.1.12.3) L0 3.1.2.0 IP Address 2.2) L0 2.255.2.2) S 0/1 (.0 IP Address 3.1.0.255.255.255.1/8 S 0/1(.1.1.12.3 192.0 255.com Khawarb@khawarb.1 Subnet Mask 255.2/8 E 0/0 (.2.12.1.23.255.112.1.1.0 255.1.2) 192.0.3/8 R3 R1 Configuration Interface Loopback 0 S 0/0 S 0/1 IP Address 1.2.1.2 192.255.112.0.255.2 Subnet Mask 255.3.1 192.255.23.255.0.1 192.1) 192.1.0/24 L0 1.255.netscopeme.0.23.112.1) 192.3.com Page 172 of 197 .0 255.0.Lab 2 – Policy Based Routing R1 S 0/0(.255.0/24 R2 S 0/0 (.3 Subnet Mask 255.0 255.0 R2 Configuration Interface Loopback 0 S 0/0 E 0/0 S 0/1 R3 Configuration Interface Loopback 0 E 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0 255.1.3.255.

Advertise all the networks in EIGRP.1.0 On R2.0 R1(config-router)#net 192. you want to send all traffic with a Source network address of 3.0 R1(config-router)#net 192.0 through S 0/0 and any other traffic thru S 0/0. Advertise all the links including the loopbacks in EIGRP.0.1.0.0 R3(config-router)#net 192. On R1 R1#conf t R1(config)#Router eigrp 1 R1(config-router)#net 1.netscopeme. Use Policy-based Routing to override the default behavior of the routing protocol to a specified policy.com Khawarb@khawarb.1.0.1.255 R2(config)#route-map PBR permit 1 R2(config-route-map)#match ip address 1 R2(config-route-map)#set interface S 0/0 R2(config-route-map)#exit R2(config)#route-map PBR permit 2 R2(config-route-map)#set interface S 0/1 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.112.0.23.12.0 0.0.0.0 R2(config-router)#net 192.1. On R2 R2(config)#access-list 1 permit 3.0.255.255.0.Objective: Configure EIGRP on the network.0.23.12.com Page 173 of 197 .1.0.0 R2(config-router)#net 192.0 On R2 R2#conf t R2(config)#Router eigrp 1 R2(config-router)#net 2. Configure EIGRP as the routing protocol in AS 1.112.0 R2(config-router)#net 192.0 On R3 R3#conf t R3(config)#Router eigrp 1 R3(config-router)#net 3.

Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Page 174 of 197 .com Khawarb@khawarb.1.3.1.1.3.3.3. • Notice all traffic from R3 with a source address of 3.1. • Ping 1.1.3.1 when R3 sends the ping).netscopeme.1 • Notice all traffic goes through S 0/1. On R3 • Type Ping 1.R2( config-route-map)#exit R2(config)#int E0/0 R2(config-if)#ip policy route-map PBR On R2 Type Debug ip packet (Look for the interface used to send the packet to 1.3 goes through S 0/0.1.1 with the source of 3.

0/24 R3 R1 Configuration Interface Loopback 0 S 0/0 IP Address 10.255.0 IP Address 2.0.3) L0 192.2) L0 2.0.3 Subnet Mask 255.1) 192.0 IP Address 192.1.0/24 network behind R3.12.1 192.168.0.255.255.0 255.168.0 255.1.255.2 Subnet Mask 255.0/24 R2 S 0/0 (.0 R2 Configuration Interface Loopback 0 S 0/0 E 0/0 R3 Configuration Interface Loopback 0 E 0/0 Objective: Configure a GRE Tunnel to route between the 10.0.168.2) 192.1.netscopeme.0.0.2.0/8 network behind R1 and the 192.1.0/24 E 0/0 (.255.1.255.255. R2 is simulating the Internet.12.Lab 3 – GRE with RIP R1 L0 10.2.23.2 192.23.255.1/8 S 0/0(.0.com Page 175 of 197 .23.12.0 255.1. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.255.0 255.2.com Khawarb@khawarb.2 192.1.0.255.2/8 E 0/0 (.1 Subnet Mask 255.0.1.2.1.1 192.0.

3 R3(config-if)#tunnel destination 192.3 255.com Khawarb@khawarb.netscopeme.0. The GRE Tunnel should be Authenticated.2 Configure a GRE Tunnel from R1 to R3. Use a RFC 1918 network for the Tunnel Interface.3 R1(config-if)#tunnel key 1234 On R3 R3(config)#interface Tunnel13 R3(config-if)#ip address 172.1.0.com Page 176 of 197 .0.0 R1(config-if)#tunnel source 192.Configure Default routes on R1 and R3 towards R2.23.0.1.16.1.0.0 R1(config-router)#network 172.0 0.0.255.0.1.1 255.12.0 0.0 192.1.23.23.1.1 R1(config-if)#tunnel destination 192.12.0.0. On R1 R1(config)#interface Tunnel13 R1(config-if)#ip address 172. On R1 R1(config)#ip route 0.12.1 R3(config-if)#tunnel key 1234 Run RIP as a routing protocol over a GRE tunnel so that the Private networks of the company are seen on R1 and R3. R2 is simulating the ISP Router and the Internet.2 On R3 R3(config)#ip route 0. On R1 R1(config)#router rip R1(config-router)#version 2 R1(config-router)#network 10.0 192.0 R3(config-if)#tunnel source 192.0.0 R1(config-router)#no auto-summary Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.0.0.255.16.0.16.0.

• Are you successful?? Does R2 have reachability to the 10.0.168.com Page 177 of 197 .0.1.1 with the source of 10.1.0. • What is the Routing Source? • On R1.On R3 R3(config)#router rip R3(config-router)#version 2 R3(config-router)#network 192.com Khawarb@khawarb.0 R3(config-router)#network 172. Do you see the private networks from each other.1.1.0 or 192. Ping 192.netscopeme.0.0 networks? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.168.16.0.168.0 R3(config-router)#no auto-summary On R1 and R3 • Type Show IP route.

1.1.com Page 178 of 197 . On R1 R1(config)#access-list 121 permit ip 10.2.255.0.1.1.0.1.1.80 255.1.255 any R1(config)#ip nat pool DP 195.0.0. Use the range 195.1 – 195.1.251 R1(config)#interface Loopback 0 R1(config-if)#ip address 10.80.0 192.250 for the pool.1. The internal web server is at 10.1. Configure R2 to route all packets destined for this network towards R1.254 R1(config)#ip nat inside source list 121 pool DP R1(config)#interface Loopback0 R1(config-if)#ip nat inside R1(config-if)#interface S0/0 R1(config-if)# ip nat outside R1 should use 195.0. Configure a secondary address of 10.1.80 on the loopback address to test this configuration.251 for its Web Server so that people on the outside can access it.1 195.0.0.0 secondary On R1 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1.1.0.255.0.80 195. On R2 R2(config)#ip route 195.1.0.com Khawarb@khawarb.255.1 Translate the 10.0.0 255.12.0/24 network.1.1.255.2.0.0.0. On R1 R1(config)#ip nat inside source static 10.Lab 4 – NAT (Builds on Lab 3) Objective: Configure NAT and PAT on R1 and R3 to route traffic from the private networks to the Internet (R2 – 2.0 0. ISP (R2) assigns R1 a public range of 195.0 Network behind R1 into a range of Class C addresses assigned to R1 by the ISP.1.netscopeme.2).

34 53 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0.33 195. Ping 2.252 192.32/30 subnet.1.5 and a DNS server at 192.34 on the outside.255.168. Do you see the Dynamic translation done for the 10. On R3 R3(config)#ip nat inside source static tcp 192.2 with the source of 10.1.1.0.1.1.2.6 80 195. Use Static PAT to accomplish this task.1.23.168.1. • Ping 195.1.34 80 R3(config)#ip nat inside source static udp 192.33 address (PAT).6.1.1. • Are you successful? • Type Show IP nat translations. The entire should be able to go out simultaneously using this address.168. Do you see the static translation already present in the translation table.1.• Type Show IP nat translations.0.3.3.1.1.168.com Khawarb@khawarb.3 Translate the 192.168.3.1.0. On R3 R3(config)#access-list 121 permit ip 192.0.168. Translate these servers to 192. Are you successful? • On R1.1? ISP (R2) assigns R3 a public range of 195.1.2.1.168.1.1.1.1 as 195.1.1.0 0.0 Network behind R3 using the 195.252 from R2.33 R3(config)#ip nat inside source list 121 pool DP overload R3(config)#interface Loopback0 R3(config-if)#ip nat inside R3(config-if)#interface E 0/0 R3(config-if)# ip nat outside There is a web server at 192.255 any R3(config)#ip nat pool DP 195.1.32 255.255.5 80 195.0. Configure R2 to route all packets destined for this network towards R3 On R2 R2(config)#ip route 195.3.1.netscopeme.com Page 179 of 197 .

1.1. • On R3.168.netscopeme. Do you see the Dynamic translation done? Copyrights Netscope FZ LLC 2007-2015 Website: http://www.2.On R3 • Type Show IP nat translations. • Are you successful? • Type Show IP nat translations.com Khawarb@khawarb.2. Do you see the static translation already present in the translation table.com Page 180 of 197 . Ping 2.2 with the source of 192.

com Khawarb@khawarb. Enable IPv6 routing on R1.1 2000:192:1:34::/64 Lo 0 E 0/0 Lo 0 E 0/0 R4 R3 Objective: Configure IPv6 on the Routers.netscopeme.R2. Assign IPv6 addresses to the E 0/0 interface of the routers as follows: • • • • R1 R2 R3 R4 – – – – 2001:1:1:12::1 2001:1:1:12::2 2001:1:1:34::3 2001:1:1:34::4 /64 /64 /64 /64 On R1 R1(config)#ipv6 unicast-routing R1(config)#Interface E 0/0 R1(config-if)#ipv6 address 2001:1:1:12::1/64 R1(config-if)#no shut On R2 R2(config)#ipv6 unicast-routing R2(config)#Interface E 0/0 R2(config-if)#ipv6 address 2001:1:1:12::2/64 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. R3 and R4.Lab 5 – Configuring IPv6 with RIPng R1 Lo 0 R2 E 0/0 Lo 0 E 0/0 S 0/0.com Page 181 of 197 . Run RIPng to route between the networks.1 2000:192:1:12::/64 Frame 2000:192:1:23::/64 S 0/0.

com Page 182 of 197 .netscopeme.R2(config-if)#no shut On R3 R3(config)#ipv6 unicast-routing R3(config)#Interface E 0/0 R3(config-if)#ipv6 address 2001:1:1:34::3/64 R3(config-if)#no shut On R4 R4(config)#ipv6 unicast-routing R4(config)#Interface E 0/0 R4(config-if)#ipv6 address 2001:1:1:34::4/64 R4(config-if)#no shut Configure the Loopback0 interface on all routers using the auto-assigned addresses as follows: • • • • R1 R2 R3 R4 – – – – Loopback0 Loopback0 Loopback0 Loopback0 – – – – 2001:1:1:1::/64 2001:2:2:2::/64 2001:3:3:3::/64 2001:4:4:4::/64 On R1 R1(config)#Interface Loopback 0 R1(config-if)#ipv6 address 2001:1:1:1::/64 eui-64 On R2 R2(config)#Interface Loopback 0 R2(config-if)#ipv6 address 2001:2:2:2::/64 eui-64 On R3 R3(config)#Interface Loopback 0 R3(config-if)#ipv6 address 2001:3:3:3::/64 eui-64 On R4 R4(config)#Interface Loopback 0 R4(config-if)#ipv6 address 2001:4:4:4::/64 eui-64 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.

On R2 R2(config)#Interface S 0/0 R2(config-if)#encap frame-relay R2(config-if)#no shut R2(config-if)#interface S 0/0. 0/0.com Khawarb@khawarb.Configure Frame-relay between R2 and R3 using the folloing IPV6 addresses: • R2 – 2001:1:1:23::2/64 • R3 – 2001:1:1:23::3/64 Ensure that the routers can ping each other’s serial interface.netscopeme. 0/0. 0/0.1 point-to-point R3(config-subif)#ipv6 address 2001:1:1:23::3/64 R3(config-subif)#frame-relay interface-dlci 302 Configure RIPng on all routers to route all loopbacks. Enable RIPng under the following interfaces: R1 R2 R3 R4 – – – – E E E E 0/0. S 0/0.1 point-to-point R2(config-subif)#ipv6 address 2001:1:1:23::2/64 R2(config-subif)#frame-relay interface-dlci 203 On R3 R3(config)#Interface S 0/0 R3(config-if)#encap frame-relay R3(config-if)#no shut R3(config-if)#interface S 0/0. Loopback Loopback Loopback Loopback 0 0.1 0.1 0 On R1 R1(config)#Interface Loopback0 R1(config-if)#ipv6 rip 1234 enable R1(config-if)#Interface E 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Use a suninterface on R2 and R3 for the Frame relay configuration. S 0/0.com Page 183 of 197 . Also allow R2 and R3 to ping their own IP addresses.

com Page 184 of 197 .1 R2(config-if)#ipv6 rip 1234 enable On R3 R3(config)#Interface Loopback0 R3(config-if)#ipv6 rip 1234 enable R3(config-if)#Interface E 0/0 R3(config-if)#ipv6 rip 1234 enable R3(config-if)#Interface S 0/0. • Ping these address from each router to ensure connectivity.R1(config-if)#ipv6 rip 1234 enable On R2 R2(config)#Interface Loopback0 R2(config-if)#ipv6 rip 1234 enable R2(config-if)#Interface E 0/0 R2(config-if)#ipv6 rip 1234 enable R2(config-if)#Interface S 0/0.com Khawarb@khawarb.1 R3(config-if)#ipv6 rip 1234 enable On R4 R4(config)#Interface Loopback0 R4(config-if)#ipv6 rip 1234 enable R4(config-if)#Interface E 0/0 R4(config-if)#ipv6 rip 1234 enable On All Routers • Type Show IPv6 Route rip. Do you see all the IPv6 routes learned thru RIPng? • Find out the Interface IP addresses of the Loopbacks by typing Show IPv6 Interface Brief.netscopeme. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

Lab 6 – Configuring OSPF V3 (Builds on Lab 5) Objective: Configure OSPFv3 as the routing protocol to connect the Loopback networks.com Page 185 of 197 . Disable RIP NG on all routers on all interfaces. On R1 R1(config)#Interface Loopback 0 R1(config-if)#No ipv6 rip 1234 enable R1(config-if)#Interface E 0/0 R1(config-if)#No ipv6 rip 1234 enable On R2 R2(config)#Interface Loopback 0 R2(config-if)#No ipv6 rip 1234 enable R2(config-if)#Interface E 0/0 R2(config-if)#No ipv6 rip 1234 enable R2(config-if)#Interface S 0/0.1 R2(config-if)#No ipv6 rip 1234 enable On R3 R3(config)#Interface Loopback 0 R3(config-if)#No ipv6 rip 1234 enable R3(config-if)#Interface E 0/0 R3(config-if)#No ipv6 rip 1234 enable R3(config-if)#Interface S 0/0.com Khawarb@khawarb.netscopeme.1 R3(config-if)#No ipv6 rip 1234 enable On R4 R4(config)#Interface Loopback 0 R4(config-if)#No ipv6 rip 1234 enable R4(config-if)#Interface E 0/0 R4(config-if)#No ipv6 rip 1234 enable Configure the routers in OSPFv3 area 0 and advertise their directly connected interfaces in this area Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

On R1 R1(config)#IPv6 router ospf 1 R1(config-router)#router-id 1.1.2 R2(config-router)#Interface Loopback 0 R2(config-if)#ipv6 ospf 1 area R2(config-if)# Interface E 0/0 R2(config-if)#ipv6 ospf 1 area R2(config-if)# Interface S 0/0.1 R3(config-if)#ipv6 ospf 1 area On R4 R4(config)#IPv6 router ospf 1 R4(config-router)#router-id 4.1.3.3.2.2.4.3 R3(config-router)#Interface Loopback 0 R3(config-if)#ipv6 ospf 1 area R3(config-if)# Interface E 0/0 R3(config-if)#ipv6 ospf 1 area R3(config-if)# Interface S 0/0.4.netscopeme.com Khawarb@khawarb.1 R2(config-if)#ipv6 ospf 1 area On R3 R3(config)#IPv6 router ospf 1 R3(config-router)#router-id 3.1 R1(config-router)#Interface Loopback 0 R1(config-if)#ipv6 ospf 1 area R1(config-if)# Interface E 0/0 R1(config-if)#ipv6 ospf 1 area On R2 R2(config)#IPv6 router ospf 1 R2(config-router)#router-id 2.com Page 186 of 197 .4 R4(config-router)#Interface Loopback 0 R4(config-if)#ipv6 ospf 1 area R4(config-if)# Interface E 0/0 R4(config-if)#ipv6 ospf 1 area Copyrights Netscope FZ LLC 2007-2015 Website: http://www.

com Page 187 of 197 . Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb. Do you see all the IPv6 routes learned thru OSPFv3? • Find out the Interface IP addresses of the Loopbacks by typing Show IPv6 Interface Brief. On R1 R1(config)#interface Loopback 0 R1(config-if)# ip ospf network point-to-point On R2 R2(config)#interface Loopback 0 R2(config-if)# ip ospf network point-to-point On R3 R3(config)#interface Loopback 0 R3(config-if)# ip ospf network point-to-point On R4 R4(config)#interface Loopback 0 R4(config-if)# ip ospf network point-to-point On All Routers • Type Show IPv6 Route ospf.netscopeme. • Ping these address from each router to ensure connectivity.Ensure that the loopback interfaces are advertised with their correct mask.

You need to connect the 2 IPv6 networks over a IPv4 network using a Tunnel.23.Lab 7 – Configuring IPv6 through a IPv4 Network using a Tunnel R1 Lo 0 R2 E 0/0 Lo 0 E 0/0 S 0/0 2000:1:1:12::/64 Frame 192.netscopeme. Assign IPv6 addresses to the E0/0 interface of the routers as follows: • • • • R1 R2 R3 R4 – – – – 2001:1:1:12::1 2001:1:1:12::2 2001:1:1:34::3 2001:1:1:34::4 /64 /64 /64 /64 On R1 R1(config)#ipv6 unicast-routing R1(config)#Interface E 0/0 R1(config-if)#ipv6 address 2001:1:1:12::1/64 R1(config-if)#no shut On R2 R2(config)#ipv6 unicast-routing Copyrights Netscope FZ LLC 2007-2015 Website: http://www.0/24 S 0/0 2000:1:1:34::/64 Lo 0 E 0/0 Lo 0 E 0/0 R4 R3 Objective: IPv6 is running between R1-R2 and between R3-R4.R2. R3 and R4. Enable IPv6 routing on R1.com Khawarb@khawarb.1.com Page 188 of 197 . IPv4 is running between R2-R3.

netscopeme.com Page 189 of 197 .R2(config)#Interface E 0/0 R2(config-if)#ipv6 address 2001:1:1:12::2/64 R2(config-if)#no shut On R3 R3(config)#ipv6 unicast-routing R3(config)#Interface E 0/0 R3(config-if)#ipv6 address 2001:1:1:34::3/64 R3(config-if)#no shut On R4 R4(config)#ipv6 unicast-routing R4(config)#Interface E 0/0 R4(config-if)#ipv6 address 2001:1:1:34::4/64 R4(config-if)#no shut Configure the Loopback0 interface on all routers using the auto-assigned addresses as follows: • • • • R1 R2 R3 R4 – – – – Loopback0 Loopback0 Loopback0 Loopback0 – – – – 2001:1:1:1::1/64 2001:2:2:2::2/64 2001:3:3:3::3/64 2001:4:4:4::4/64 On R1 R1(config)#Interface Loopback 0 R1(config-if)#ipv6 address 2001:1:1:1::1/64 On R2 R2(config)#Interface Loopback 0 R2(config-if)#ipv6 address 2001:2:2:2::2/64 On R3 R3(config)#Interface Loopback 0 R3(config-if)#ipv6 address 2001:3:3:3::3/64 On R4 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.

com Page 190 of 197 .R4(config)#Interface Loopback 0 R4(config-if)#ipv6 address 2001:4:4:4::4/64 Configure RIPng on all routers to route all loopbacks. Copyrights Netscope FZ LLC 2007-2015 Website: http://www.23. Enable RIPng under the following interfaces: R1 R2 R3 R4 – – – – E E E E 0/0.1. 0/0.com Khawarb@khawarb. 0/0.netscopeme.0/24 network. 0/0. Loopback Loopback Loopback Loopback 0 0 0 0 On R1 R1(config)#Interface Loopback0 R1(config-if)#ipv6 rip 1234 enable R1(config-if)#Interface E 0/0 R1(config-if)#ipv6 rip 1234 enable On R2 R2(config)#Interface Loopback0 R2(config-if)#ipv6 rip 1234 enable R2(config-if)#Interface E 0/0 R2(config-if)#ipv6 rip 1234 enable On R3 R3(config)#Interface Loopback0 R3(config-if)#ipv6 rip 1234 enable R3(config-if)#Interface E 0/0 R3(config-if)#ipv6 rip 1234 enable On R4 R4(config)#Interface Loopback0 R4(config-if)#ipv6 rip 1234 enable R4(config-if)#Interface E 0/0 R4(config-if)#ipv6 rip 1234 enable Configure the Frame Relay link between R2 and R3 as an IPv4 Link on the 192.

23.3 R2(config-if)#ipv6 rip 1234 enable R2(config-if)#tunnel mode IPv6IP On R3 R3(config)#Interface Tunnel 23 R3(config-if)#ipv6 address 2001:23:23:23::3/64 R3(config-if)#tunnel source S 0/0 R3(config-if)# tunnel destination 192.255.1.2 255.com Khawarb@khawarb.com Page 191 of 197 .255.23.netscopeme.0 R3(config-if)#encap frame-relay R3(config-if)#frame-relay map ip 192.23.255.255.1.3 255.On R2 R2(config)#Interface S 0/0 R2(config-if)#ip address 192. Do you see all the IPv6 routes learned thru RIPng? • Can you ping the R4 loopback from R1 and vice versa? Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Set the Tunnel Mode to IPv6.23. Enable RIPng on the Tunnel Interface On R2 R2(config)#Interface Tunnel 23 R2(config-if)#ipv6 address 2001:23:23:23::2/64 R2(config-if)#tunnel source S 0/0 R2(config-if)# tunnel destination 192.1.1.1.3 203 R2(config-if)#no shut On R3 R3(config)#Interface S 0/0 R3(config-if)#ip address 192.2 302 R3(config-if)#no shut Create a Tunnel between R2 and R3 Assign it an IPv6 address of 2001:23:23:23::/64.1.2 R3(config-if)#ipv6 rip 1234 enable R3(config-if)#tunnel mode IPv6IP On All Routers • Type Show IPv6 Route rip.23.0 R2(config-if)#encap frame-relay R2(config-if)#frame-relay map ip 192.23.

Lab 8 – Configuring IPv6 over Point-topoint and Multipoint R1 R2 R4 Frame-Relay R3 IP addressing and DLCI information Chart Routers IP address R1 S0/0.netscopeme.com Page 192 of 197 Connecting to: R2 R3 R4 R1 R3 R1 R2 R1 .123: 2001:150:1:30::1 /64 S0/0.60::4 /64 401 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.com Khawarb@khawarb.1.1.14: 2001:150.60::1 /64 Local DLCI 102 103 104 R2 S0/0: 2001:150:1:30::2 /64 201 R3 S0/0: 2001:150:1:30::3 /64 301 R4 S0/0: 2001:150.

On R1 R1(config)#IPv6 unicast-routing R1(config)#Interface S0/0 R1(config-if)#Encapsulation frame-relay R1(config-if)#No frame-relay inverse R1(config-if)#No shut R1(config-if)#Int S0/0.Objective: Configure IPv6 over Frame-relay. R2 and R3 as follows: o The second sub-interface on R1 must be configured in a multipoint manner.com Khawarb@khawarb. Configure OSPFv3 to route the loopback networks over the Frame Cloud.14 point-to-point R1(config-subif)#Ipv6 address 2001:192:1:14::1/64 R1(config-subif)#Frame-relay interface-dlci 104 On R4 R4(config)#IPv6 unicast-routing R4(config)#Interface S0/0 R4(config-if)#Encapsulation frame-relay R4(config-if)#No frame-relay inverse R4(config-if)#Ipv6 address 2001:192:1:14::4/64 R4(config-if)#Frame-relay map ipv6 2001:192:1:14::1 401 broadcast R4(config-if)#No shut Configure the R1. Copyrights Netscope FZ LLC 2007-2015 Website: http://www. one of the two sub-interfaces must be configured to connect R1 to R4. this subinterface should be configured in a point-to-point manner using the following IP addressing: R1 = 2001:192:1:14::1/64 R4 = 2001:192:1:14::4/64 o R4 should not be configured with a sub-interface. and this sub-interface must be configured to connect R1 to routers R2 and R3 using the following IP addressing: R1 = 2001:192:1:123::1 /64 R2 = 2001:192:1:123::2 /64 R3 = 2001:192:1:123::3 /64. Configure the R1 and R4 as follows: o R1 (The HUB) must be configured with two sub-interfaces.com Page 193 of 197 .netscopeme.

Also Configure Loopbacks on all 4 Routers using the 2001:X:X:X::X/64 format On R1 R1(config)#IPv6 router ospf 1 R1(config-router)#router-id 1.o Routers R2.14 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. On R1 R1(config)#Int S0/0.123 multipoint R1(config-subif)#Ipv6 address 2001:192:1:123::1/64 R1(config-subif)#Frame-relay map ipv6 2001:192:1:123::2 102 broad R1(config-subif)#Frame-relay map ipv6 2001:192:1:123::3 103 broad On R2 R2(config)#IPv6 unicast-routing R2(config)#Interface S0/0 R2(config-if)#Encapsulation frame-relay R2(config-if)#No frame-relay inverse R2(config-if)#Ipv6 address 2001:192:1:123::2/64 R2(config-if)#Frame-relay map ipv6 2001:192:1:123::1 201 broadcast R2(config-if)#Frame-relay map ipv6 2001:192:1:123::3 201 R2(config-if)#No shut On R3 R3(config)#IPv6 unicast-routing R3(config)#Interface S0/0 R3(config-if)#Encapsulation frame-relay R3(config-if)#No frame-relay inverse R3(config-if)#Ipv6 address 2001:192:1:123::3/64 R3(config-if)#Frame-relay map ipv6 2001:192:1:123::1 301 broadcast R3(config-if)#Frame-relay map ipv6 2001:192:1:123::2 301 R3(config-if)#No shut Configure the routers in OSPFv3 area 0 and advertise their directly connected interfaces in this area.com Page 194 of 197 .com Khawarb@khawarb. o Ensure that the R2 can ping R3.1.netscopeme.1 R1(config-router)#Interface Loopback 0 R1(config-if)#ipv6 address 2001:1:1:1::1/64 R1(config-if)#ipv6 ospf 1 area R1(config-if)# Interface S 0/0.1. R3 should not be configured with a sub-interface and these routers should NOT rely on Inverse-arp.

netscopeme.4.123 R1(config-subif)#ipv6 ospf 1 area R1(config-subif)# Frame-relay map ipv6 Link-Local 102 R1(config-subif)# Frame-relay map ipv6 Link-Local 103 R1(config-subif)# ipv6 ospf network point-to-multipoint (Find the Link-Local Address for R2 and R3 by using Show IPv6 int brief on R2 and R3 respectively.R1(config-subif)#ipv6 ospf 1 area R1(config-subif)# Interface S 0/0.3. This is required for OSPFv3 Neighbor relationship to be established) On R4 R4(config)#IPv6 router ospf 1 R4(config-router)#router-id 4.2.com Khawarb@khawarb.3.2.com Page 195 of 197 .3 R3(config-router)#Interface Loopback 0 R3(config-if)#ipv6 address 2001:3:3:3::3/64 R3(config-if)#ipv6 ospf 1 area R3(config-if)# Interface S 0/0 R3config-if)#ipv6 ospf 1 area R3(config-if)# Frame-relay map ipv6 Link-Local 301 R3(config-subif)# ipv6 ospf network point-to-multipoint (Find the Link-Local Address for R1 by using Show IPv6 int brief on R1.4 Copyrights Netscope FZ LLC 2007-2015 Website: http://www. This is required for OSPFv3 Neighbor relationship to be established) On R2 R2(config)#IPv6 router ospf 1 R2(config-router)#router-id 2. This is required for OSPFv3 Neighbor relationship to be established) On R3 R3(config)#IPv6 router ospf 1 R3(config-router)#router-id 3.2 R2(config-router)#Interface Loopback 0 R2(config-if)#ipv6 address 2001:2:2:2::2/64 R2(config-if)#ipv6 ospf 1 area R2(config-if)# Interface S 0/0 R2(config-if)#ipv6 ospf 1 area R2(config-if)# Frame-relay map ipv6 Link-Local 201 R2(config-subif)# ipv6 ospf network point-to-multipoint (Find the Link-Local Address for R1 by using Show IPv6 int brief on R1.4.

Copyrights Netscope FZ LLC 2007-2015 Website: http://www. Do you see all the IPv6 routes learned thru OSPFv3? • Find out the Interface IP addresses of the Loopbacks by typing Show IPv6 Interface Brief. • Ping these address from each router to ensure connectivity.com Khawarb@khawarb.R4(config-router)#Interface Loopback 0 R4(config-if)#ipv6 address 2001:4:4:4::4/64 R4(config-if)#ipv6 ospf 1 area R4(config-if)# Interface S 0/0 R4config-if)#ipv6 ospf 1 area R4(config-if)# Frame-relay map ipv6 Link-Local 401 R4(config-subif)# ipv6 ospf network point-to-point Ensure that the loopback interfaces are advertised with their correct mask.netscopeme.com Page 196 of 197 . On R1 R1(config)#interface Loopback 0 R1(config-if)# ip ospf network point-to-point On R2 R2(config)#interface Loopback 0 R2(config-if)# ip ospf network point-to-point On R3 R3(config)#interface Loopback 0 R3(config-if)# ip ospf network point-to-point On R4 R4(config)#interface Loopback 0 R4(config-if)# ip ospf network point-to-point On All Routers • Type Show IPv6 Route ospf.

1.1. R2 Routing Table i L2 C C i L2 1.0 routes on R1 using the longest possible match.12.0.0/8 [115/20] via 192.12.255.0.0 255.netscopeme.12. Loopback 0 192.1.com Khawarb@khawarb.0/22 [115/20] via 192.0/8 is directly connected.com Page 197 of 197 .252.1.0 level-2 Verifying the Configuration • On R2.1. Serial 0/0 150.4. The output displays that network the summarized address for the new loopbacks.1. Serial 0/0 Copyrights Netscope FZ LLC 2007-2015 Website: http://www.1. Type Show ip route.0. Serial 0/0 2.0. On R1 R1(config)#router isis R1(config-if)#summary-address 150.1.4.Summarize the 150.0.0/24 is directly connected.