From: bob@nleaudio.com
To: lartc@vger.kernel.org
Subject: [LARTC] Routing with two net connections
Date: Sun, 20 May 2001 01:31:03 +0000 [thread overview]
Message-ID: <marc-lartc-99032234812563@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]
Hello,
I've got a question about routing under the 2.2.15 kernel.
I have two connections to the internet, say 1.2.3.4 (gateway 1.2.3.1) and
20.20.20.20 (gateway 20.20.20.1).
Currently, it seems I can only set one "default" gateway. So if traffic
comes into 1.2.3.4, and my default gw is 20.20.20.1, all the return traffic
goes out 20.20.20.1.
The weird thing is that if I set my default gw to be 20.20.20.1, pings to
20.20.20.20 work fine, and pings to 1.2.3.4 work ok (the return goes through
20.20.20.1). However, if I have my gw set to 1.2.3.1, I can ping 1.2.3.4 ok,
but not 20.20.20.20. I see the return ping from 20.20.20.20 going out to
the 1.2.3.4 interface, but it never seems to get back. Could this be some sort
of ISP configuration issue? In my case, the 1.2.3.4 line goes to a dsl router.
Can Linux's routing be configured such that incoming traffic (http, mail, etc..)
on 1.2.3.4 returns back thru 1.2.3.1, and traffic coming into 20.20.20.20
returns back thru its same interface (20.20.20.1)?
Bob
reply other threads:[~2001-05-20 1:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-99032234812563@msgid-missing \
--to=bob@nleaudio.com \
--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 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.