From: Ole Laursen <olau@cs.aau.dk>
To: linux-kernel@vger.kernel.org
Cc: d507a@cs.aau.dk
Subject: Re: Isolating two network processes on same machine
Date: 25 Nov 2004 11:44:45 +0100 [thread overview]
Message-ID: <tv8k6saw6le.fsf@homer.cs.aau.dk> (raw)
In-Reply-To: <Pine.LNX.4.61.0411241113090.19813@chaos.analogic.com>
linux-os <linux-os@chaos.analogic.com> writes:
> I was going to say, set the netmask small enough so that both
> machines are on different networks and set default routes to
> your gateway....
Yeah, but that part of it is actually working as long as our processes
are running on different machines. The problem is that on the same
machine e.g. with this configuration
> > ifconfig eth0:0 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255
> > ifconfig eth0:1 10.0.1.2 netmask 255.255.255.0 broadcast 10.0.1.255
then the kernel somehow shortcircuits the routing table and doesn't
forward the packets to the default gateway, even though the two
addresses are on different subnets. It probably somehow knows that it
possesses both IPs itself, and then skip any further routing.
So basically, our problem is that the kernel is being too clever. If
we could just dumb it down or trick it somehow...
Thanks for your input,
--
Ole Laursen
http://www.cs.aau.dk/~olau/
next prev parent reply other threads:[~2004-11-27 0:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-24 15:10 Ole Laursen
2004-11-24 16:23 ` linux-os
2004-11-24 16:38 ` Lee Revell
2004-11-24 17:06 ` linux-os
2004-11-24 17:12 ` linux-os
2004-11-25 10:44 ` Ole Laursen [this message]
2004-11-24 20:39 ` Ross Biro
2004-11-25 11:48 ` Ole Laursen
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=tv8k6saw6le.fsf@homer.cs.aau.dk \
--to=olau@cs.aau.dk \
--cc=d507a@cs.aau.dk \
--cc=linux-kernel@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
Powered by JetHome