Displaying 2 results from an estimated 2 matches for "adsl3".
Did you mean:
adsl
2007 Nov 21
1
Load Balancing with secondary tables (not main as in the howto)
...ip route add doesn''t allow this?
Thanks in advance.
Note:
- Architecture:
Linux box ---- eth3 --------------- | ----- ADSL1 (IP: 10.0.1.1)
| | ----- ADSL2 (IP: 10.0.2.1)
| | ----- ADSL3 (IP: 10.0.3.1)
eth0
# ip addr show dev eth3
5: eth3: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:16:17:9d:3d:b2 brd ff:ff:ff:ff:ff:ff
inet 10.0.1.2/24 brd 10.255.255.255 scope global eth3
inet 10.0.2.2/24 brd 10.255.255.255 s...
2005 Feb 04
2
Multiple gateways setup and timeout connections
...8.8.0/24 via 192.168.8.1 table 1
ip route add 192.168.3.0/24 via 192.168.3.1 table 1
ip route add 0/0 via $gw1 table 1
# ADSL2
ip rule add from $ip2 lookup 2
ip route add 192.168.8.0/24 via 192.168.8.1 table 2
ip route add 192.168.3.0/24 via 192.168.3.1 table 2
ip route add 0/0 via $gw2 table 2
# ADSL3
ip rule add from $ip3 lookup 3
ip route add 192.168.8.0/24 via 192.168.8.1 table 3
ip route add 192.168.3.0/24 via 192.168.3.1 table 3
ip route add 0/0 via $gw3 table 3
# Setup load balancing
ip route add default equalize scope global \
nexthop via $gw1 dev eth1 \
nexthop via $gw2 dev eth2 \...