Configuring OSPF Multiarea
Configuration R1:
enable
configure terminal
hostname R1
!
interface FastEthernet0/1
ip address 172.16.10.1 255.255.255.0
no shutdown
!
interface Serial0/0
ip address 172.16.20.1 255.255.255.0
no shutdown
exit
!
router ospf 100
log-adjacency-changes
passive-interface FastEthernet0/1
network 172.16.10.0 0.0.0.255 area 1
network 172.16.20.0 0.0.0.255 area 1
!
end
write memory
!
Configuration R2:
enable
configure terminal
hostname R2
!
interface FastEthernet0/1
ip address 172.16.30.1 255.255.255.0
no shutdown
!
interface Serial0/0
ip address 192.168.10.2 255.255.255.0
no shutdown
!
interface Serial0/1
ip address 172.16.20.2 255.255.255.0
no shutdown
clock rate 64000
!
!
router ospf 100
log-adjacency-changes
passive-interface FastEthernet0/1
network 172.16.20.0 0.0.0.255 area 1
network 172.16.30.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 2
!
!
end
write memory
!
Configuration R3:
enable
configure terminal
hostname ISP
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
no shutdown
!
interface Serial0/0
ip address 192.168.10.1 255.255.255.0
no shutdown
clock rate 2000000
!
router ospf 100
log-adjacency-changes
passive-interface FastEthernet0/1
network 192.168.20.0 0.0.0.255 area 2
network 192.168.10.0 0.0.0.255 area 2
!
end
write memory
!
Nhận xét
Đăng nhận xét