Forum Discussion
What_Lies_Bene1
Cirrostratus
May 31, 2013etc/init.d/network restart
Should this command just restart the management interface only? I ask as in VE it appears to effect other interfaces too. Thanks
4 Replies
- Ajmal_2608
Nimbostratus
Being a linux kernel based system,this will restart the network services i.e. all the network interfaces
Thanks
Ajmal - What_Lies_Bene1
Cirrostratus
Thanks Ajmal. So, if I wanted to reset just the management interface I guess something like 'ifdown eth0 && ifup eth0" would be better. - Ajmal_2608
Nimbostratus
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
- What_Lies_Bene1
Cirrostratus
Thanks. && is clearly safer.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
