测试拓扑
一、预配置:
1、R1、R5充当 PC ,设置网关;
R1
!
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
duplex full
!
ip route 0.0.0.0 0.0.0.0 12.1.1.2
R2
!
interface FastEthernet0/0
ip address 45.1.1.5 255.255.255.0
duplex full
!
ip route 0.0.0.0 0.0.0.0 45.1.1.4
!
2、R2,R3,R4,R6运行 IGP (OSPF area 0)。
!
interface FastEthernet0/0
ip address 12.1.1.2 255.255.255.0
ip pim dense-mode
duplex full
!
interface FastEthernet1/0
ip address 23.1.1.2 255.255.255.0
duplex full
!
router ospf 110
router-id 1.1.1.2
log-adjacency-changes
redistribute connected metric-type 1 subnets
network 1.1.1.2 0.0.0.0 area 0
network 23.1.1.2 0.0.0.0 area 0
!
[1] [2] [3] [4] 下一页