search for: exa_ip

Displaying 1 result from an estimated 1 matches for "exa_ip".

Did you mean: exa_if
2003 Feb 21
0
dgd/iproute/iptables multihoming problem
...net J.K.L.101/27 brd J.K.L.127 scope global secondary eth2:2 inet J.K.L.102/27 brd J.K.L.127 scope global secondary eth2:3 I use the following to set up routing and NAT (relevant 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 }'' | he...