|
BalanceNG operation as VRRP daemon on Solaris
nge0 interface configurationThe file /etc/hostname.nge0 contains the following line on both nodes: 172.17.2.64/24 -arp ether 00:00:5e:00:01:0e The effect is that both nodes use the VRRP ethernet address of virtual router 14 (last octet) while not responding to arp requests.
The configuration filesBoth configuration files are almost the same, they just differ in VRRP priority and in the "network real" address.
NodeA configuration file
// configuration taken Sun Jan 7 17:37:02 2007
// BalanceNG 1.736 (created 2007/01/07)
hostname NodeA
license TEST0611021 972bd16262ab0ae4cd2627f1203166d8
set localvirt 1
interface nge0
vrrp {
vrid 14
priority 201
network 1
}
network 1 {
addr 172.17.2.0
mask 255.255.255.0
real 172.17.2.63
virt 172.17.2.64
interface nge0
}
register network 1
enable network 1
// end of configuration
NodeB configuration file
// configuration taken Sun Jan 7 20:14:30 2007
// BalanceNG 1.736 (created 2007/01/07)
hostname NodeB
license TEST0611022 b74d38652975623d8358e6faa2b9abf5
set localvirt 1
interface nge0
vrrp {
vrid 14
priority 200
network 1
}
network 1 {
addr 172.17.2.0
mask 255.255.255.0
real 172.17.2.62
virt 172.17.2.64
interface nge0
}
register network 1
enable network 1
// end of configuration
Please contact us in case of further questions, errors or suggestions at info@inlab.de. |


