How does one use Tun/tap for raw frames???
<posted & mailed>
Quoted 10 lines · Jeff Wiegley
Basically...
# tunctl -u jeffw # ifconfig tap0 10.10.0.1 netmask 255.255.255.0 $ ./tapwatcher tap0Then 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.
Quoted 1 line
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 [email protected]... so that he can read it.