DS-Lite tunnels packets directly to the AFTR in the service provider’s network. The AFTR is where the service provider allows users to share IPv4 addresses. DSLite is basically the shitty version of regular dual stack. You *can* forward ports on the AFTR but you're going to get a different port every time, so… don't
ip -6 tunnel add tun0 mode ipip6 remote AFTR_IP local OWN_IP dev eth2 encaplimit none ip link set tun0 up ip addr add 192.0.0.2 peer 192.0.0.1 dev tun0 ip r add default via 192.0.0.1
Supposedly this should work, but doesn't:
[edit interfaces ipv6-tunnel v6tun0] +encapsulation ipip6 +local-ip OWN_IP +mtu 1460 +remote-ip AFTR_IP [edit protocols static interface-route 0.0.0.0/0] +next-hop-interface v6tun0
The Linux version works, though.
AFTR | Address Family Transition Router in the service provider’s network (softwire concentrator) DS-Lite implementation. This is an IPv6 tunnel (RFC 2473) endpoint which implements NAT functionality (RFC 6333). |
---|---|
B4 | Basic Bridging Broadband (softwire initiator) DS-Lite implementation. This is the CPE equipment, that creates an IPv6 tunnel (RFC 2473) to an AFTR at the service provider. |
CPE | Customer Premise Equipment |
see also: network glossary