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>
index | next in thread | raw e-mail
First patch of any kind, hopefully it is formatted correctly and appropriate. 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 if 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 connectivity between hosts. +.Bd -literal -offset indent +create_args_vxlan0="vxlanid 100 vxlanlocal 192.168.100.1 vxlanremote 192.168.200.1" +cloned_interfaces="vxlan0" +ifconfig_vxlan0="inet 10.10.10.1 netmask 255.255.255.0" .Sh SEE ALSO .Xr inet 4 , .Xr inet6 4 , Regards Jameshelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR06MB10375DA8BA177C5BEB68C2D5F9CC0>
