Wan only has IPv6 adress, but no IPv4

I configured my Fritzbox 7412 as a modem and router. My ISP is Vodafone in Germany.

When I change the internet contract, normally, I just change the name+password in my network-config and that’s it. However, now my wan only has a IPv6 adress which it can use to access the internet, but no IPv4.

In other words, the ping test in Network→Diagnostics works for IPv6, but for IPv4, I only receive a “network unreachable” error message.

With another modem/router (Fritzbox with FritzOS), everything works fine. I haven't changed anything about my dhcp/firewall, that's why I find all of this very weird.

If someone has an idea on how to help me, I would be very thankful :slight_smile:

Here is my /etc/config/network file

        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'XXX'

config atm-bridge 'atm'
        option vpi '1'
        option vci '32'
        option encaps 'llc'
        option payload 'bridged'
        option nameprefix 'dsl'

config dsl 'dsl'
        option ds_snr_offset '0'
        option firmware '/lib/firmware/vr9-B-dsl.bin'
        option line_mode 'vdsl'
        option annex 'b'
        option tone 'bv'
        option xfer_mode 'ptm'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan'


config device
        option name 'lan'
        option macaddr 'XXX'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config device
        option name 'dsl0'
        option macaddr 'XXX'

config interface 'wan'
        option ifname 'ptm0'
        option proto 'pppoe'
        option ipv6 '1'
        option ipv4 '1'
        option device 'dsl0.7'
        option username 'xxx'
        option password 'xxx'
        option _orig_ifname 'ptm0'
        option _orig_bridge 'false'

config interface 'wan6'
        option device '@wan'
        option proto 'dhcpv6'

You probably need to configure DS-Lite.

@AndrewZ

Thank you. I've installed ds-lite without changing anything. I now have a v4 address and working internet connection. :slight_smile:

However, the internet is quite slow. The last time I used the router for this internet line, I had 50 Mbit download. But now I only have 30 Mbit. Am I doing something wrong? The line has 50 Mbit download