Solved

Manually change routing table in linux

Posted on 2006-07-08
3
564 Views
Last Modified: 2010-03-18
Hi, how do I manually change the content of routing table in Linux? (for example,  I want to change current default gateway to another gateway connected to my network)

Thanks for help
0
Comment
Question by:caibeier
3 Comments
 
LVL 19

Accepted Solution

by:
alextoft earned 500 total points
ID: 17064767
route add default gw 123.123.123.123

0
 

Author Comment

by:caibeier
ID: 17066182
Thanks for help.  what is the difference between command "route" and "ip route"? why didn't you use "ip route"? are they interchangable?

Thanks again
0
 
LVL 26

Expert Comment

by:jar3817
ID: 17066506
Yes they're interchangable. the "ip" command is a replacement for some older utilities like router and ifconfig, but they all do the same thing. Check out the man page for route to see all the options.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question