use tun device to avoid Ethernet overhead and simplify design