svn commit: r327448 - head/share/man/man4

Bryan Venteicher bryanv at FreeBSD.org
Sun Dec 31 21:23:15 UTC 2017


Author: bryanv
Date: Sun Dec 31 21:23:14 2017
New Revision: 327448
URL: https://svnweb.freebsd.org/changeset/base/327448

Log:
  Add rc.conf vxlan example
  
  PR:	206288
  Submitted by:	james at lodge.me.uk
  MFC after:	2 weeks

Modified:
  head/share/man/man4/vxlan.4

Modified: head/share/man/man4/vxlan.4
==============================================================================
--- head/share/man/man4/vxlan.4	Sun Dec 31 21:00:21 2017	(r327447)
+++ head/share/man/man4/vxlan.4	Sun Dec 31 21:23:14 2017	(r327448)
@@ -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


More information about the svn-src-all mailing list