[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Setting up TAP interface at boot?



Where's the right place to set up a TAP interface at boot
time? When my system's up, I usually run "tunctl -t tap0" as
root, but I'd like this to be created automatically. I do
have an entry in /etc/network/interfaces to configure this:

auto tap0
iface tap0 inet static
      address 192.168.5.1
      netmask 255.255.255.0

but this won't work if the interface doesn't exist, so I end
up having to do everything by hand.

Thanks.

Jesse Sheidlower


Reply to: