When using IPv6 on a logical router interface, you can set up Stateless Address Autoconfiguration (SLAAC) for the assignment of IP addresses. SLAAC enables the addressing of a host, based on a network prefix advertised from a local network router, through router advertisements. Duplicate Address Detection (DAD) ensures the uniqueness of IP addresses.
Prerequisites
Navigate to , click the Global Gateway Config tab and select IPv4 and IPv6 as the L3 Forwarding Mode
Procedure
- From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
- Open the instance page.
Skip the following sub-steps if the instance page is open.
- Log in to the VMware Cloud Console at https://console.cloud.vmware.com.
The
VMware Cloud Services home page displays the services available to your organization.
- Under My Services, go to the NSX+ card and select Launch Service.
- Select Global and select the instance to manage.
- Select .
- To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
- Click Additional Settings.
- To create an ND Profile (SLAAC profile), click the menu icon (three dots) and select Create New.
- Enter a name for the profile.
- Select a mode:
- Disabled - Router advertisement messages are disabled.
- SLAAC with DNS Through RA - The address and DNS information is generated with the router advertisement message.
- SLAAC with DNS Through DHCP - The address is generated with the router advertisement message and the DNS information is generated by the DHCP server.
- DHCP with Address and DNS through DHCP - The address and DNS information is generated by the DHCP server.
- SLAAC with Address and DNS through DHCP - The address and DNS information is generated by the DHCP server. This option is only supported by NSX Edge and not by ESXi hosts.
- Enter the reachable time and the retransmission interval for the router advertisement message.
- Enter the domain name and specify a lifetime for the domain name. Enter these values only for the SLAAC with DNS Through RA mode.
- Enter a DNS server and specify a lifetime for the DNS server. Enter these values only for the SLAAC with DNS Through RA mode.
- Enter the values for router advertisement:
- RA Interval - The interval of time between the transmission of consecutive router advertisement messages.
- Hop Limit - The lifetime of the advertised routes.
- Router Lifetime - The lifetime of the router.
- Prefix Lifetime- The lifetime of the prefix in seconds.
- Prefix Preferred Time - The time that a valid address is preferred.
- To create a DAD Profile, click the menu icon (three dots) and select Create New.
- Enter a name for the profile.
- Select a mode:
- Loose - A duplicate address notification is received but no action is taken when a duplicate address is detected.
- Strict - A duplicate address notification is received and the duplicate address is no longer used.
- Enter the Wait Time (seconds) that specifies the interval of time between the NS packets.
- Enter the NS Retries Count that specifies the number of NS packets to detect duplicate addresses at intervals defined in Wait Time (seconds)