aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/vxlan.4
diff options
context:
space:
mode:
authorBryan Venteicher <bryanv@FreeBSD.org>2017-12-31 21:23:14 +0000
committerBryan Venteicher <bryanv@FreeBSD.org>2017-12-31 21:23:14 +0000
commit4d5c5d3ecefef5b6f91913b29767749e5f4c669e (patch)
treebb1b542a1e8ba43f0f20063b00dcdda830ee0305 /share/man/man4/vxlan.4
parent0337438d5d9158ce6d08948a1a21ac1499debd98 (diff)
downloadsrc-4d5c5d3ecefef5b6f91913b29767749e5f4c669e.tar.gz
src-4d5c5d3ecefef5b6f91913b29767749e5f4c669e.zip
Add rc.conf vxlan example
PR: 206288 Submitted by: james@lodge.me.uk MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=327448
Diffstat (limited to 'share/man/man4/vxlan.4')
-rw-r--r--share/man/man4/vxlan.413
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man4/vxlan.4 b/share/man/man4/vxlan.4
index 15b40e61febc..5dac2b0a4e81 100644
--- a/share/man/man4/vxlan.4
+++ b/share/man/man4/vxlan.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 16, 2014
+.Dd December 31, 2017
.Dt VXLAN 4
.Os
.Sh NAME
@@ -214,10 +214,21 @@ Once created, the
.Nm
interface can be configured with
.Xr ifconfig 8 .
+.Ed
+.Pp
+The following when placed in the file
+.Pa /etc/rc.conf
+will cause a vxlan interface called
+.Dq Li vxlan0
+to be created, and will configure the interface in unicast mode.
+.Bd -literal -offset indent
+cloned_interfaces="vxlan0"
+create_args_vxlan0="vxlanid 108 vxlanlocal 192.168.100.1 vxlanremote 192.168.100.2"
.Sh SEE ALSO
.Xr inet 4 ,
.Xr inet6 4 ,
.Xr vlan 4 ,
+.Xr rc.conf 5 ,
.Xr ifconfig 8 ,
.Xr sysctl 8
.Rs