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

RE: Troube whith multiple isp conections



Title: Message

Ok, I think its balancing now, BUT, the problem is that Now I can not share Internet to my LAN, I have the following MASQUERADE:

/sbin/iptables -F

/sbin/iptables -t nat -F

echo 1 > /proc/sys/net/ipv4/ip_forward

/sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE 

 

 

My routes look like this:

 

172.25.25.0/24 dev eth0  scope link  src 172.25.25.3

192.168.1.0/24 dev eth3  scope link  src 192.168.1.1

200.53.101.0/24 dev eth1  scope link  src 200.53.101.235

192.168.123.0/24 dev eth2  scope link  src 192.168.123.244

172.25.25.0/24 dev eth0  scope link  src 172.25.25.3

192.168.1.0/24 dev eth3  scope link  src 192.168.1.1

200.53.101.0/24 dev eth1  scope link  src 200.53.101.235

192.168.123.0/24 dev eth2  scope link  src 192.168.123.244

default via 172.25.25.1 dev eth0

172.25.25.0/24 dev eth0  scope link  src 172.25.25.3

192.168.1.0/24 dev eth3  scope link  src 192.168.1.1

200.53.101.0/24 dev eth1  scope link  src 200.53.101.235

192.168.123.0/24 dev eth2  scope link  src 192.168.123.244

default via 200.53.101.1 dev eth1

172.25.25.0/24 dev eth0  scope link  src 172.25.25.3

192.168.1.0/24 dev eth3  scope link  src 192.168.1.1

200.53.101.0/24 dev eth1  scope link  src 200.53.101.235

192.168.123.0/24 dev eth2  scope link  src 192.168.123.244

default via 192.168.123.1 dev eth2

0:      from all lookup local

32757:  from 192.168.123.244 lookup link3

32758:  from 200.53.101.235 lookup link2

32759:  from 172.25.25.3 lookup link1

32760:  from 192.168.123.244 lookup link3

32761:  from 200.53.101.235 lookup link2

32762:  from 172.25.25.3 lookup link1

32763:  from 192.168.123.244 lookup link3

32764:  from 200.53.101.235 lookup link2

32765:  from 172.25.25.3 lookup link1

32766:  from all lookup main

32767:  from all lookup default

 

Im Lost, Do I need to enable some special option in Kernel? Does it need a special way to route the traffic to the LAN?

 

Thanxs


Reply to: