change ipaddress

Joined
Dec 28, 2009
Messages
5
Reaction score
0
Points
1
hi everyone,

I am developing an application to change IPADDRESS for my network card(device)

i am using command like :
1)ifconfig en5 192.168.2.99

2)sudo ifconfig en5 alias 192.168.2.99 netmask 255.255.255.255

After reboot the system ipaddress is not set to my card ie,it s not taking Persistent store.
is there any command to store ipaddress as Persistent. or is there any examples to change in plist.

Regards,
kiran.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top