Enable IPv6 Addressing on Versa Director
For supported software information, click here.
You can enable IPv6 addressing on Versa Director for north-bound interfaces to create a dual-stacking capability.
To enable IPv6 addressing, you make changes to the following files:
- . /etc/network/interfaces—Add IPv6 interface details on the eth0 interface.
- . /etc/sysctl.conf—Enable IPv6 traffic on the host.
- /var/versa/vnms/share/config/manifest/traefik.yml—Enable IPv6 traffic on the traefik service.
Versa Networks provides a script to make these changes: /opt/versa/vnms/scripts/vnms-startup.sh. To execute the script, follow the example below.
- Run the script.
[Administrator@SDWAN-VOAE1: ~] $ sudo /opt/versa/vnms/scripts/vnms-startup.sh ------------------------------------------------------------ VERSA DIRECTOR SETUP ------------------------------------------------------------ Do you want to enter setup? (y/n)? y [sudo] password for Administrator: ------------------------------------------------------------ Executing /opt/versa/vnms/scripts/vnms-startup.sh ... ------------------------------------------------------------ Do you want to setup hostname for system? (y/n)? n # Type y if you need to configure hostname of VD with some name related to IPv6. Do you want to setup network interface configuration? (y/n)? y ------------------------------------------------------------ Setup Network Interfaces ------------------------------------------------------------ Configure IPv4 interface? (y/n)? n # Since IPv4 already exists, you can skip this step. You can the reconfigure IPv4 interface if needed. Configure IPv6 interface? (y/n)? y Enter interface name [eg. eth0]: eth0 # This is the north-bound interface of Versa Director. Enter IPV6 Address: 2400:c980:0:2::171 Enter IPv6 Netmask Address: 64 Configure IPv6 Gateway Address? (y/n)? y Enter IPV6 Gateway Address: 2400:c980:0:2::1 ------------------------------------------------------------ Adding default route - route add default gw 2400:c980:0:2::1 Change any existing MTU MTU will be changed to 1280 as minumum MTU for IPv6 is 1280 Added interface eth0 Configure another IPv6 interface? (y/n)? n Configure North-Bound interface (If not configured, default 0.0.0.0 will be accepted) (y/n)? n Binding north-bound services to 0.0.0.0 ------------------------------------------------------------ Select South-Bound Interface(s) ------------------------------------------------------------ Enter interface name [eg. eth0]: eth1 Configure another South-Bound interface? (y/n)? n Restarting network service ... Versa Director services not running: => Skipping HA port/communication hardening Edit list of hosts allowed to access Versa GUI? (y/n)? n ------------------------------------------------------------ Completed Setup . Please reboot for interface changes ------------------------------------------------------------ Press ENTER to continue
- Reboot the machine for the IPv6 interface changes to take effect.
[Administrator@SDWAN-VOAE1: ~] $ sudo reboot -f
- Check the eth0 interface for IPv6 adresses.
[Administrator@SDWAN-VOAE1: ~] $ ifconfig eth0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1280 inet 10.192.99.10 netmask 255.255.0.0 broadcast 10.192.255.255 inet6 2400:c980:0:2::171 prefixlen 64 scopeid 0x0<global> inet6 fe80::5054:ff:fe57:e4e1 prefixlen 64 scopeid 0x20<link> ether 52:54:00:57:e4:e1 txqueuelen 1000 (Ethernet) RX packets 14695 bytes 1127869 (1.1 MB) RX errors 0 dropped 30 overruns 0 frame 0 TX packets 123 bytes 16649 (16.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- Issue the cat command to check the contents of the network interface file, for example:
[Administrator@DirectorIPV6: ~] $ sudo cat /etc/network/interfaces [sudo] password for Administrator: # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto eth0 iface eth0 inet static address 10.192.99.10 netmask 255.255.0.0 broadcast 10.192.255.255 gateway 10.192.0.1 mtu 1280 network 10.192.0.0 post-up route add default gw 10.192.0.1 auto eth1 iface eth1 inet static address 192.168.99.10 netmask 255.255.255.0 broadcast 192.168.99.255 mtu 1280 auto eth0 iface eth0 inet6 static address 2400:c980:0:2::171 netmask 64 gateway 2400:c980:0:2::1 mtu 1280 post-up route add default gw 2400:c980:0:2::1
You can now access the Versa Director UI using IPv6 addressing, as shown in the following screen shot.

The new IPv6 properties are shown below.

Supported Software Information
Releases 23.1.1 and later support all content described in this article.
