activate ethernet interface
# ifconfig ce0 plumb
# ifconfig ce1 plumb
Giving IP Address and IP Multipathing
# ifconfig ce0 10.172.75.2 netmask 255.255.255.0 broadcast + group ipmp1
up
# ifconfig ce1 group ipmp1 up
Now we only have 1 IP address ( 10.172.75.2 ).
If this setting keep on when system reboot, check all following conf
file.
# more /etc/hosts
127.0.0.1 localhost
10.172.75.2 server01
# more /etc/netmasks
10.172.75.0 255.255.255.0
#more /etc/defaultrouter
10.172.75.1
# more /etc/hostname.ce0
server01 netmask + broadcast + group ipmp1 up
For active-active configuration :
# more /etc/hostname.ce1
group ipmp1 up
For active-passive configuration :
# more /etc/hostname.ce1
group ipmp1 standby up
Check network interface status for active-active :
# ifconfig -a
ce0: flags00843 mtu 1500 index 4
inet 10.172.75.2 netmask ffffff00 broadcast 10.172.75.255
groupname ipmp1
ether xx:xx:xx:xx:xx:xx
ce1: flags00843 mtu 1500 index 5
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname ipmp1
ether xx:xx:xx:xx:xx:xx
Check network interface status for active-standby :
# ifconfig -a
ce0: flags00843 mtu 1500 index 4
inet 10.172.75.2 netmask ffffff00 broadcast 10.172.75.255
groupname ipmp1
ether xx:xx:xx:xx:xx:xx
ce0:1: flags00843 mtu 1500 index 4
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
ce1: flagsi000842 mtu 0 index 5
inet 0.0.0.0 netmask 0
groupname ipmp1
ether xx:xx:xx:xx:xx:xx TopBest Answer 0
Mark this reply as the best answer?
(Choose carefully, this can't be changed)
Yes | No
Gary Jarrell replied Mar 23, 2010
Requires two hostname.xxx files
Requires 3 IP addresses on the same LAN, and you must be able to ping the default GW
hostname.<primary>
<real ip> deprecated -failover netmask <netmask> broadcast <broadcast> group <GROUP> up \
addif <virtual> netmask <netmask> broadcast <vip> up
hostname.<secondary>
<real ip> netmask broadcast group <GROUP> deprecated -failover standby up
to verify bounce the box. You can also restart the network services and it should pick it up as well.
|