Should this command just restart the management interface only? I ask as in VE it appears to effect other interfaces too. Thanks
Being a linux kernel based system,this will restart the network services i.e. all the network interfaces
Thanks
Ajmal
Thanks Ajmal. So, if I wanted to reset just the management interface I guess something like 'ifdown eth0 && ifup eth0" would be better.
Posted By What Lies Beneath on 06/03/2013 03:12 AM
Thanks Ajmal. So, if I wanted to reset just the management interface I guess something like 'ifdown eth0 && ifup eth0" would be better.
Yes that’s the command in case you need to bounce the interface in one go (use the down and up commands at the same time).
FYI… There are 2 options to run these command in a single line:
- && - ifdown eth0 && ifup eth0 (This will run the 2nd command only if the output of 1st is “True”
- Semicolon - ifdown eth0 ; ifup eth0 (This will run the 2nd command irrespective of the output of 1st command
Thanks. && is clearly safer.