在上面这个拓扑中,要使用rip动态路由协议完成通信,在配置完后,网络没通,不知道问题出在哪里,以下是3台路由器的配置
<r1>dis cu
#
sysname r1
#
stp mode stp
stp instance 0 root primary
stp enable
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 10.43.1.1 255.255.255.252
#
interface Ethernet0/0/1
ip address 10.43.2.1 255.255.255.252
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/0.1
dot1q termination vid 10
ip address 192.168.10.254 255.255.255.0
arp broadcast enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
rip 1
version 2
network 192.168.0.0
network 10.0.0.0
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
[r2]dis cu
#
sysname r2
#
stp mode stp
stp instance 0 root secondary
stp enable
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 10.43.1.2 255.255.255.252
#
interface Ethernet0/0/1
ip address 10.43.3.1 255.255.255.252
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/0.1
dot1q termination vid 20
ip address 192.168.20.254 255.255.255.0
arp broadcast enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
rip 1
version 2
network 192.168.0.0
network 10.0.0.0
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
[r3]dis cu
#
sysname r3
#
stp mode stp
stp enable
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 10.43.2.2 255.255.255.252
#
interface Ethernet0/0/1
ip address 10.43.3.2 255.255.255.252
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/0.1
dot1q termination vid 30
ip address 192.168.30.254 255.255.255.0
arp broadcast enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
rip 1
version 2
network 192.168.0.0
network 10.0.0.0
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return