MIME-Version: 1.0 Date: Fri, 21 Sep 2007 21:21:16 +0100 Message-Id: <200709212121.16296.T.E.Baldwin99@...1053...> From: Timothy Baldwin Subject: Re: [Openvpn-devel] How does one use Tun/tap for raw frames??? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline To: openvpn-devel@lists.sourceforge.net In message <46E9F75C.1020409@...1050...>, Jeff Wiegley 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 jeffw@...1050... so that he can read it.