Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've simple question here on routing.
After making an changes (add/modify/delete) to /etc/static.routes, what command should we use to reload the routing table?
Looks like the OP needs to do a little more Googling, as this sure sounds like homework, and all the answers to questions like this are very easily answerable without having to ask others to answer them for you.
You also haven't even told us what operating system you're even referring to either (though usually teaching courses are centered around RHEL or CentOS, are they not?) -- and at least one of the commands shown above, does not even apply to a good number of OS's.
If this is not homework, then please provide more detail about what you're trying to accomplish, what Linux you're using, what you've tried so far, and show the output of the commands you have tried, including any error messages.
If this *is* homework, you'll do yourself a big favor by doing it yourself, and referencing the course material provided for you.
best option is to restart network service by executing following command:
#service network restart
Beware if doing this via an SSH session. If things change in certain ways, the session may get disconnected. And the SIGHUP from that may cause the command to be interrupted, leaving you without access. If you must connect by the network to do it, run the command within a screen session to avoid the SIGHUP effect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.