我已经在两个区域之间配置了 EIGRP 和 STATIC 协议,并在区域边界路由器上配置了这两种协议。不幸的是,我无法在两个区域之间 ping,网络配置正确,并且区域内的网络之间的通信很容易发生,
我已经按照教给我的方式编写了以下命令
router eigrp 99
redistribute static metric 10000 10 255 100 1000
和
ip route 0.0.0.0 255.255.255.255 124.29.242.38
是的,静态中的通过路由124.29.242.38是正确的并且向上的。
编辑

最上面突出显示的路由器是区域边界路由器,右侧为 EIGRP,左侧为 STATIC
和sh running-configuration
Router#sh running-config
Building configuration...
.
.
!
interface Serial0/0/0
ip address 124.29.242.37 255.255.255.252
clock rate 64000
!
interface Serial0/0/1
ip address 180.92.128.193 255.255.255.252
clock rate 64000
!
interface Serial0/1/0
ip address 124.29.242.33 255.255.255.252
clock rate 64000
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router eigrp 99
redistribute static metric 10000 10 255 100 1000
network 180.92.0.0
network 124.0.0.0
no auto-summary
!
ip classless
ip route 124.29.242.40 255.255.255.248 124.29.242.38
ip route 124.29.242.48 255.255.255.252 124.29.242.38
ip route 124.29.242.52 255.255.255.252 124.29.242.38
ip route 124.29.242.56 255.255.255.252 124.29.242.38
ip route 192.168.10.0 255.255.255.0 124.29.242.38
ip route 192.168.20.0 255.255.255.0 124.29.242.38
ip route 192.168.30.0 255.255.255.0 124.29.242.38
ip route 0.0.0.0 0.0.0.0 124.29.242.38
!
.
.
!
end
sh running-configuration用于左侧路由器STATIC
Router#sh running-config
Building configuration...
.
.
interface FastEthernet0/0
ip address 124.29.242.41 255.255.255.248
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 124.29.242.38 255.255.255.252
clock rate 2000000
!
interface Serial0/0/1
ip address 124.29.242.49 255.255.255.252
clock rate 64000
!
interface Serial0/1/0
ip address 124.29.242.53 255.255.255.252
clock rate 64000
!
interface Serial0/1/1
ip address 124.29.242.57 255.255.255.252
clock rate 64000
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 192.168.10.0 255.255.255.0 124.29.242.50
ip route 192.168.20.0 255.255.255.0 124.29.242.54
ip route 192.168.30.0 255.255.255.0 124.29.242.58
!
.
.
!
end
右路由器EIGRP的 sh running-configuration
Router#sh running-config
Building configuration...
.
.
!
interface FastEthernet0/0
ip address 180.92.128.201 255.255.255.248
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 180.92.128.194 255.255.255.252
clock rate 2000000
!
interface Serial0/1/1
ip address 180.92.128.198 255.255.255.252
clock rate 2000000
!
interface Serial0/2/0
ip address 180.92.128.209 255.255.255.252
clock rate 64000
!
interface Serial0/2/1
ip address 180.92.128.213 255.255.255.252
clock rate 64000
!
interface Serial0/3/0
ip address 180.92.128.217 255.255.255.252
clock rate 64000
!
interface Serial0/3/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router eigrp 99
network 180.92.0.0
no auto-summary
!
ip classless
!
.
.
!
end