Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17851

Force host IP traffic out of a specific interface on a multi-isp debian box.

$
0
0

I've been playing with this for a bit and can't get it working so I need someone to sanity check with me.. pleaaaaaaaase. I've looked at http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.simple.html but this doesn't include the NAT statements that I would use which I think is where I'm failing.

Basically I've got:

eth1--> INET1
eth2 --> INET2

eth3 --> local networks

The default gateway is currently on eth1. So currently everything in my 172.26.1.0/24 and 172.26.2.0/24 tries to egress via eth1 only.

What I want is 172.26.2.0/24 to egress publicly routable IP INET2 via NAT.

Can someone help with the general direction I should be taking? I'll post more information if it's required. Thanks,..

submitted by /u/d7fhudfu
[link] [comments]

Viewing all articles
Browse latest Browse all 17851

Trending Articles