我的拓扑是这样的
R0 作为集线器
R1 和 R2 作为辐条
R2 的环回为 2.2.2.2,R3 的环回为 3.3.3.3
R1 可以 ping 这些地址,并在 RIPv2 中通告 2.0.0.0 和 3.0.0.0。
但是,当我运行“show ip route”时,R2 和 R3 似乎没有在其路由表中获取这些路由
自动摘要未生效,并且 RIP 在所有路由器上运行 v2。
任何帮助表示赞赏。
Router 1 (HUB)
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 172.12.123.1 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 102
frame-relay interface-dlci 103
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
version 2
network 2.0.0.0
network 3.0.0.0
network 172.12.0.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
-----------------------------------
R2 (SPOKE)
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback2
ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 172.12.123.2 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 201
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
version 2
network 2.0.0.0
network 172.12.0.0
no auto-summary
!
ip classless
ip route 172.12.123.3 255.255.255.255 172.12.123.1
ip route 2.2.2.2 255.255.255.255 172.12.123.1
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
------------------------------
R3
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback3
ip address 3.3.3.3 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 172.12.123.3 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 301
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
version 2
network 3.0.0.0
network 172.12.0.0
no auto-summary
!
ip classless
ip route 172.12.123.2 255.255.255.255 172.12.123.1
ip route 3.3.3.3 255.255.255.255 172.12.123.1
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
编辑:是不是因为 R1 正在通过 S2/0 学习环回,所以它不会将它们通告出去?
Edit2:我收回了,接口正在运行帧中继,这不可能吗?
