Solved

Manually change routing table in linux

Posted on 2006-07-08
3
547 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now