Multiple gateway routing!!
Sir,
We are having 5 more internet connections in my office and i am using 2 NIC cards and bind that 5 connections in eth0 like these :
IP
eth0 1.1.4.5-------- route add default gw 1.1.4.4
eth0:1 1.1.5.6-------- route add default gw 1.1.5.5
eth0:2 1.1.6.7-------- route add default gw 1.1.6.6
like these then eth1 contain some ip address 1.1.25.1 which was my client machines gateway.
Now i want to separate these gateways for particular systems in IPTABLES using SNAT rule.
1.1.25.5 to 1.1.25.15 through this gateway 1.1.4.4
1.1.25.16 to 1.1.25.26 through this gateway 1.1.5.5
can any one help me in this regard...
|