- The next step is to enable port 4789 for VXLAN UDP traffic. Please run the following command to make this change:
$ echo “options vxlan udp_port=4789" > /etc/modprobe.d/vxlan.conf Once this configuration is made, the initial file system that is loaded into the memory needs to be updated so that it picks up the new configuration.
$ sudo dracut -vLoad the VXLAN module
$ sudo modprobe vxlanPlease reboot the machine to ensure that the configuration changes are written to the disk and that the VXLAN offload module is loaded.
$ rebootVerify that the VXLAN module has been loaded with the following command
$ lsmod | grep vxlanVerify that the correct UDP port has been set for VXLAN offloading (note: the output should be “4789”
$ cat /sys/module/vxlan/parameters/udp_portThe following files have to be replaced:
a. /opt/pg/scripts/systemd_post_start.sh b. /opt/pg/scripts/systemd_post_stop.sh c. /etc/init/plumgrid.confRestart PLUMgrid services on the node with the following command:
$ service plumgrid stop; sleep 30; service plumgrid startVerify that the Mellanox interface has VXLAN offloading enabled:
$ ethtool -k <interface name> | grep udp