OSPF DOWN TO HSRP ROUTER CISCO




Berikut aku tuliskan konfigurasi  OSPF DOWN TO HSRP ROUTER CISCO untuk keperluan jaringan dengan menggunakan dua unit router untuk kepentingan rendudancy dengan model aktif-aktif.

Silahkan ikuti konfigurasi berikut :
Router 0
Building configuration...

Current configuration : 800 bytes
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0/0
ip address 192.168.1.11 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
standby 1 priority 200
standby 1 preempt
standby 2 ip 192.168.1.2
!
interface GigabitEthernet0/0/1
ip address 192.168.3.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end


Router 1
Building configuration...

Current configuration : 800 bytes
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst!
interface GigabitEthernet0/0/0
ip address 192.168.1.12 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
standby 2 ip 192.168.1.2
standby 2 priority 200
standby 2 preempt
!
interface GigabitEthernet0/0/1
ip address 192.168.2.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.2.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

Router2 (disimulasikan sebagai router Internet/ISP)
Building configuration...

Current configuration : 794 bytes
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface Loopback0
ip address 8.8.8.8 255.0.0.0
!
interface GigabitEthernet0/0/0
ip address 192.168.3.3 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/0/1
ip address 192.168.2.3 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 8.0.0.0 0.255.255.255 area 0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
Komputer
192.168.1.9
255.255.255.0
192.168.1.1

Selamat mencoba, semangat


Post a Comment

0 Comments