diff options
author | jhb <jhb@FreeBSD.org> | 2009-12-29 21:03:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-12-29 21:03:36 +0000 |
commit | 1265488e3a4d7abd1779d779e75ab20a8c5072d9 (patch) | |
tree | 4b0b88bf8b6b03cef8ebeafc2d69db1267fc554f /etc/defaults | |
parent | bf4cb685bfd5559b494005cf1e548e11491a58b0 (diff) | |
download | FreeBSD-src-1265488e3a4d7abd1779d779e75ab20a8c5072d9.zip FreeBSD-src-1265488e3a4d7abd1779d779e75ab20a8c5072d9.tar.gz |
Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable. If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.
While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.
Reviewed by: brooks
MFC after: 2 weeks
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 19a9a39..fa7f46a 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -213,6 +213,8 @@ ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_ed0_ipv6="inet6 2001:db8:1::1 prefixlen 64" # Sample IPv6 addr entry #ifconfig_ed0_alias0="inet6 2001:db8:2::1 prefixlen 64" # Sample IPv6 alias #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. +#vlans_fxp0="101 vlan0" # vlan(4) interfaces for fxp0 device +#create_arg_vlan0="vlan 102" # vlan tag for vlan0 device #wlans_ath0="wlan0" # wlan(4) interfaces for ath0 device #wlandebug_wlan0="scan+auth+assoc" # Set debug flags with wlanddebug(8) #ipv4_addrs_fxp0="192.168.0.1/24 192.168.1.1-5/28" # example IPv4 address entry. |