Rita Byrne
asked on
Solaris: how to set which network card comes up
I've got two NICs in a Server, bge0 & bge1. I only want one UP at a time; that was bge0 but has now been changed to bge1. Problem is that when the Server is rebooted, bge0 is UP, not bge1. Have to bring it up manually with ifconfig. How can I get it to default to bge1?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ganjos, the asker asked how to preserve these changes across reboot.
Parparov is correct. Here is an official link on the use of /etc/hostname.interface files from Oracle.
http://download.oracle.com/docs/cd/E19455-01/806-0916/ipconfig-13/index.html
http://download.oracle.com/docs/cd/E19455-01/806-0916/ipconfig-13/index.html
ASKER
Thanks for all feedback. I'd copied hostname.bge0 to hostname.bge1; I guess if both exist '0' takes precedence.
# ifconfig bge1 plumb
# ifconfig bge1 up
# ifconfig -a
To bring bge0 down
# ifconfig bge0 down
# ifconfig bge0 unplumb
# ifconfig -a