www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNP Labs Solutions / CCNP Lab 024 Solution: OSPF Multi-Technology Lab

CCNP Lab 024 Solution: OSPF Multi-Technology Lab

Lab Objective:

The focus of this lab is to understand OSPF implementation and configuration in Cisco IOS routers. Additional technologies tested include Frame Relay connectivity and redistribution.

Lab Topology:

The lab network topology is illustrated below:

department624

 

IMPORTANT NOTE

If you are using the www.howtonetwork.net racks, please bring up the LAN interfaces connected to the routers by issuing the no shutdown command on the connected switches. If you are using a home lab with no
Switches, you can bring up the LAN interfaces using the following configurations on your routers:

interface fastethernet 0/0
 no keepalive
 loopback
 no shutdown

Alternately, you can simply connect the interfaces to a hub or switch if you have one available in your own lab. Also, if you are using the www.howtonetwork.net racks, configure R3 as the Frame Relay switch using the following configuration commands:

hostname R3-Frame-Relay-Switch
!
frame-relay switching
!
interface serial 1/0
 description ‘Connected To R1 Serial 0/1’
 encapsulation frame-relay
 no ip address
 clock rate 128000
 frame-relay intf-type dce
 frame-relay route 102 interface serial 1/1 201
 frame-relay route 104 interface serial 1/2 401
 no shutdown
!
interface serial 1/1
 description ‘Connected To R2 Serial 0/1’
 encapsulation frame-relay
 no ip address
 clock rate 128000
 frame-relay intf-type dce
 frame-relay route 201 interface serial 1/0 102
 no shutdown
!
interface serial 1/2
 description ‘Connected To R4 Serial 0/0’
 encapsulation frame-relay
 no ip address
 clock rate 128000
 frame-relay intf-type dce
 frame-relay route 401 interface serial 1/0 104
 no shutdown
!
end

 

Task 1

Configure hostnames and IP addressing on all routers as illustrated in the network topology.

Task 2

Configure the Frame Relay network so that all routers can ping each others’ WAN interfaces. Verify your configuration by pinging the WAN interfaces of all routers from each other.

Task 3

Using interface-based configuration, configure OSPF using process ID number 1 on all routers for the Frame Relay WAN connecting routers R1, R2, and R4. Use the default network type and ensure that R1 is always elected DR even if it fails and comes back up. Verify your configuration.

Task 4

Using interface-based configuration, enable OSPF for the LAN segment connected to R1. This LAN segment should reside on OSPF area 1. No Hellos should be sent on this segment.

Task 5

Using interface-based configuration, configure OSPF using process ID number 2 on the LAN segment connected to R2 and R4. Ensure that no DR/BDR election takes place on this segment; however, ensure that multiple routers can still exist on the segment.
Task 6

Configure and perform mutual redistribution between OSPF process 1 and OSPF process 2 on routers R2 and R4. Ensure that routes from one process are not re-advertised back to the same process. You are NOT allowed to use any ACLs or IP prefix lists in your solution. Verify the configuration using the appropriate commands.

Task 7

Configure your network so that R1 prefers the path via R2 to reach the 150.5.5.0/24 subnet. In the event that R2 is down, the path via R4 should be used. Additionally, configure R4 so that it prefers the path via R2 to reach the 150.1.1.0/24 subnet. In the event that R2 is down, it should use the Frame Relay WAN connection to R1. Verify your configuration.

Lab Validation

Task 1

Router(config)#hostname R1
R1(config)#interface fastethernet 0/0
R1(config-if)#no shutdown
R1(config-if)#ip address 150.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#interface serial 0/1
R1(config-if)#ip address 10.0.0.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#encapsulation frame-relay
R1(config-if)#exit
Router(config)#hostname R2
R2(config)#interface fastethernet 0/0
R2(config-if)#no shutdown
R2(config-if)#ip address 150.5.5.2 255.255.255.0
R2(config-if)#exit
R2(config)#interface serial 0/1
R2(config-if)#ip address 10.0.0.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#encapsulation frame-relay
R2(config-if)#exit
Router(config)#hostname R4
R4(config)#interface fastethernet 0/0
R4(config-if)#no shutdown
R4(config-if)#ip address 150.5.5.4 255.255.255.0
R4(config-if)#exit
R4(config)#interface serial 0/0
R4(config-if)#ip address 10.0.0.4 255.255.255.0
R4(config-if)#no shutdown
R4(config-if)#encapsulation frame-relay
R4(config-if)#exit

Task 2

Although Frame Relay configuration is not a CCNP topic, per se, it is still important that you remember your Frame Relay configurations from the CCNA. The task is completed as follows:

R1(config)#interface serial 0/1
R1(config-if)#frame-relay map ip 10.0.0.2 102 broadcast
R1(config-if)#frame-relay map ip 10.0.0.4 104 broadcast
R1(config-if)#exit

On the spoke routers, because the same DLCI is being used, the broadcast keyword should only be specified once to avoid duplicate Broadcast packets across the Frame Relay WAN. This task is completed as follows:

R2(config)#interface serial 0/1
R2(config-if)#frame-relay map ip 10.0.0.1 201 broadcast
R2(config-if)#frame-relay map ip 10.0.0.4 201        Â
R2(config-if)#exit
R4(config)#interface serial 0/0
R4(config-if)#frame-relay map ip 10.0.0.1 401 broadcast
R4(config-if)#frame-relay map ip 10.0.0.2 401        Â
R4(config-if)#exit

Verify your Frame Relay configuration using the show frame-relay map command:

R1#show frame-relay map
Serial0/1 (up): ip 10.0.0.2 dlci 102(0x66,0x1860), static,
broadcast,
CISCO, status defined, active
Serial0/1 (up): ip 10.0.0.4 dlci 104(0x68,0x1880), static,
broadcast,
CISCO, status defined, active
R2#show frame-relay map
Serial0/1 (up): ip 10.0.0.1 dlci 201(0xC9,0x3090), static,
broadcast,
CISCO, status defined, active
Serial0/1 (up): ip 10.0.0.4 dlci 201(0xC9,0x3090), static,
CISCO, status defined, active
R4#show frame-relay map
Serial0/0 (up): ip 10.0.0.1 dlci 401(0x191,0x6410), static,
broadcast,
CISCO, status defined, active
Serial0/0 (up): ip 10.0.0.2 dlci 401(0x191,0x6410), static,
CISCO, status defined, active

Finally, verify that you can ping between all routers across the Frame Relay WAN:

R1#ping 10.0.0.2 repeat 10

Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 28/29/32 ms
R1#
R1#ping 10.0.0.4 repeat 10

Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 28/29/32 ms

R2#ping 10.0.0.1 repeat 10

Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 28/30/32 ms
R2#
R2#ping 10.0.0.4 repeat 10

Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 56/59/64 ms

R4#ping 10.0.0.1 repeat 10

Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 28/34/52 ms
R4#
R4#ping 10.0.0.2 repeat 10

Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 56/58/60 ms

Task 3

In order to ensure that R1 is always elected DR even if it fails and comes back up, you need to disable DR/BDR election on R2 and R4 by assigning them an OSPF priority of 0. Also, when configuring OSPF on NBMA networks, you need to manually specify neighbors, even though the broadcastkeyword has been specified for the static Frame Relay map statements:

R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#neighbor 10.0.0.2
R1(config-router)#neighbor 10.0.0.4
R1(config-router)#exit
R1(config)#interface serial 0/1
R1(config-if)#ip ospf 1 area 0
R1(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#neighbor 10.0.0.1
R2(config-router)#exit
R2(config)#interface serial 0/1
R2(config-if)#ip ospf 1 area 0
R2(config-if)#ip ospf priority 0
R2(config-if)#exit
R4(config)#router ospf 1
R4(config-router)#router-id 4.4.4.4
R4(config-router)#exit
R4(config)#interface serial 0/0
R4(config-if)#ip ospf 1 area 0
R4(config-if)#ip ospf priority 0
R4(config-if)#exit

Verify your configuration using the show ip ospf neighbor command:

R1#show ip ospf neighbor

Neighbor ID   Pri   State           Dead Time   Address         Interface
2.2.2.2         0   FULL/DROTHER    00:01:46    10.0.0.2        Serial0/1
4.4.4.4         0   FULL/DROTHER    00:01:57    10.0.0.4        Serial0/1

R2#show ip ospf neighbor

Neighbor ID   Pri   State           Dead Time   Address         Interface
1.1.1.1         1   FULL/DR         00:01:39    10.0.0.1        Serial0/1

R4#show ip ospf neighbor

Neighbor ID   Pri   State           Dead Time   Address         Interface
1.1.1.1         1   FULL/DR         00:01:31    10.0.0.1        Serial0/0

Task 4

R1(config)#router ospf 1
R1(config-router)#passive-interface fastethernet 0/0
R1(config-router)#exit
R1(config)#interface fastethernet 0/0
R1(config-if)#ip ospf 1 area 1
R1(config-if)#exit

Verify your configuration using the show ip ospf <options> commands:

R1#show ip ospf
Routing Process “ospf 1” with ID 1.1.1.1
Start time: 03:04:16.984, Time elapsed: 00:10:22.164

[Truncated Output]

Number of areas in this router is 2. 2 normal 0 stub 0 nssa
Number of areas transit capable is 0
External flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 1
Area has no authentication
SPF algorithm last executed 00:00:48.304 ago
SPF algorithm executed 11 times
Area ranges are
Number of LSA 6. Checksum Sum 0x033F51
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area 1
Number of interfaces in this area is 1
Area has no authentication
SPF algorithm last executed 00:00:48.304 ago
SPF algorithm executed 2 times
Area ranges are
Number of LSA 2. Checksum Sum 0x014C32
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0

R1#show ip ospf interface brief
Interface    PID   Area          IP Address/Mask    Cost  State Nbrs F/C
Se0/1        1     0             10.0.0.1/24        64    DR    2/2
Fa0/0        1     1             150.1.1.1/24       1     DR    0/0

Task 5

To prevent DR/BDR election but allow multiple routers to exist on the same multi-access segment, you need to configure a point-to-multipoint network type:

R2(config)#router ospf 2
R2(config-router)#router-id 22.22.22.22
R2(config-router)#exit
R2(config)#interface fastethernet 0/0
R2(config-if)#ip ospf network point-to-multipoint
R2(config-if)#ip ospf 2 area 0
R2(config-if)#exit
R4(config)#router ospf 2
R4(config-router)#router-id 44.44.44.44
R4(config-router)#exit
R4(config)#interface fastethernet 0/0
R4(config-if)#ip ospf network point-to-multipoint
R4(config-if)#ip ospf 2 area 0
R4(config-if)#exit

 

 

Verify your configuration using the show ip ospf neighbor command:

R4#show ip ospf neighbor

Neighbor ID     Pri   State       Dead Time   Address     Interface
22.22.22.22       0   FULL/  -    00:01:48    150.5.5.2   FastEthernet0/0
1.1.1.1           1   FULL/DR     00:01:47    10.0.0.1    Serial0/0

R2#show ip ospf neighbor

Neighbor ID     Pri   State       Dead Time   Address     Interface
44.44.44.44       0   FULL/  -    00:01:49    150.5.5.4   FastEthernet0/0
1.1.1.1           1   FULL/DR     00:01:57    10.0.0.1    Serial0/1

Task 6

To complete this task you need to use route tags. This task is completed as follows:

R2(config)#route-map OSPF1-INTO-OSPF2 deny 10
R2(config-route-map)#match tag 444
R2(config-route-map)#exit
R2(config)#route-map OSPF1-INTO-OSPF2 permit 20
R2(config-route-map)#set tag 222
R2(config-route-map)#exit
R2(config)#route-map OSPF2-INTO-OSPF1 deny 10
R2(config-route-map)#match tag 444
R2(config-route-map)#exit
R2(config)#route-map OSPF2-INTO-OSPF1 permit 20
R2(config-route-map)#set tag 222
R2(config-route-map)#exit
R2(config)#router ospf 1
R2(config-router)#redistribute ospf 2 subnets route-map OSPF2-INTO-OSPF1
R2(config-router)#exit
R2(config)#router ospf 2
R2(config-router)#redistribute ospf 1 subnets route-map OSPF1-INTO-OSPF2
R2(config-router)#exit
R4(config)#route-map OSPF1-INTO-OSPF2 deny 10
R4(config-route-map)#match tag 222
R4(config-route-map)#exit
R4(config)#route-map OSPF1-INTO-OSPF2 permit 20
R4(config-route-map)#set tag 444
R4(config-route-map)#exit
R4(config)#route-map OSPF2-INTO-OSPF1 deny 10
R4(config-route-map)#match tag 222
R4(config-route-map)#exit
R4(config)#route-map OSPF2-INTO-OSPF1 permit 20
R4(config-route-map)#set tag 444
R4(config-route-map)#exit 
R4(config)#router ospf 1
R4(config-router)#redistribute ospf 2 subnets route-map OSPF2-INTO-OSPF1
R4(config-router)#exit
R4(config)#router ospf 2
R4(config-router)#redistribute ospf 1 subnets route-map OSPF1-INTO-OSPF2
R4(config-router)#exit

While this configuration seems complex, it is actually quite simple. The logic is as follows:

When OSPF process ID 1 on R2 redistributes routes from OSPF process ID 2, it denies all routes with an administrative route tag of 444. This tag is specified when OSPF process ID 2 on R4 redistributes OSPF process ID 1 routes. This prevents R2 from re-advertising these same routes back across the Frame Relay WAN. After denying these routes, OSPF process ID 1 on R2 accepts all other routes and sets an administrative tag of 222 for those routes.

When those routes are received by R4 via the Frame Relay WAN, they are denied by OSPF process ID 2 on R4, again preventing those same routes from being re-advertised across the LAN between R2 and R4. The same logic works in the reverse direction.

Verify your configuration by looking at the Link State Database on all routers in the network:

R1#show ip ospf database

            OSPF Router with ID (1.1.1.1) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         89          0x80000004 0x00DBF5 1
2.2.2.2         2.2.2.2         900         0x80000003 0x00A226 1
4.4.4.4         4.4.4.4         191         0x80000004 0x002491 1
150.5.5.2       150.5.5.2       2459        0x80000002 0x00672F 1

                Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
10.0.0.1        1.1.1.1         341         0x80000008 0x007E85

                Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
150.1.1.0       1.1.1.1         89          0x80000002 0x00B6E7

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         89          0x80000002 0x00DEB0 1

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
10.0.0.0        1.1.1.1         91          0x80000002 0x006984

                Summary ASB Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
2.2.2.2         1.1.1.1         896         0x80000001 0x00836C
4.4.4.4         1.1.1.1         299         0x80000001 0x0027C0

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
150.5.5.0       2.2.2.2         558         0x80000002 0x007DAD 222
150.5.5.0       4.4.4.4         304         0x80000001 0x00ED57 444
150.5.5.2       4.4.4.4         304         0x80000001 0x00D969 444
150.5.5.4       2.2.2.2         558         0x80000002 0x0055D1 222

R2#show ip ospf database

            OSPF Router with ID (22.22.22.22) (Process ID 2)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
22.22.22.22     22.22.22.22     916         0x80000003 0x00D6A2 2
44.44.44.44     44.44.44.44     336         0x80000003 0x00A17B 2

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
10.0.0.0        22.22.22.22     597         0x80000002 0x0032FF 222
10.0.0.0        44.44.44.44     336         0x80000001 0x0048B3 444
150.1.1.0       22.22.22.22     597         0x80000002 0x0002A0 222
150.1.1.0       44.44.44.44     336         0x80000001 0x001854 444

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         123         0x80000004 0x00DBF5 1
2.2.2.2         2.2.2.2         933         0x80000003 0x00A226 1
4.4.4.4         4.4.4.4         228         0x80000004 0x002491 1
150.5.5.2       150.5.5.2       2495        0x80000002 0x00672F 1

                Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
10.0.0.1        1.1.1.1         377         0x80000008 0x007E85

                Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
150.1.1.0       1.1.1.1         125         0x80000002 0x00B6E7

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
150.5.5.0       2.2.2.2         590         0x80000002 0x007DAD 222
150.5.5.0       4.4.4.4         339         0x80000001 0x00ED57 444
150.5.5.2       4.4.4.4         339         0x80000001 0x00D969 444
150.5.5.4       2.2.2.2         590         0x80000002 0x0055D1 222

R4#show ip ospf database

            OSPF Router with ID (44.44.44.44) (Process ID 2)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
22.22.22.22     22.22.22.22     942         0x80000003 0x00D6A2 2
44.44.44.44     44.44.44.44     361         0x80000003 0x00A17B 2

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
10.0.0.0        22.22.22.22     624         0x80000002 0x0032FF 222
10.0.0.0        44.44.44.44     360         0x80000001 0x0048B3 444
150.1.1.0       22.22.22.22     623         0x80000002 0x0002A0 222
150.1.1.0       44.44.44.44     360         0x80000001 0x001854 444

            OSPF Router with ID (4.4.4.4) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         149         0x80000004 0x00DBF5 1
2.2.2.2         2.2.2.2         960         0x80000003 0x00A226 1
4.4.4.4         4.4.4.4         252         0x80000004 0x002491 1
150.5.5.2       150.5.5.2       2520        0x80000002 0x00672F 1

                Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
10.0.0.1        1.1.1.1         403         0x80000008 0x007E85

                Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
150.1.1.0       1.1.1.1         151         0x80000002 0x00B6E7

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
150.5.5.0       2.2.2.2         618         0x80000002 0x007DAD 222
150.5.5.0       4.4.4.4         362         0x80000001 0x00ED57 444
150.5.5.2       4.4.4.4         362         0x80000001 0x00D969 444
150.5.5.4       2.2.2.2         618         0x80000002 0x0055D1 222

Task 7

While the first option that might come to mind might be specifying costs using the neighbor command, keep in mind that you cannot specify cost when using the default NBMA network type. If you do attempt to do so, you will receive the following error message:

R1(config)#router ospf 1
R1(config-router)#neighbor 10.0.0.2 cost 10
R1(config-router)#
*May 10 06:59:25.183: %OSPF-4-CFG_NBR_INVAL_NBMA_OPT: Can not use configured neighbor: cost and database-filter options are allowed only for a point-to-multipoint network

Prior to any configuration changes, the routing table on R1 shows the following entries:

R1#show ip route ospf
150.5.0.0/16 is variably subnetted, 3 subnets, 2 masks
O E2    150.5.5.4/32 [110/1] via 10.0.0.2, 00:24:53, Serial0/1
O E2    150.5.5.2/32 [110/1] via 10.0.0.4, 00:24:53, Serial0/1
O E2    150.5.5.0/24 [110/1] via 10.0.0.4, 00:24:53, Serial0/1
                     [110/1] via 10.0.0.2, 00:24:53, Serial0/1

To complete this task, you need to modify redistribution metrics. The most simple way is to increment the redistribution metric configured on R4:

R4(config)#router ospf 1
R4(config-router)#redis ospf 2 su route-ma OSPF2-INTO-OSPF1 met 4
R4(config-router)#end
R4#clear ip ospf redistribution

Following this change, the routing table on R1 now shows the following entries:

R1#show ip route ospf
150.5.0.0/16 is variably subnetted, 3 subnets, 2 masks
O E2    150.5.5.4/32 [110/1] via 10.0.0.2, 00:27:18, Serial0/1
O E2    150.5.5.2/32 [110/4] via 10.0.0.4, 00:00:19, Serial0/1
O E2    150.5.5.0/24 [110/1] via 10.0.0.2, 00:00:19, Serial0/1

To complete the second part of this task, you need to modify default administrative distance values. You cannot use the cost because the route via the Frame Relay WAN is internal and while the route via the LAN is external. Internal will always be preferred over external. This task is completed by modifying OSPF process ID 2s administrative distance on R4. Prior to configuration changes, the routing table on R4 shows the following entries:

R4#show ip route ospf
150.1.0.0/24 is subnetted, 1 subnets
O IA    150.1.1.0 [110/65] via 10.0.0.1, 00:04:41, Serial0/0
150.5.0.0/16 is variably subnetted, 2 subnets, 2 masks
O       150.5.5.2/32 [110/1] via 150.5.5.2, 00:29:22, FastEthernet0/0

This task is completed as follows:

R4(config)#router ospf 2
R4(config-router)#distance ospf external 100
R4(config-router)#exit

Following this change, the routing table on R4 shows the following entries:

R4#show ip route ospf
150.1.0.0/24 is subnetted, 1 subnets
O E2    150.1.1.0 [100/65] via 150.5.5.2, 00:00:42, FastEthernet0/0
150.5.0.0/16 is variably subnetted, 2 subnets, 2 masks
O       150.5.5.2/32 [110/1] via 150.5.5.2, 00:00:42, FastEthernet0/0

Final Router Configurations

R1

 

R1#term len 0
R1#sh run
Building configuration…

Current configuration : 1090 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 150.1.1.1 255.255.255.0
ip ospf 1 area 1
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1
ip address 10.0.0.1 255.255.255.0
encapsulation frame-relay
ip ospf 1 area 0
frame-relay map ip 10.0.0.2 102 broadcast
frame-relay map ip 10.0.0.4 104 broadcast
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
passive-interface FastEthernet0/0
neighbor 10.0.0.2
neighbor 10.0.0.4
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R1#

R2

 

R2#term len 0
R2#sh run
Building configuration…

Current configuration : 1426 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 150.5.5.2 255.255.255.0
ip ospf network point-to-multipoint
ip ospf 2 area 0
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface Serial0/1
ip address 10.0.0.2 255.255.255.0
encapsulation frame-relay
ip ospf priority 0
ip ospf 1 area 0
frame-relay map ip 10.0.0.1 201 broadcast
frame-relay map ip 10.0.0.4 201
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute ospf 2 subnets route-map OSPF2-INTO-OSPF1
!
router ospf 2
router-id 22.22.22.22
log-adjacency-changes
redistribute ospf 1 subnets route-map OSPF1-INTO-OSPF2
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
route-map OSPF1-INTO-OSPF2 deny 10
match tag 444
!
route-map OSPF1-INTO-OSPF2 permit 20
set tag 222
!
route-map OSPF2-INTO-OSPF1 deny 10
match tag 444
!
route-map OSPF2-INTO-OSPF1 permit 20
set tag 222
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R2#

R3

 

R3-Frame-Relay-Switch#term len 0
R3-Frame-Relay-Switch#sh run
Building configuration…

Current configuration : 1556 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3-Frame-Relay-Switch
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
frame-relay switching
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
description ‘Connected To R1 Serial 0/1’
no ip address
encapsulation frame-relay
clock rate 128000
frame-relay intf-type dce
frame-relay route 102 interface Serial1/1 201
frame-relay route 104 interface Serial1/2 401
!
interface Serial1/1
description ‘Connected To R2 Serial 0/1’
no ip address
encapsulation frame-relay
clock rate 128000
frame-relay intf-type dce
frame-relay route 201 interface Serial1/0 102
!
interface Serial1/2
description ‘Connected To R4 Serial 0/0’
no ip address
encapsulation frame-relay
clock rate 128000
frame-relay intf-type dce
frame-relay route 401 interface Serial1/0 104
!
interface Serial1/3
no ip address
shutdown
!
interface Serial1/4
no ip address
shutdown
!
interface Serial1/5
no ip address
shutdown
!
interface Serial1/6
no ip address
shutdown
!
interface Serial1/7
no ip address
shutdown
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R3-Frame-Relay-Switch#

R4

 

R4#term len 0
R4#sh run
Building configuration…

Current configuration : 1463 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 150.5.5.4 255.255.255.0
ip ospf network point-to-multipoint
ip ospf 2 area 0
duplex auto
speed auto
!
interface Serial0/0
ip address 10.0.0.4 255.255.255.0
encapsulation frame-relay
ip ospf priority 0
ip ospf 1 area 0
frame-relay map ip 10.0.0.1 401 broadcast
frame-relay map ip 10.0.0.2 401
!
interface Serial0/1
no ip address
shutdown
!
router ospf 1
router-id 4.4.4.4
log-adjacency-changes
redistribute ospf 2 metric 4 subnets route-map OSPF2-INTO-OSPF1
!
router ospf 2
router-id 44.44.44.44
log-adjacency-changes
redistribute ospf 1 subnets route-map OSPF1-INTO-OSPF2
distance ospf external 100
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
route-map OSPF1-INTO-OSPF2 deny 10
match tag 222
!
route-map OSPF1-INTO-OSPF2 permit 20
set tag 444
!
route-map OSPF2-INTO-OSPF1 deny 10
match tag 222
!
route-map OSPF2-INTO-OSPF1 permit 20
set tag 444
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R4#

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.