Achim wrote:
> Toni Erdmann <for-spammers-(E-Mail Removed)> wrote in message news:<cbpdhd$e5o$(E-Mail Removed)>...
>
>>Hi Achim,
>>
>>there was a thread starting on April 22nd 2004, initiated by
>>"(E-Mail Removed)"
>>"pinging between two NIC on my PC"
>>
>>there was a second thread starting on May 7th 2004, initiated by
>>"(E-Mail Removed)"
>>"How to send packets out and come back ?"
>
>
> Hello Toni,
>
> I had already read these two threads, but didn't find a solution to my
> problem:
>
> I try to ping my own IP address with one NIC over the first router:
> ping -I eth0 <IP of eth0>
So you're trying to ping yourself with only one NIC ?
> Route added before:
> route add -host <IP of eth0> gw <IP of R>
> The ping is local.
> In the routing table local exists an entry for the IP of eth0,
> indicated as local.
> If I delete this route <local IP of eth0> in table local the ping
> fails with
> connect: Invalid argument
> because there is no route to eth0.
>
> I think we need a kernel patch to prevent local looping of IP packets
> destined to own IP address . This is the first step: to get the packet
> out of the box.
>
> The second step is to get the packet from the Router and to prevent
> dropping (this is the kernel patch deleting two lines).
>
> Any ideas to take step 1?
No, we always used at least 2 NICs (ppp0 and eth0 or eth[01])
Did you try to find something from "Ben Greear" in 'linux.kernel' or
'linux.networking' (right name?). I guess, he posted a lot to both
lists.
Toni
|