Displaying 2 results from an estimated 2 matches for "net_ext_int2".
Did you mean:
net_ext_int1
2005 Jan 18
2
failover works - but balancing does not
...nternal IP
NET_INT_IP=192.168.0.101
# Internal Subnet
NET_INT_SUB=/24
# Internal Network
NET_INT_NET=192.168.0.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...
2004 May 08
1
Dual Multipath DSL Script Problem!
...le 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 default nexthop via $...