From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lee, Myoung Ho" Date: Fri, 21 Dec 2001 06:02:16 +0000 Subject: [LARTC] Re: Can't use two uplinks on a linux box Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org There are three NICs on my linux(kernel 2.4.13), two of them are for adsl line(two uplinks) and the other is for NAT. Here is my network. +-------+ +---------+ | ISP | | ISP | +-------+ +---------+ 10.10.10.254 20.20.20.254 \ / \ / ppp0: 10.10.10.1 ppp1: 20.20.20.1 +------------+ | Linux | +------------+ eth2: 172.31.0.1/16 and I tried as: # ip route add 10.10.10.254 dev ppp0 table 200 # ip route add default via 10.10.10.254 dev ppp0 table 200 # ip route add 20.20.20.254 dev ppp1 table 100 # ip route add default via 20.20.20.254 dev ppp1 table 100 # ip route add 10.10.10.254 src 10.10.10.1 dev ppp0 RTNETLINK answers: File exists ---> error 1 # ip route add 20.20.20.254 src 20.20.20.1 dev ppp1 RTNETLINK answers: File exists # ip route add default scope global nexthop via 10.10.10.254 nexthop via 20.20.20.254 RTNETLINK answers: Network is unreachable ----> error 2 Why the second error is occured? Here is my route table; # ip route show 10.10.10.254 dev ppp0 proto kernel scope link src 10.10.10.1 20.20.20.254 dev ppp1 proto kernel scope link src 20.20.20.1 172.31.0.0/16 dev eth2 proto kernel scope link src 172.31.0.1 127.0.0.0/8 dev lo scope link default via 10.10.10.254 dev ppp0 Why I can't set up equal cost multipath default route? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/