Solved

Manually change routing table in linux

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

22 Experts available now in Live!

Get 1:1 Help Now