Chapter 33 IPV6 Tunnel Configuration DGS-3610 Series Configuration Guide
tunnel source
{ip-address | type
num
Specify the IPv4 source address or referenced source
interface number of a tunnel.
Note: If you specify an interface, the IPv4 address
must have been configured on the interface.
tunnel destination
ip address
Specify the destination address of a tunnel.
Return to the privileged mode.
copy running-config startup-config
Refer to the section Verifying IPv6 Tunnel Configuration and Mmonitoring to check the
working states of the tunnel.
33.2.2 Configuring 6to4 Tunnel
This section introduces how to configure a 6to4 tunnel.
The destination address of a 6to4 tunnel is determined by the IPv4 address which is
extracted from the 6to4 IPv6 address. The routers on the two ends of the 6to4 tunnel must
support the dual stacks, namely, the IPv4 and IPv6 protocol stacks.
On one switch, you can configure only one 6to4 tunnel. The
encapsulation source address (IPv4 address) used by the 6to4 tunnel
must be a global routable address. Otherwise, the 6to4 tunnel cannot
work normally.
Brief steps
config terminal
interface tunnel tunnel-num
tunnel mode ipv6ip 6to4
ipv6 enable
tunnel source {ip-address | type num}
exit
ipv6 route 2002::/16 tunnel tunnel-number
end
Detailed steps
Enter the global configuration mode.