diff options
author | simon <simon@FreeBSD.org> | 2010-07-13 16:24:04 +0000 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2010-07-13 16:24:04 +0000 |
commit | da4d5b3dc40d50f18c4a10ba4d414cbaa8b98ce4 (patch) | |
tree | e19bc47af52444d49af098286c642643d1440ed2 /share | |
parent | 8400ba1561a350f10ba0ee2a04f34794fc3d7362 (diff) | |
download | FreeBSD-src-da4d5b3dc40d50f18c4a10ba4d414cbaa8b98ce4.zip FreeBSD-src-da4d5b3dc40d50f18c4a10ba4d414cbaa8b98ce4.tar.gz |
In the example for how to create a VLAN, also include an example of
setting the IP address. While it is documented earlier in rc.conf(5)
that the '.' in the VLAN name becomes a '_' in rc.conf, this may not be
easy to find when just using rc.conf(5) as reference documentation.
MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/rc.conf.5 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 734e7a3..93c0287 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -1151,9 +1151,10 @@ To create a vlan device named .Li em0.101 on .Li em0 -with the vlan tag 101: +with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24: .Bd -literal vlans_em0="101" +ifconfig_em0_101="inet 192.0.2.1/24" .Ed .Pp To create a vlan device named |