Web Hosting Talk







View Full Version : Changing default route


mpope
04-22-2002, 05:59 PM
Hello,

I have a machine that has two ethernet cards, and needs the default route out changed. It is running red hat 7.1. It is currently using eth0 for the default route, and needs to use eth1.

Any help would be greatly appreciated.

Thanks!

jahsh
04-22-2002, 06:44 PM
they have examples in the man pages for route:
man route
it will look something like this:
route add default gw yourgateway dev eth1