Displaying 2 results from an estimated 2 matches for "exb_gw".
Did you mean:
exb_gk
2003 Feb 21
0
dgd/iproute/iptables multihoming problem
...nt excerpts shown).
EXA_IF=eth0
EXA_NET=`ip addr ls $EXA_IF | awk ''/inet/ { print $2 }'' | head -1`
EXA_IP=${EXA_NET//\/*/}
EXA_GW=A.B.C.225
EXA_RNG=A.B.C.230
EXB_IF=eth2
EXB_NET=`ip addr ls $EXB_IF | awk ''/inet/ { print $2 }'' | head -1`
EXB_IP=${EXB_NET//\/*/}
EXB_GW=J.K.L.97
EXB_RNG=J.K.L.102
INT_IF=eth1
INT_NET=`ip addr ls $INT_IF | awk ''/inet/ { print $2 }'' | head -1`
INT_IP=${INT_NET//\/*/}
ip rule add prio 50 table main
ip route del default table main 2>/dev/null
ip rule add priority 100 from $EXB_NET table EXB
ip route add default...
2003 Feb 21
0
Solved: dgd/iproute/iptables multihoming problem
Specifying a source for the multipath route solved the problem.
> ip rule add priority 200 table multi
should be
ip rule add prio 200 from $INT_NET table multi
> ip route add default table multi proto static \
> nexthop via $EXB_GW dev $EXB_IF weight 1 \
> nexthop via $EXA_GW dev $EXA_IF weight 1
g