Hi All,

I want to use two Uplinks from different ISP's on a single Linux box and
do the bandwidth aggregation  

 

I have used the following link to do the routing for multiple uplinks.

 

http://lartc.org/howto/lartc.rpdb.multiple-links.html#AEN298

 

I have used below route commands to perform the same. I have added these
lines to rc.local. Because I don't know how to permanently add the
routes. I think in /etc/sysconfig/satatic-routes. But, don't know about
the syntax. Anyhow, these commands are working. Because my internet is
working without specifying the gateway in /etc/network file.

 

ip route add 61.247.237.0 dev eth0 src 61.247.237.121 table 1

ip route add default via 61.247.237.1 table 1

ip route add 202.88.146.0 dev eth2 src 202.88.146.40 table 2

ip route add default via 202.88.146.1 table 2

ip route add 61.247.237.0 dev eth0 src 61.247.237.121

ip route add 202.88.146.0 dev eth2 src 202.88.146.40

ip route add default via 61.247.237.1

ip rule add from 61.247.237.121 table 1

ip rule add from 202.88.146.40 table 2

ip route add default scope global nexthop via 61.247.237.1 dev eth0
weight 1 nexthop via 202.88.146.1 dev eth2 weight 1

 

But all the traffic is going through eth0. when I try to do the ping
gateway of eth2 I got the following result.

 

ping 202.88.146.1

PING 202.88.146.1 (202.88.146.1) from 202.88.146.40: 56(84) bytes of
data.

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

 

I think something to do with my firewall.  I am using IPTABLES. It's a
Red Hat 7.3 Box.

 

Please Suggest....

 

Thanks and Regards,

Vineet

 

 

_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to