netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* martian packet checks breaks multi-homing
@ 2003-07-01  7:37 Niklas Edmundsson
  2003-07-01  9:11 ` Stefan Rompf
  2003-07-01  9:22 ` Niklas Edmundsson
  0 siblings, 2 replies; 3+ messages in thread
From: Niklas Edmundsson @ 2003-07-01  7:37 UTC (permalink / raw)
  To: netdev


Hi!

We are setting up a multi homed server (currently running Linux
2.4.18) connected to several physical networks (due to the fact that
the server is a dhcp server too).

All clients talks to the main interface on the machine, routing is
done by the network equipment.

The problem is that when a client tries to talk to the main interface
of the server (not on the same network), the server tags the packets
as martian source and discards them! It's a perfectly valid packet
since the client is not even aware of the servers extra interface on
the network at this point and thus talks to the main interface via the
default gateway and the normal routing on the campus network.

This feature is desirable if you are doing some sort of routing or
firewalling when there are no reason to talk to the other interface,
but when doing multi-homing it's not what you want if you have an
environment where clients talks to a main interface of a machine to
establish communication (due to higher bandwidth or other reasons).

I haven't even been able to find a way to disable or circumvent the
check other than edit the source (fib_validate_source() is rather hard
to read by the way). It would be nice if there existed a runtime way
to disable it.

I have done this setup a number of times using Solaris and AIX boxes,
and it's a simple thing that really ought to work...


If things are unclear or I have forgotten/missed something just tell
me so and I'll try to clarify.


/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Niklas Edmundsson, Admin @ {acc,hpc2n,ing}.umu.se   |  nikke@hpc2n.umu.se
---------------------------------------------------------------------------
 Egotist: Thinks he's in the groove when he's in a rut
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-01  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-01  7:37 martian packet checks breaks multi-homing Niklas Edmundsson
2003-07-01  9:11 ` Stefan Rompf
2003-07-01  9:22 ` Niklas Edmundsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).