If I need to change IP settings on Solaris 10 I need to change following files:
Code:
/etc/inet/ipnodes
/etc/inet/netmasks
/etc/inet/hosts
/etc/defaultrouter
That works for me fine after reboot... but what I wonder: is there anyway to reset NIC without rebooting whole OS ?
I know I can do it with ifconfig command... but there must be some mechanism that uses those files above.
(Like in Slackware - u can change IP in /etc/rc.d/inet1.conf then execute /etc/rc.d/inet1 restart. This will ensure me that changes made in conf. files r OK without rebooting whole OS)