routing to 2 different Internet connections

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,
 
I have iptables rules:
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o eth2 -j MASQUERADE
That will masquerade all packets going out of the two external interfaces.

How to make a routing with iproute2 to direct packets from
10.105.105.100-105 via eth0 and to direct packets from the rest of and
10.105.105.0/24 via eth2 ?

Thanks in advance
 
Rimas
 

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux