|
From: Timothy B. <T.E...@me...> - 2007-09-21 20:21:27
|
<posted & mailed> In message <46E...@cy...>, Jeff Wiegley <je...@cy...> 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...@cy... so that he can read it. |