Hire me if you like: blake.irvin@gmail.com

Thursday, February 26, 2009

Making an OpenSolaris Client a DHCP Client with Multiple Interfaces

You can use nwam if you only have one interface, but if you have more...or an aggregate interface:

add 'dns' after 'files' in /etc/nsswitch.conf, in the section for host resolution

make sure you set up '/etc/resolv.conf'

add


/etc/hostname.[interface0]
/etc/hostname.[aggregate0]
/etc/dhcp.[interface0]
/etc/dhcp.[aggregate0]


then, do


svcadm disable network/physical:nwam; svcadm enable network/physical:default


make sure you do both commands at once, since this will temporarily break a remote connection

No comments:

Archive