From 59574780da461ea08af57a0bb322268369f89abc Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 26 Apr 2009 18:53:24 +0000 Subject: Document tap interface creation. --- conf.d/network.Linux | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'conf.d') diff --git a/conf.d/network.Linux b/conf.d/network.Linux index 3c230fe..f7b796a 100644 --- a/conf.d/network.Linux +++ b/conf.d/network.Linux @@ -9,8 +9,12 @@ #ifconfig_bond0="192.168.0.10 netmask 255.255.255.0" #ifdown_bond0="rmmod bonding" -# Create a bridged interface - let dhcpcd configure the address -#interfaces="br0" +# Create tap interface and a bridge interface. +# We add the tap to the bridge. +# An external program, like dhcpcd, will configure the IP on the bridge +#interfaces="tun0 br0" +#ifup_tun0="tunctl -t \$int" +#ifdown_tun0="tunctl -d \$int" #ifup_br0="brctl addbr \$int; brctl add \$int eth1; brtctl add \$int eth2" #ifdown_br0="ifconfig \$int down; btctl delbr \$int" -- cgit v1.2.3