hostname Branch1
!
!
no ip domain-lookup
!
!
no ip domain-lookup
!
interface FastEthernet0/0
ip address 10.10.4.1 255.255.254.0
duplex auto
speed auto
no shutdown
!
interface Serial0/0/0
ip address 172.16.7.2 255.255.255.252
no shutdown
!
interface Serial0/0/1
ip address 172.16.7.9 255.255.255.252
no shutdown
!
router ospf 2
passive-interface FastEthernet0/0
network 10.10.4.0 0.0.1.255 area 0
network 172.16.7.0 0.0.0.3 area 0
network 172.16.7.8 0.0.0.3 area 0
!
ip classless
!
line con 0
line vty 0 4
login
!
!
end
interface FastEthernet0/0
ip address 10.10.4.1 255.255.254.0
duplex auto
speed auto
no shutdown
!
interface Serial0/0/0
ip address 172.16.7.2 255.255.255.252
no shutdown
!
interface Serial0/0/1
ip address 172.16.7.9 255.255.255.252
no shutdown
!
router ospf 2
passive-interface FastEthernet0/0
network 10.10.4.0 0.0.1.255 area 0
network 172.16.7.0 0.0.0.3 area 0
network 172.16.7.8 0.0.0.3 area 0
!
ip classless
!
line con 0
line vty 0 4
login
!
!
end
Step 2: Load the following script onto the Branch2 router.
hostname Branch2
!
!
!
interface FastEthernet0/0
ip address 10.10.6.1 255.255.254.0
duplex auto
speed auto
no shutdown
!
interface Serial0/0/0
ip address 172.16.7.10 255.255.255.252
clock rate 64000
no shutdown
!
interface Serial0/0/1
ip address 172.16.7.6 255.255.255.252
!
router ospf 1
log-adjacency-changes
passive-interface Serial0/0/1
network 172.16.7.4 0.0.0.3 area 0
network 172.16.7.8 0.0.0.3 area 0
network 10.10.6.0 0.0.3.255 area 0
!hostname Branch2
!
!
!
interface FastEthernet0/0
ip address 10.10.6.1 255.255.254.0
duplex auto
speed auto
no shutdown
!
interface Serial0/0/0
ip address 172.16.7.10 255.255.255.252
clock rate 64000
no shutdown
!
interface Serial0/0/1
ip address 172.16.7.6 255.255.255.252
!
router ospf 1
log-adjacency-changes
passive-interface Serial0/0/1
network 172.16.7.4 0.0.0.3 area 0
network 172.16.7.8 0.0.0.3 area 0
network 10.10.6.0 0.0.3.255 area 0
ip classless
!
line con 0
line vty 0 4
login
!
!
end
Step 3: Load the following script onto the HQ router.
hostname HQ
!
!
no ip domain-lookup
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.252.0
duplex auto
speed auto
no shutdown
!
!
interface Serial0/0/0
ip address 172.16.7.1 255.255.255.252
no shutdown
!
interface Serial0/0/1
ip address 172.16.7.5 255.255.255.252
clock rate 64000
no shutdown
!
interface Loopback1
ip address 209.165.202.129 255.255.255.252
!
router ospf 1
log-adjacency-changes
passive-interface FastEthernet0/0
passive-interface Loopback1
network 172.16.7.0 0.0.0.3 area 0
network 172.16.7.4 0.0.0.3 area 0
network 10.10.0.0 0.0.7.255 area 0
!
ip classless
ip route 0.0.0.0 0.0.0.0 loopback1
!
line con 0
line vty 0 4
login
!
!
end
Tidak ada komentar:
Posting Komentar