46
Network Feature | Korenix
need to monitor link status, you will need to use linkbeat_use_polling keyword.
The following configuration tells
keepalived to monitor lan interface
port 1’s link status. When JetBox #1
lan port 1 link is down, both wan
and lan will turn into FAULT state.
Thus JetBox #2 will turn into
MASTER state, and route packet
between two interfaces.
JetBox9500 #1
JetBox9500 #2
linkbeat_use_polling
vrrp_sync_group VG2 {
group {
VI_WAN
VI_LAN
}
}
linkbeat_use_polling
vrrp_sync_group VG2 {
group {
VI_WAN
VI_LAN
}
}
vrrp_instance VI_WAN {
state MASTER
interface wan
virtual_router_id 151
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.3.1/24 brd
192.168.3.255 dev wan
}
}
vrrp_instance VI_WAN {
state BACKUP
interface wan
virtual_router_id 151
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.3.1/24 brd
192.168.3.255 dev wan
}
}
vrrp_instance VI_LAN {
state MASTER
interface
lan:1
virtual_router_id 152
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.2.1/24 brd
vrrp_instance VI_LAN {
state BACKUP
interface
lan:1
virtual_router_id 152
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.2.1/24 brd
Содержание JetBox5400 series
Страница 1: ...JetOS95 User Manual www korenix com...
Страница 5: ...Korenix Overview 5...
Страница 68: ...68 Appendix Korenix http www busybox net downloads BusyBox html...