Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 18:22:31 +0000
From:      James Lodge <James@Lodge.me.uk>
To:        "freebsd-doc@freebsd.org" <freebsd-doc@freebsd.org>
Subject:   vxlan(4) man page - vxlan interface creation at boot via rc.conf(5) example added 
Message-ID:  <VI1PR06MB10375DA8BA177C5BEB68C2D5F9CC0@VI1PR06MB1037.eurprd06.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
First patch of any kind, hopefully it is formatted correctly and appropriat=
e. Reason for additional example in vxlan(4) is I struggled to workout how =
to create a vxlan interface via rc.conf(5). Hopefully it will help others i=
f accepted.


--- vxlan.4.orig        2016-01-14 17:23:30.189282000 +0000
+++ vxlan.4     2016-01-14 18:05:12.401741000 +0000
@@ -214,6 +214,25 @@
 .Nm
 interface can be configured with
 .Xr ifconfig 8 .
+.Pp
+Create a
+.Cm vxlan
+interface at boot via
+.Xr rc.conf 5 .
+.Cm vxlan
+interface in unicast mode
+with the
+.Cm vxlanlocal
+tunnel address of 192.168.100.1,
+and the
+.Cm vxlanremote
+tunnel address of 192.168.200.1.
+.Cm vxlan
+interface is configured (optional) with a static IP address providing L3 c=
onnectivity between hosts.
+.Bd -literal -offset indent
+create_args_vxlan0=3D"vxlanid 100 vxlanlocal 192.168.100.1 vxlanremote 192=
.168.200.1"
+cloned_interfaces=3D"vxlan0"
+ifconfig_vxlan0=3D"inet 10.10.10.1 netmask 255.255.255.0"
 .Sh SEE ALSO
 .Xr inet 4 ,
 .Xr inet6 4 ,

Regards
James




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR06MB10375DA8BA177C5BEB68C2D5F9CC0>