summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-06-01 11:01:54 +0000
committerthompsa <thompsa@FreeBSD.org>2006-06-01 11:01:54 +0000
commit0a5ee5e4dbfb38f156866b0155451c25dd38336a (patch)
tree86b0bd9f3895ff2f4663c8ed7bf219d8f6c7a1f7 /etc/defaults
parentcffb9cb738b122d39e833afd450a538223004563 (diff)
downloadFreeBSD-src-0a5ee5e4dbfb38f156866b0155451c25dd38336a.zip
FreeBSD-src-0a5ee5e4dbfb38f156866b0155451c25dd38336a.tar.gz
Add rc.d/bridge which is invoked when a new interface arrives and can
automaticly add it to an Ethernet bridge. This is intended for applications such as qemu, vmware, openvpn, ... which open tap interfaces and need them bridged with the hosts network adapter, the user can set up a glob for interfaces to be automatically added (eg tap*).
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 8a5f436..6da8487 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -159,6 +159,9 @@ ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
#ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0.
#ipv4_addrs_fxp0="192.168.0.1/24 192.168.1.1-5/28" # example IPv4 address entry.
#
+#autobridge_interfaces="bridge0" # List of bridges to check
+#autobridge_bridge0="tap* vlan0" # Interface glob to automatically add to the bridge
+#
# If you have any sppp(4) interfaces above, you might also want to set
# the following parameters. Refer to spppcontrol(8) for their meaning.
sppp_interfaces="" # List of sppp interfaces.
OpenPOWER on IntegriCloud