1

After we added a new routing for an interface permanently, with ex.: nmtui, we usually do a:

systemctl restart network

but can we add the new routing without a full network restart?

  • 1
    ip route changes are usually executed with immediate effect. – DopeGhoti Feb 7 '17 at 20:11
  • we doesn't use the "ip" command, updated the question, thank you and sorry :) – PeterBill Feb 8 '17 at 15:01
  • 3
    You're going to have to use ip for immediate changes. The general idea is that a network service restart is for bootstrapping the system (or testing it) and you use ip to make changes that will be lost on boot. I would suggest you use ip route to change the routing settings right now and modify the persistent service configuration as appropriate for the next time the system boots. – Bratchley Feb 8 '17 at 15:13
  • but what if we mistype the permanent rules? :) aren't there any offical, more reliable way? – PeterBill Feb 8 '17 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.