I've been wanting to set-up IPMP on Solaris 10 and I've been receiving PMs on how to do it too.
These here arre examples.
So here goes...
Setting IPMP with 2 physical ethernet using 3 IP Address
# more /etc/hosts
127.0.0.1 localhost
192.168.0.2 server1
192.168.0.3 server1-bge0
192.168.0.4 server1-bge1
# more /etc/netmasks
192.168.0.0 255.255.255.0
# more /etc/defaultrouter
192.168.0.1
# more /etc/hostname.bge0
server1 netmask + broadcast + group ipmp0 up \
addif server1-bge0 deprecated -failover netmask + broadcast + up
# more /etc/hostname.bge1
server1-bge1 deprecated -failover netmask + broadcast + group ipmp0 up
Now we have 3 IP address, 2 physical (192.168.0.3 & 192.168.0.4) and 1 virtual (192.168.0.2), if one of physical ip has disrupted, we still have 192.168.0.2 alive.
# reboot
Setting IPMP with 2 physical ethernet using 1 IP address
# more /etc/hosts
127.0.0.1 localhost
192.168.0.224 server1 loghost
# more /etc/hostname.bge0
server1 netmask + broadcast + group ipmp0 up
# more /etc/hostname.bge1
group ipmp0 up
# reboot
Sunday, March 8, 2009
Solaris 10 and IPMP
Labels:
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment