From: "Lee, Myoung Ho" <backdrum@i-top.co.kr>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: Can't use two uplinks on a linux box
Date: Fri, 21 Dec 2001 06:02:16 +0000 [thread overview]
Message-ID: <marc-lartc-100891533520727@msgid-missing> (raw)
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/
next reply other threads:[~2001-12-21 6:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-21 6:02 Lee, Myoung Ho [this message]
2001-12-21 22:19 ` [LARTC] Re: Can't use two uplinks on a linux box Jerome Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-100891533520727@msgid-missing \
--to=backdrum@i-top.co.kr \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox