Dear community,
My ubuntu laptop is sitting behind two routers.
Laptop –> One Router –> 5G Router –> Internet
For various reasons, I have disabled all IPv6 related config on both routers.
Dont ask why.
The “One Router” does not even have a WAN6.
The “5G Router” is leveraging the MBIM driver for 5G interface, and the PDP Type is IPv4 only.
How is it possible, that my laptop is getting a IPv6 assigned with a “random” IPv6 ULA Prefix?
I say “random” because that “fd52:1270:“ is configured nowhere.
Cheers, Frood
***************************************************************************************************
One Router Config
root@One:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option delegate '0'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
option peerdns '0'
list dns '5.9.164.112'
list dns '9.9.9.9'
list dns '84.200.69.80'
option delegate '0'
option ipv6 '0'
root@One:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
option confdir '/tmp/dnsmasq.d'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
***************************************************************************************************
5G Router Config
root@fritz:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
option auto '0'
config interface 'wan6'
option device 'eth0'
option proto 'dhcpv6'
option auto '0'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'
config interface '5G_MODEM'
option proto 'mbim'
option device '/dev/cdc-wdm0'
option apn 'internet.provider'
option pincode '0911'
option auth 'pap'
option pdptype 'ipv4'
option username 'provider'
option password 'pm'
option peerdns '0'
list dns '5.9.164.112'
list dns '9.9.9.9'
list dns '84.200.69.80'
option sourcefilter '0'
option delegate '0'
option ipv6 '0'
root@fritz:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
*****************************************************************************************************
Ubuntu Laptop with anonymized 8888 IPv6
ifconfig wlp4s0
wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.184 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fd52:1270:41f5:8888:8888:8888:8888:8888 prefixlen 64 scopeid 0x0<global>
inet6 fd52:1270:41f5:8888:8888:8888:8888:8888 prefixlen 64 scopeid 0x0<global>
inet6 fe80::5569:121:8888:8888 prefixlen 64 scopeid 0x20<link>
ether 50:e0:85:17:f9:22 txqueuelen 1000 (Ethernet)
RX packets 704473 bytes 916616052 (916.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 407599 bytes 563552786 (563.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

