Re: problem with ng_device as tun replacement

2007-02-13 Thread Tomas Svensson
Julian Elischer wrote: Tomas Svensson wrote: Hi, I am trying to replace the tun interface using netgraph by linking ng_device and ng_iface: ngctl mkpeer iface dummy inet ngctl mkpeer ng0: device inet inet then I try to use it as a drop-in replacement for tun, but it doesn't really work:

Re: problem with ng_device as tun replacement

2007-02-09 Thread Julian Elischer
Tomas Svensson wrote: Hi, I am trying to replace the tun interface using netgraph by linking ng_device and ng_iface: ngctl mkpeer iface dummy inet ngctl mkpeer ng0: device inet inet then I try to use it as a drop-in replacement for tun, but it doesn't really work: 1. If I send an IP packe