Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

configure interface as down during startup

807557Jun 22 2007 — edited Jun 26 2007
Hi,

I have struggled now for a while with the interface configuration on Solaris 10. I want to configure a logical interface with IP address and netmask, but not have it set to "up". I merely want to prepare it for failover, handled by a seperate program.
After finding out that the startup script will overrule some of my commands in the /etc/hostname.* file if I only have one line, I added a second one with the "addif" statement to add the virtual interface and set it explicitly to down. That still does not work though, because this line in the "net-physical" script:

# Configure the rest of the IPv4 interfaces automatically, quietly.
/sbin/ifconfig -adD4 auto-revarp netmask + broadcast + up

will bring all interfaces up. The only workaround I found, is to comment out that line (I don't have any other interfaces which would require that one). I cannot believe that this is the only way to achieve what I want. So maybe somebody could help me out what I am missing....?

Thanks,

iMax
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2007
Added on Jun 22 2007
3 comments
95 views