How to configure "secondary" route and dual homed RedHat host?

yccdadmins
yccdadmins used Ask the Experts™
on
Hello all,

I have a RH Linux box that is dual homed.  We have been all over the net trying to find out how to configure a static route for the second network.  All we are finding is how to set up the "default route" and that is not what we need.  We need to set a static, permanent route that says everything from a specific IP range goes out the second NIC.

Help?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This would look like this:

route add -net <source-ip-net> netmask <netmask> dev <second NIC>

Author

Commented:
Thank you mbertl!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial