search for: net_ext_gw2

Displaying 2 results from an estimated 2 matches for "net_ext_gw2".

Did you mean: net_ext_gw1
2005 Jan 18
2
failover works - but balancing does not
....0 # First external interface NET_EXT_INT1=eth0 # First external IP NET_EXT_IP1=192.168.1.7 # First external interface''s gateway NET_EXT_GW1=192.168.1.1 # Second external interface NET_EXT_INT2=eth2 # Second external IP NET_EXT_IP2=192.168.1.3 # Second external interface''s gateway NET_EXT_GW2=192.168.1.1 echo "Flushing All Tables" $IPTABLES -F $IPTABLES -F -t nat $IPTABLES -F -t mangle $IPTABLES -X -t nat $IPTABLES -X -t mangle $IPTABLES -X $IPTABLES -t mangle -N ETH0 $IPTABLES -t mangle -F ETH0 $IPTABLES -t mangle -A ETH0 -j MARK --set-mark 1 $IPTABLES -t mangle -N ETH2 $IP...
2004 May 08
1
Dual Multipath DSL Script Problem!
...$NET_EXT_INT1 table 10 ip ru add fwmark 1 table 10 ip ro fl ca echo "Setting Mangle rules for eth2..." iptables -t mangle -A OUTPUT -o ! $NET_INT_INT -m random --average 50 -j eth2 iptables -t mangle -A PREROUTING -i $NET_INT_INT -m random --average 50 -j eth2 ip ro add default via $NET_EXT_GW2 dev $NET_EXT_INT2 table 20 ip ru add fwmark 2 table 20 ip ro fl ca echo "Setting up spoofing rules..." iptables -t nat -A POSTROUTING -o $NET_EXT_INT1 -j SPOOF_ETH1 iptables -t nat -A POSTROUTING -o $NET_EXT_INT2 -j SPOOF_ETH2 echo "Adding default route..." ip ro add def...