Community discussions

MikroTik App
 
frk
just joined
Topic Author
Posts: 1
Joined: Wed Sep 15, 2021 10:55 pm

DSLite Tunnel is not working / fails RFC6333 and RFC2473

Wed Sep 15, 2021 11:16 pm

Hi there,

we use a fiber connection in germany, the provider (wemagcom) gives an IPv6/64 Prefix via DHCPv6-PD and IPv4 via CGNAT/Dual-Stack Lite (DSLite) - RFC2473.

Mikrotik becomes an IPv6/64 Prefix via DHCPv6-PD. Thats okay.

IPv4 works over in 4in6 Tunnel (DS-Lite) ... the provider sends the FQDN Hostname of AFTR Gateway (CGNAT) via DHCPv6 Option 64 (OPTION_AFTR_NAME, RFC 6334) ...
in our case is the hostname "aftr.aftr.local" and this resolve to an ipv6 Adress (2a03:b580:b000:1::1) of the AFTR Gateway-Server.

I want to send all ipv4 traffic in ipv6 tunnel to AFTR Gateway via Interface/IPIP6 Tunnel.... the local IPv6 is one local IPV6 Adress of WAN interface and remote IPV6 Adress is the adress from AFTR gateway.

When i create a route under IP->Routes for 0.0.0.0/0 to interface ipip6-tunnel1 (tunnel name) then the gateway is unreachable. When i look under IPv6 -> firewall -> Connections a connection to AFTR is listed... but the status is : unreplied.

I think that is the problem... when the status were not unreplied, then will the route works i think....

under linux works it with follow commands:
ip tunnel add dslite1 mode ip4ip6 local [local ipv6-adress] remote [gateway aftr ipv6 adress]
ip l set dslite1 up
ip a add 192.0.0.1 dev dslite1
route add default gw 192.0.0.1
But under Mikrotik, i spend many days of time.... not working. With other routers, for example EdgeRouter this works with follow commands:
configure
set interfaces ipv6-tunnel v6tun0 encapsulation ipip6
set interfaces ipv6-tunnel v6tun0 local-ip <<LOCAL IPv6 ADDRESS>>
set interfaces ipv6-tunnel v6tun0 remote-ip <<AFTR ADDRESS>>
set interfaces ipv6-tunnel v6tun0 mtu 1460
set protocols static interface-route 0.0.0.0/0 next-hop-interface v6tun0
commit
save
Can you help me please and integrate the function for automatic settings aftr gateway via dhcp option and create the tunnel after becomes an local ipv6 adress.

i mean this setup: https://wiki.tilde.fun/admin/network/cgnat

sorry for bad english. i hope you can understand :-)

best regards
marco
 
Omosa
just joined
Posts: 7
Joined: Mon Sep 20, 2021 11:45 am

Re: DSLite Tunnel is not working / fails RFC6333 and RFC2473

Sun Sep 26, 2021 11:15 pm

I am pushing this because i have the same provider, the same problem and the same name!
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 914
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: DSLite Tunnel is not working / fails RFC6333 and RFC2473

Sun Sep 26, 2021 11:27 pm

Looks like you have to add an ipv4 address to the ipipv6 interface and route to an ip within the ip subnet.

(E.g. ip 192.168.0.2/24 and route to 192.168.0.1)

Via forum search this topic popped up: viewtopic.php?p=724273#p724273
 
juliankr
just joined
Posts: 4
Joined: Fri Jan 07, 2022 11:37 pm

Re: DSLite Tunnel is not working / fails RFC6333 and RFC2473

Fri Jan 07, 2022 11:39 pm

Hello,

did you get it running? I have the same problem here, but my provider is NetCologne. How did you get the hostname of the AFTR, respectively how did you get the readout of the DHCP option 64?

Thank You!
Julian
 
Omosa
just joined
Posts: 7
Joined: Mon Sep 20, 2021 11:45 am

Re: DSLite Tunnel is not working / fails RFC6333 and RFC2473

Sat Jul 09, 2022 10:38 am

Any updates on this?

I still have to use an old Fritzbox-Router before my Mikrotik-Router. Its a shame!

Who is online

Users browsing this forum: DimaFIX and 1 guest