diff options
author | Roy Marples <roy@marples.name> | 2009-04-26 18:53:24 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-26 18:53:24 +0000 |
commit | 59574780da461ea08af57a0bb322268369f89abc (patch) | |
tree | 5454ac07e11190cfb42d87f54faa89a9ff37a685 | |
parent | 77c8f8abbb4034e409be2e71a22c1caaf1ce5f03 (diff) |
Document tap interface creation.
-rw-r--r-- | conf.d/network.Linux | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/conf.d/network.Linux b/conf.d/network.Linux index 3c230fe9..f7b796a4 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" |