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?
Regards
J?rg
=====
--
Regards
Joerg
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards?
http://movies.yahoo.com/
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
"Emmanuel Papirakis" <[email protected]>
> echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
>
> (You want to disable reverse-path filtering.)
>
> And maybe:
>
> echo 0 > /proc/sys/net/ipv4/conf/eth0/log_martians
>
> Papi
"Vojtech Pavlik" <[email protected]>
>
> for a in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > $a; done
>
I tried this before. It does not help for packets destined for the
same host.
Regards
J?rg
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de