Re: I want my martians

Vojtech Pavlik (vojtech@suse.cz)
Fri, 22 Mar 2002 22:40:19 +0100


On Fri, Mar 22, 2002 at 02:20:58AM -0800, Joerg Pommnitz wrote:
> Hi List,
> as I wrote in
> http://marc.theaimsgroup.com/?l=linux-net&m=101672497502530&w=2 I'm trying
> to send packets from one network interface to another one on the same
> machine over the external network. This almost works except for the fact
> that the Linux IP stack considers these packets to be "martians" and drops
> them. While this might be a good idea for normal operation it prevents me
> from doing what I want: network latency and reliability measurements.
>
> So, is there a way to convince the Linux kernel that these martians are
> not here to take over the world but just harmless little packets that
> should be delivered to the waiting application?

for a in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > $a; done

-- 
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/