From: Gustavo Gibson da Silva dasilva@qualquer.elogica.com.br
To: lartc@vger.kernel.org
Subject: [LARTC] Can't use two links on a linux box
Date: Wed, 25 Oct 2000 21:01:32 +0000 [thread overview]
Message-ID: <marc-lartc-98373938216847@msgid-missing> (raw)
<PRE>Hi,
I have a linux box connected to two leased lines as follows:
_/\__/\_
/ \ +--------+ +------------+
( Internet )----+ Router | | SMTP server|
\_ __ _/ +----+---+ +------+-----+
\/ \/ | 200.200.200.254 |
100.100.100.2\ -+-------+----- ... ---------+--
100.100.100.1\ | 200.200.200.1
+-+--+--+
| Linux |
+---+---+ _/\__/\_
192.168.1.1 | / \
-+------( Intranet )
\_ __ _/
\/ \/
The router came first when there was a small intranet. Now the network
has grown very much and we were unable to upgrade our link speed because
the local telco is unable to provide a 128Kbps link. Then we decided to
install a linux box to act as a proxy server (squid) with a wanpipe card
and lease a frame-relay link. This new link would have a different IP
address and there would be two squids running. One would use the old
link and another the new one. In order to achieve that I first attached
the outgoing IP address for each squid to the propper network interface.
Then I followed Adv-Routing HowTo and tried the following:
# ip rule add from 100.100.100.1 table 200
# ip route add default via 100.100.100.2 table 200
# ip route add default via 200.200.200.1 table main
# ip route flush cache
I tried some traceroutes with the -s option to check whether this was
working but apparently it was not. I also tried to create the default
route via 200.200.200.1 on table 253 but it behaved just the same way.
Then I created it on a custom table (201) and added a rule for it. Then
the network was unreachable.
I tried the same things on kernel 2.2.14 (suse 6.4) and kernel 2.2.16
(on a modified redhat). I tried also on a machine with two network
cards. I also played with /proc/sys/net/ipv4/ip_forward.
The ip command version was ss991023 (suse 6.4) and ss001007 on redhat.
What am I doing wrong?
Thank you,
Gustavo.
--
"E pur si muove"
-- Galileo Galilei
</PRE>
next reply other threads:[~2000-10-25 21:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-25 21:01 Gustavo [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-10-26 10:11 [LARTC] Can't use two links on a linux box Arthur
2000-10-26 18:57 ` bert
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-98373938216847@msgid-missing \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.