mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
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
This commit is contained in:
parent
6cbaa952a3
commit
b93a33cded
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue