2016年3月12日 星期六

HSRP & GLBP 設定範例

HSRP 設定:

Router 1 :
 interface GigabitEthernet0/0
  ip address 10.1.1.1 255.255.255.0
  duplex auto
  speed auto
 !
 interface GigabitEthernet0/1
  ip address 192.168.1.1 255.255.255.0
  duplex auto
  speed auto
  standby version 2
  standby 1 ip 192.168.1.254
  standby 1 priority 110
 !
 ip route 172.16.1.0 255.255.255.0 10.1.1.254
 !

Router 2 :
  interface GigabitEthernet0/0
   ip address 10.1.1.2 255.255.255.0
   duplex auto
   speed auto
  !
  interface GigabitEthernet0/2
   ip address 192.168.1.2 255.255.255.0
   duplex auto
   speed auto
   standby version 2
   standby 1 ip 192.168.1.254
   standby 1 priority 90
  !
  ip route 172.16.1.0 255.255.255.0 10.1.1.254
  !

Router 3 :
  interface GigabitEthernet0/0
   ip address 10.1.1.254 255.255.255.0
   duplex auto
   speed auto
  !
  interface GigabitEthernet0/1
   ip address 172.16.1.254 255.255.255.0
   duplex auto
   speed auto
  !
  ip route 192.168.1.0 255.255.255.0 10.1.1.1 
  ip route 192.168.1.0 255.255.255.0 10.1.1.2
  !

沒有留言:

張貼留言