Question : chnaing ip address

hi,

I have two interface card one on LAN:10.10.10.1 and the second one WAN:192.168.0.1. When changing the ip address on the second interface, I'm using a script to replace the file ifcfg-[....]  in /etc/sysconfig/network-scripts then what I do is restart the network service "service network restart".

My question, is it possible to not restart the "network service"? since this is also causing the first interface to go down...I wanted to know how to only restart the second interface after changing the file..

Cheers!
Linux version 2.6.22.14-72.fc6

Answer : chnaing ip address

You could use ifup and ifdown commands - ifdown eth1 then ifup eth1 replacing eth1 with the name of your nic
Random Solutions  
 
programming4us programming4us