Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Systems Management Tasks Archived Forums
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jan 3, 2010 6:47 AM by
Assigning ip address to a nic
Sep 16, 2009 5:08 AM
Is there any API or ioctl that i can use to assign ip addresses to nic's ? I don't want to use ifconfig in my program. I am on solaris 10.
This content has been marked as final.
Show 1 reply
Re: Assigning ip address to a nic
Jan 3, 2010 6:47 AM
in response to
root@fsbu ~# truss -t ioctl ifconfig e1000g1 172.16.220.10
ioctl(4, SIOCGLIFNUM, 0x08047508) = 0
ioctl(3, SIOCGLIFNETMASK, 0x0806D330) = 0
ioctl(3, SIOCSLIFNETMASK, 0x0806D330) = 0
ioctl(3, SIOCSLIFADDR, 0x0806D330) = 0