Mailinglist Archive: opensuse (770 mails)

< Previous Next >
Re: [opensuse] Split Access two ISP's
Boyd Lynn Gerber wrote:
ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip rule add from $IP1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
#ip route add $P2_NET dev $IF2 src $IP2a table T2
ip route add default via $P2 table T2
ip rule add from $IP2 table T2
ip rule add from $IP2a table T2
#ip route add $P1_NET_MASK dev $IF1 src $IP1
#ip route add $P2_NET_MASK dev $IF2 src $IP2
#ip route add default via $P1
ip route add default via $P2

You can only have one default route.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References