Base Configs:
--------------------------------------------- On R1
en
conf t
!
!
host R1
!
Default inter s0/0
!
int s0/0
encap frame
!
int s0/0.123 M
ip addr 10.1.1.1 255.255.255.0
frame map ip 10.1.1.2 102 b
frame map ip 10.1.1.3 103 b
!
int s0/0
no shut
!
int lo0
ip addr 1.1.1.1 255.0.0.0
end
-------------------------------------------- On R2
en
conf t
!
!
host R2
!
Default inter s0/0
!
int s0/0
encap frame
!
ip addr 10.1.1.2 255.255.255.0
frame map ip 10.1.1.1 201 b
no frame inver
no shut
!
!
int lo0
ip addr 2.2.2.2 255.0.0.0
end
------------------------------------------- On R3
en
conf t
!
!
host R3
!
Default inter s0/0
!
int s0/0
encap frame
!
ip addr 10.1.1.3 255.255.255.0
frame map ip 10.1.1.1 301 b
no frame inver
no shut
!
!
int lo0
ip addr 3.3.3.3 255.0.0.0
end
================================
RIP Configs:
R1#sh run | sec rip
router rip
version 2
network 1.0.0.0
network 10.0.0.0
no auto-summary
R2#sh run | s rip
router rip
version 2
network 2.0.0.0
network 10.0.0.0
no auto-summary
R2#
R3#sh run | se router rip
router rip
version 2
network 3.0.0.0
network 10.0.0.0
no auto-summary
Verify configs:
R1#sh ip route rip
R 2.0.0.0/8 [120/1]
via 10.1.1.2, 00:00:19, Serial0/0.123
R 3.0.0.0/8 [120/1]
via 10.1.1.3, 00:00:23, Serial0/0.123
R2#sh ip route rip
R 1.0.0.0/8 [120/1]
via 10.1.1.1, 00:00:22, Serial0/0
R3#sh ip route rip
R 1.0.0.0/8 [120/1]
via 10.1.1.1, 00:00:18, Serial0/0
R3#
Note: the spoke routers do not see the each other’s loopback’s.
this is because of IP split horizon. The Hub is configured as a multipoint interface,
then split horizon is enabled. If the hub is configured just using the physical
interface, then split horizon is disabled.
Verification:
R1#sh ip interface serial 0/0.123
Serial0/0.123 is up, line protocol is up
Split horizon is
enabled
R2#sh ip interface s0/0
Serial0/0 is up, line protocol is up
Split horizon is disabled
R3#sh ip interface
ser0/0
Serial0/0 is up, line
protocol is up
Split horizon is disabled
Solution:
R1(config)#interface serial
0/0.123
R1(config-subif)#no ip
split-horizon
Note: now routers show up for the
other routers Lo interfaces.
R3#sh ip route rip
R 1.0.0.0/8 [120/1] via 10.1.1.1, 00:00:11, Serial0/0
R 2.0.0.0/8 [120/2] via 10.1.1.2, 00:00:11,
Serial0/0
R3#
R2#sh ip route rip
R 1.0.0.0/8 [120/1] via 10.1.1.1, 00:00:15,
Serial0/0
R 3.0.0.0/8 [120/2] via 10.1.1.3, 00:00:15,
Serial0/0
R2#
Note:
I still can’t ping the loopbacks
R3#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to
2.2.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R3#
R2#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to
3.3.3.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#
Even though the prefixes are in
the routing table now, that means the control plane worked. The forwarding
plane or data plane does not work. Note the next hop for the routes didn’t change.
This is because R2 and R3 do not have L2 reachability to the S0/0 on each
router the data plane failed
The solution:
R3(config)#interface serial 0/0
R3(config-if)#frame-relay map ip 10.1.1.2 301
R2(config)#interface serial 0/0
R2(config-if)#frame-relay map ip 10.1.1.3 201
R3#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to
2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5),
round-trip min/avg/max = 1/22/76 ms
R3#
R2#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to
3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5),
round-trip min/avg/max = 1/30/132 ms
R2#
No comments:
Post a Comment