reseting NIC interface settings
If I need to change IP settings on Solaris 10 I need to change following files:
Code:
/etc/inet/ipnodes 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) |
That should be:
Code:
svcadm restart network/physical |
you are missing /etc/hostname.NIC
NIC being your type of NIC (ce0, qfe0, bge0, etc) as far as i know ifconfig is the only way to change the ips without a reboot. but its not hard... ex: ifconfig ce0 inet 192.168.0.43 netmask 255.255.255.0 up |
All times are GMT -5. The time now is 07:56 PM. |