<posted & mailed>

In message <46e9f75c.1020...@cyte.com>, Jeff Wiegley <je...@cyte.com> wrote:


> Basically...
> 
> # tunctl -u jeffw
> # ifconfig tap0 10.10.0.1 netmask 255.255.255.0
> $ ./tapwatcher tap0
> 
> Then from another window I want to be able to do
> "ping 10.10.0.1" and tapwatcher should spew the
> raw Ethernet frames that would be generated on
> tap0.

No, that won't work as 10.10.0.1 is a local IP address. Try pinging
10.10.0.2, your program should then receive some ARP packets.

> Am I missing something fundamental?

LOL

The address of an interface is an address of the host which the interface
belongs to, and hosts process traffic addressed to them.

Jeff Wiegley, I suggest you forward this message to je...@cyte.com so that
he can read it.


-- 
OpenPGP key fingerprint: D0A6 F403 9745 CED4 6B3B  94CC 8D74 8FC9 9F7F CFE4




Reply via email to