Description |
This article describes the steps required to configure FortiGate for DS-Lite service from an Internet Service Provider (ISP). DS-Lite allows IPv4-based applications to function over an IPv6 connection. |
Scope | FortiGate v7.2.0 and later. |
Solution |
Dual-Stack Lite (DS-Lite) is a technology that enables applications using Internet Protocol v4 (IPv4) to function over Internet connections based on Internet Protocol v6 (IPv6). Internet service providers (ISPs) implement DS-Lite when they lack sufficient public IPv4 addresses for their customers. Using DS-Lite, ISPs can offer IPv6-based internet access while allowing IPv4 applications to operate. This test scenario uses a well-known ISP that uses DS-Lite technology for residential users. The internet connectivity information from the DS-Lite software concentrator, aka AFTR or Border Relay BR Router, is listed.
Cable: Connected, 1.13 Gbit/s ↓ 52.5 Mbit/s ↑
IPv6 addresses in this example have been randomized for privacy.
DS-Lite VNE tunnel mode is used between the FortiGate and the BR. VNE stays for the virtual network enabler tunnel. Configure the IPv6 interface:
config system interface
Configure the VNE tunnel:
config system vne-tunnel set status enable set interface "wan1" set ipv4-address 192.168.1.99 255.255.255.255 set br "2a03:1234:abcd::4003" set mode ds-lite
When configuring the VNE tunnel, ensure that 'set mode ds-lite' is specified as one of the primary settings. To verify available modes, use the following command:
FortiWiFi-60E (vne-tunnel) # set mode
To display the full configuration:
FortiWiFi-60E (vne-tunnel) # show full set status enable set interface "wan1" set ssl-certificate "Fortinet_Factory" set auto-asic-offload enable set ipv4-address 192.168.1.99 255.255.255.255 set br "2a03:1234:abcd::4003" set mode ds-lite
To quickly check everything is working as expected, test the tunnel connection by pinging the Google public DNS IPv6 address:
FortiWiFi-60E # execute ping6 2001:4860:4860::8888 --- 2001:4860:4860::8888 ping statistics --- FortiWiFi-60E #
Verify the FortiGate device, which can be accessed via SSH using the assigned IPv6 address.
XXXXXX@MBP-di-XXXXXXX ~ % ssh admin@2a02:908:abcd:1234:5678:9abc:def0:fedc admin@2a02:908:abcd:1234:5678:9abc:def0:fedc's password: FortiWiFi-60E |