Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Lloyd Keen on July 31, 2002, 06:39:29 AM
-
Can the network be restarted whilst people are working away with databases open etc? If not what is the proper command to just restart the external interface (eth1)
-
I'm not 100% sure but try :-
ifdown eth1
followed by
ifup eth1
Regards,
Kelvin
-
Don't think that'd be a good idea with files open!
-
Hi Michael,
I think you misunderstand. Llyod was asking to restart the external interface. Issuing an ifdown eth1 and then ifup eth1 does not interfere with open files on the internal interface (try it yourself, I did !).
Kelvin
-
i'm not readily familiar with e-smith/SME Server, but... it seems based on RedHat 7.x. so... with that being said... on RedHat 7.x to restart the network you would (logged in as root):
/etc/rc.d/init.d/network restart
or
service network restart
which is a script (that resides in /sbin) that calls the example above.
you could possibly use the reload option instead. it is supposed to re-init network devices without down'ing them first. i just always use restart.
-
Thanks guys, the ifdown eth1 method suggested by Kelvin appears to be the safest method. Many thanks