> > What I need right now in order to make the TAP version of --ifconfig work > > correctly, is the correct ifconfig command syntax for setting the IP address > > and netmask of a TAP device, on all the OSes which OpenVPN supports. I've > > already coded templates for Linux and Windows, but I still need to know the > > appropriate ifconfig syntax for FreeBSD, OpenBSD, NetBSD, Solaris, and Mac > > OS > > X, with respect to setting the IP/netmask on a TAP device. > > ## FreeBSD 4.9-PRERELEASE: > > ifconfig tap0 inet 10.11.12.42 netmask 255.0.0.0 up > > (inet appears to be optional, so the Linux syntax, "ifconfig tap0 > 10.11.12.42 netmask 255.0.0.0 up", should also work.
The above works for OpenBSD too, but do mind that openbsd usually dont come with tap drivers, I'm re-porting an older port from FreeBSD to current Open, and on my box the above works the same way as in Free.
signature.asc
Description: This is a digitally signed message part