Lab Objective:
The objective of this lab is to cover all relevant CCNP ROUTE and SWITCH theory. These labs will include topics from each of these guides. It should be noted that not all topics will be included in all labs. Additionally, not all solutions will be illustrated in detail. You can refer to previous labs for assistance with some basic configurations.
Lab Topology:
The lab network topology is illustrated below:
|
IMPORTANT NOTE If you are using the www.howtonetwork.net racks, please implement the following pre-lab configurations. This is required because of the manner in which the routers and switches are physically cabled to each other. The following configuration should be applied to switch ALS1:
If you are using the www.howtonetwork.net racks, please bring up the LAN interface connected to R2 by the following configuration:
Alternatively, you can simply connect the interface to a hub or one of the switches and bring up the interface in the standard manner. |
Task 1
Configure hostnames, IP addressing on all routers as illustrated in the network topology.
Task 2
Configure an EtherChannel between DLS1 and DLS2. This should be a Layer 2 trunk link that is unconditionally bonded. Configure an SVI with the IP address 150.1.1.253/24 on DLS2. Verify that all devices on the 150.1.1.0/24 subnet can ping each other.
Task 3
Configure OSPF using process ID 1 on R1, DLS1 and DLS2. Ensure that no DR/BDR election will occur on the 150.1.1.0/24 subnet. All devices should peer with each other. Verify your configuration using the appropriate commands.
Task 4
Configure OSPF using process ID 2 between R1 and R2. Ensure that no OSPF Hellos are sent out the LAN interface of R2. Verify your configuration using the appropriate commands.
Task 5
Configure OSPF using process ID 3 between R1, R2 and R3. Do NOT enable OSPF on the LAN interface of R3. Verify your configuration using the appropriate commands.
Task 6
Configure EIGRP using AS 4 between R3 and R4. No EIGRP Hello packets should be sent out of the LAN interfaces of R3 or R4. R4 should be configured as a stub router. This router should advertise only connected subnets. R3 should advertise only a default route to R4. Verify EIGRP routing configuration using the appropriate commands.
Task 7
Redistribute between the OSPF processes on R1 and R2. Ensure that routes from one process will never be redistributed back into the same process. You are NOT allowed to modify the default administrative distance when completing this task. When completing this task, ensure that the cost of the routes to reflect the entire path. Verify your configuration using the appropriate commands on all routers and ensure that there are no routing loops when done.
Task 8
Configure one-way redistribution of EIGRP into OSPF on R3. Ensure that only a single prefix is advertised to the OSPF domain for the 10.3.3.0/24 and 10.4.4.0/24 subnets. The 150.0.0.12/30 subnet connecting R3 to R4 should never be advertised to the rest of the OSPF domain. You are NOT allowed to use a distribute list to complete this task. Verify that all other routers are able to reach the R3 and R4 LAN subnets and vice-versa.
Task 9
Management has advised that a new video solution will be implemented in the network. The IP Multicast server will reside on R1s LAN and clients will reside on R4s LAN. Configure PIM Dense Mode and assign R1s LAN interface to the 227.1.1.1 group and verify that you can ping this from R4s LAN interface. This should work even if the R1-R3 or the R2-R3 link is down.
Lab Validation
Task 1
Please refer to previous labs for basic IPv4 addressing and hostname configuration. This will not be included in this section to avoid being redundant.
Task 2
Please refer to previous labs for EtherChannel configuration. This will not be included in this section to avoid being redundant. Verify your solution using the show etherchannel commands on both switches:
| DLS1#show etherchannel summary Flags: D – down P – bundled in port-channel I – stand-alone s – suspended H – Hot-standby (LACP only) R – Layer3 S – Layer2 U – in use f – failed to allocate aggregator M – not in use, minimum links not met
Number of channel-groups in use: 1 Group Port-channel Protocol Ports |
| DLS2#show etherchannel summary Flags: D – down P – bundled in port-channel I – stand-alone s – suspended H – Hot-standby (LACP only) R – Layer3 S – Layer2 U – in use f – failed to allocate aggregator M – not in use, minimum links not met
Number of channel-groups in use: 1 Group Port-channel Protocol Ports |
After configuring the SVI on switch DLS2, verify reachability on the 150.1.1.0/24 subnet:
| DLS2#ping 150.1.1.0
Type escape sequence to abort. |
Task 3
To complete this task, you need to configure an OSPF point-to-multipoint network type. All of the devices should reside in OSPF area 0. Verify OSPF using the show ip ospf commands:
| R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
| DLS1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
| DLS2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
To view the network type, use the show ip ospf interface command:
| DLS2#show ip ospf interface vlan 100 Vlan100 is up, line protocol is up Internet Address 150.1.1.253/24, Area 0 Process ID 1, Router ID 150.1.1.253, Network Type POINT_TO_MULTIPOINT, Cost: 1 Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5 oob-resync timeout 120 Hello due in 00:00:28 Supports Link-local Signaling (LLS) Cisco NSF helper support enabled IETF NSF helper support enabled Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 2, Adjacent neighbor count is 2 Adjacent with neighbor 11.11.11.11 Adjacent with neighbor 150.1.1.254 Suppress hello for 0 neighbor(s) |
Task 4
The same logic applied in the previous task should also be used to complete this task. Following this, verify OSPF configuration using the show ip ospfcommands:
| R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
| R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
Task 5
The same logic applied in the previous task should also be used to complete this task. Following this, verify OSPF configuration using the show ip ospfcommands:
| R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
| R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
| R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface |
To verify which interfaces are enabled under which process, use the show ip ospf interface brief command on the router or switch:
| R1#show ip ospf interface brief Interface PID Area IP Address/Mask Cost State Nbrs F/C Se0/1 3 0 150.0.0.5/30 64 P2P 1/1 Se0/0 2 0 150.0.0.1/30 64 P2P 1/1 Fa0/0 1 0 150.1.1.1/24 1 P2MP 2/2 |
Task 6
The configuration requirements of this task are straightforward. To ensure that R3 sends only a default route to R4, you need to enable filtering and configure the router to generate and advertise a default. Once complete, verify the solution using the show ip eigrp commands:
| R3#show ip eigrp neighbors detail IP-EIGRP neighbors for process 4 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 150.0.0.14 Se1/2 10 00:01:00 11 1140 0 8 Restart time 00:00:08 Version 12.4/1.2, Retrans: 1, Retries: 0, Prefixes: 1 Stub Peer Advertising ( CONNECTED ) Routes Suppressing queries |
On R4, use the show ip route command to ensure that only a default is received from R3:
| R4#show ip route eigrp D* 0.0.0.0/0 [90/2172416] via 150.0.0.13, 00:00:28, Serial0/0 |
Task 7
This task requires some thought. You need to implement route filtering when redistributing between the OSPF processes. EIGRP is great in such situations because external routes are assigned a higher administrative distance than internal routes – meaning that the likelihood of routing loops in such scenarios is very slim. The same concept could also be applied to OSPF; however, the task explicitly states that we should not modify default administrative distance values. Therefore, we must use filtering. This task is completed as follows:
| R1(config)#ip prefix-list PROCESS-1-FILTER seq 5 permit 150.1.1.0/24 R1(config)#ip prefix-list PROCESS-2-FILTER seq 5 permit 150.0.0.0/30 R1(config)#ip prefix-list PROCESS-2-FILTER seq 7 permit 150.2.2.0/24 R1(config)#ip prefix-list PROCESS-3-FILTER seq 5 permit 150.0.0.4/30 R1(config)#ip prefix-list PROCESS-3-FILTER seq 7 permit 150.0.0.8/30 R1(config)#route-map PROCESS-1-FILTER deny 10 R1(config-route-map)#match ip address prefix-list PROCESS-1-FILTER R1(config-route-map)#exit R1(config)#route-map PROCESS-1-FILTER permit 20 R1(config-route-map)#exit R1(config)#route-map PROCESS-2-FILTER deny 10 R1(config-route-map)#match ip address prefix-list PROCESS-2-FILTER R1(config-route-map)#exit R1(config)#route-map PROCESS-2-FILTER permit 20 R1(config-route-map)#exit R1(config)#route-map PROCESS-3-FILTER deny 10 R1(config-route-map)#match ip address prefix-list PROCESS-3-FILTER R1(config-route-map)#exit R1(config)#route-map PROCESS-3-FILTER permit 20 R1(config-route-map)#exit R1(config)#router ospf 1 R1(config-router)#redistribute ospf 2 subnets route-map PROCESS-1-FILTER R1(config-router)#redistribute ospf 3 subnets route-map PROCESS-1-FILTER R1(config-router)#exit R1(config)#router ospf 2 R1(config-router)#redistribute ospf 1 subnets route-map PROCESS-2-FILTER R1(config-router)#redistribute ospf 3 subnets route-map PROCESS-2-FILTER R1(config-router)#exit R1(config)#router ospf 3 R1(config-router)#redistribute ospf 1 subnets route-map PROCESS-3-FILTER R1(config-router)#redistribute ospf 2 subnets route-map PROCESS-3-FILTER |
The redistribution configuration on R2 would be implemented similar to the following:
| R2(config)#ip prefix-list PROCESS-2-FILTER seq 5 permit 150.0.0.0/30 R2(config)#ip prefix-list PROCESS-2-FILTER seq 7 permit 150.2.2.0/24 R2(config)#ip prefix-list PROCESS-3-FILTER seq 5 permit 150.0.0.4/30 R2(config)#ip prefix-list PROCESS-3-FILTER seq 7 permit 150.0.0.8/30 R2(config)#route-map PROCESS-2-FILTER deny 10 R2(config-route-map)#match ip address prefix-list PROCESS-2-FILTER R2(config-route-map)#exit R2(config)#route-map PROCESS-2-FILTER permit 20 R2(config-route-map)#exit R2(config)#route-map PROCESS-3-FILTER deny 10 R2(config-route-map)#match ip address prefix-list PROCESS-3-FILTER R2(config-route-map)#exit R2(config)#route-map PROCESS-3-FILTER permit 20 R2(config-route-map)#exit R2(config)#router ospf 2 R2(config-router)#redistribute ospf 3 subnets route-map PROCESS-2-FILTER R2(config-router)#exit R2(config)#router ospf 3 R2(config-router)#redistribute ospf 2 subnets route-map PROCESS-3-FILTER R2(config-router)#exit |
Next, verify the Link State Databases of all devices using the show ip ospf commands:
| DLS1#show ip ospf database
OSPF Router with ID (150.1.1.254) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag |
| DLS2#show ip ospf database
OSPF Router with ID (150.1.1.253) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag |
| R1#show ip ospf database
OSPF Router with ID (11.11.11.33) (Process ID 3) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag OSPF Router with ID (11.11.11.22) (Process ID 2) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag OSPF Router with ID (11.11.11.11) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag |
| R2#show ip ospf database
OSPF Router with ID (22.22.22.33) (Process ID 3) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag OSPF Router with ID (22.22.22.11) (Process ID 2) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag |
| R3#show ip ospf database
OSPF Router with ID (33.33.33.33) (Process ID 3) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag |
Verify your IP routing tables using the show ip route commands:
| R1#show ip route ospf 150.0.0.0/30 is subnetted, 3 subnets O 150.0.0.8 [110/845] via 150.0.0.6, 00:12:59, Serial0/1 150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks O 150.1.1.254/32 [110/1] via 150.1.1.254, 00:17:46, FastEthernet0/0 O 150.1.1.253/32 [110/1] via 150.1.1.253, 00:17:46, FastEthernet0/0 150.2.0.0/24 is subnetted, 1 subnets O 150.2.2.0 [110/65] via 150.0.0.2, 00:13:00, Serial0/0 |
| R2#show ip route ospf 150.0.0.0/30 is subnetted, 3 subnets O 150.0.0.4 [110/845] via 150.0.0.10, 00:13:04, Serial0/1 150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks O E1 150.1.1.254/32 [110/65] via 150.0.0.1, 00:04:02, Serial0/0 O E1 150.1.1.253/32 [110/65] via 150.0.0.1, 00:04:02, Serial0/0 O E1 150.1.1.0/24 [110/65] via 150.0.0.1, 00:04:02, Serial0/0 |
| R3#show ip route ospf 150.0.0.0/30 is subnetted, 4 subnets O E1 150.0.0.0 [110/845] via 150.0.0.9, 00:03:28, Serial1/1 [110/845] via 150.0.0.5, 00:03:28, Serial1/0 150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks O E1 150.1.1.254/32 [110/782] via 150.0.0.5, 00:03:28, Serial1/0 O E1 150.1.1.253/32 [110/782] via 150.0.0.5, 00:03:28, Serial1/0 O E1 150.1.1.0/24 [110/782] via 150.0.0.5, 00:03:28, Serial1/0 150.2.0.0/24 is subnetted, 1 subnets O E1 150.2.2.0 [110/782] via 150.0.0.9, 00:03:28, Serial1/1 |
NOTE: Keep in mind that your output may vary slightly from what is printed above depending on the solution you implemented and the manner in which routes were received.
Task 8
To complete this task, you need to first use the summary-address OSPF command on R3:
| R3(config)#router ospf 3 R3(config-router)#summary-address 10.0.0.0 255.0.0.0 R3(config-router)#summary-address 150.0.0.12 255.255.255.252 not-advertise R3(config-router)#redistribute eigrp 4 subnets R3(config-router)#exit |
Next, you need to update the redistribution configuration so that this route is not redistributed back into OSPF process ID 3 on either R1 or R2:
| R1(config)#ip prefix-list PROCESS-3-FILTER seq 9 deny 10.0.0.0/8 R1(config)#end R1#clear ip ospf redistribution |
| R2(config)#ip prefix-list PROCESS-3-FILTER seq 9 permit 10.0.0.0/8 R2(config)#end R2#clear ip ospf redistribution |
Verify your configuration using the show ip ospf commands:
| R3#show ip ospf database
OSPF Router with ID (33.33.33.33) (Process ID 3) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag |
Use the show ip route command to ensure that the 150.0.0.12/30 subnet is not advertised:
| R1#show ip route ospf O E2 10.0.0.0/8 [110/20] via 150.0.0.6, 00:06:49, Serial0/1 150.0.0.0/30 is subnetted, 3 subnets O 150.0.0.8 [110/845] via 150.0.0.6, 00:10:39, Serial0/1 150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks O 150.1.1.254/32 [110/1] via 150.1.1.254, 00:36:27, FastEthernet0/0 O 150.1.1.253/32 [110/1] via 150.1.1.253, 00:36:27, FastEthernet0/0 150.2.0.0/24 is subnetted, 1 subnets O 150.2.2.0 [110/65] via 150.0.0.2, 00:31:41, Serial0/0 |
| R2#show ip route ospf O E2 10.0.0.0/8 [110/20] via 150.0.0.10, 00:07:36, Serial0/1 150.0.0.0/30 is subnetted, 3 subnets O 150.0.0.4 [110/845] via 150.0.0.10, 00:11:25, Serial0/1 150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks O E1 150.1.1.254/32 [110/65] via 150.0.0.1, 00:04:29, Serial0/0 O E1 150.1.1.253/32 [110/65] via 150.0.0.1, 00:04:29, Serial0/0 O E1 150.1.1.0/24 [110/65] via 150.0.0.1, 00:04:29, Serial0/0 |
Finally, verify your configurations using simple pings between all routers. For example, ping from switch DLS2 to all other routers, and work through each router:
| DLS2#ping 150.2.2.2
Type escape sequence to abort. DLS2#ping 10.3.3.3 Type escape sequence to abort. DLS2#ping 10.4.4.4 Type escape sequence to abort. |
Repeat the same exercise for all other routers in the network.
Task 9
To complete this task, you need to enable Dense Mode forwarding on ALL interfaces along the path. Next, verify using the show ip pim commands:
| R1#show ip pim interface
Address Interface Ver/ Nbr Query DR DR |
| R2#show ip pim interface
Address Interface Ver/ Nbr Query DR DR |
| R3#show ip pim interface
Address Interface Ver/ Nbr Query DR DR |
| R4#show ip pim interface
Address Interface Ver/ Nbr Query DR DR |
You can also use the show ip pim neighbor command for detailed neighbor information:
| R2#show ip pim neighbor PIM Neighbor Table Mode: B – Bidir Capable, DR – Designated Router, N – Default DR Priority, S – State Refresh Capable Neighbor Interface Uptime/Expires Ver DR Address Prio/Mode 150.0.0.1 Serial0/0 00:03:39/00:01:31 v2 1 / S 150.0.0.10 Serial0/1 00:03:54/00:01:16 v2 1 / S |
To view Multicast group(s) information, use the show ip igmp commands:
| R1#show ip igmp groups detail
Flags: L – Local, U – User, SG – Static Group, VG – Virtual Group, Interface: FastEthernet0/0 Interface: Serial0/0 |
Finally, test your solution by pinging group 227.1.1.1 from the LAN interface of R4:
| R4#ping 227.1.1.1 source fastethernet 0/0
Type escape sequence to abort. Reply to request 0 from 150.0.0.5, 36 ms |
Final Router Configurations
R1
|
R1#term len 0 Current configuration : 2417 bytes R1# |
R2
|
R2#term len 0 Current configuration : 1845 bytes R2# |
R3
|
R3#term len 0 Current configuration : 1747 bytes R3# |
R4
|
R4#term len 0 Current configuration : 1014 bytes R4# |
Final Switch Configurations
DLS1
|
DLS1#term len 0 Current configuration : 6345 bytes DLS1# |
DLS2
|
DLS2#term len 0 Current configuration : 4654 bytes DLS2# |
ALS1
|
ALS1#term len 0 Current configuration : 1337 bytes ALS1# |
ALS2
|
ALS2#term len 0 Current configuration : 1135 bytes ALS2# |
