Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

This should be mind-numbingly simple and basic, and yet I couldn't find how to do it, either in "man ifconfig", in the OpenSolaris docs site, or Googling in desperation. I'm using OpenSolaris 2009.06.

When I try ifconfig e1000g0:0 10.10.10.1 netmask 255.0.0.0 up all addresses go kablooie instead. This happen whether the network is in "automatic" or "manual" mode.

Alternatively, I could use a way to set up two static IP addresses too.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try ifconfig e1000g0:1 blah... or ifconfig e1000g0 addif 10.10.10.1/16 instead - IIRC the zero alias/logical interface is special on Solaris.

share|improve this answer
    
"ifconfig e1000g0 addif" worked! Thanks! –  JCCyC Aug 5 '10 at 16:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.