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
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Community (OTN)
Systems Management Tasks Archived Forums
This discussion is archived
on Jan 3, 2010 12:47 PM by 807735
Assigning ip address to a nic
Sep 16, 2009 10: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 12:47 PM
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