1

How to use two gateways with the same IP address?

view story
linux-howto

http://unix.stackexchange.com – I have to configure a NAT and manually split internet traffic between two gateways which are connected to a Linux box. There was no problem if each gateway has a specific IP address. I can do this by iproute2: ip route add default via 192.168.1.1 dev eth1 ip route add 2.3.4.5 via 192.168.0.1 dev eth0 ip route add 8.9.4.5 via 192.168.0.1 dev eth0 But my problem is so simple! I have no access to change the gateways addresses, and network ids. I just need to use two internet gateways with the same address from a Linux box, with kernel 3.2.0 and above. (HowTos)