路由器配置
track 1 interface GigabitEthernet0/1 line-protocol
delay down 5 up 5
!
track 2 interface FastEthernet0/0/0 line-protocol
delay down 5 up 5
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
!
interface GigabitEthernet0/0
ip address 10.4.56.241 255.255.252.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
description jinboda_liantong
ip address 198.9.1.150 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/0/0
description jinboda_dianxin
ip address 198.9.2.150 255.255.255.252
ip ospf cost 50
duplex auto
speed auto
!
interface FastEthernet0/0/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
network 10.4.56.0 0.0.3.255 area 7
network 198.9.1.148 0.0.0.3 area 7
network 198.9.2.148 0.0.0.3 area 7
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 11.88.254.1 255.255.255.255 198.9.1.149 track 1
ip route 11.88.254.1 255.255.255.255 198.9.2.149 track 2