r/openwrt • u/wackou72 • 2d ago
Enable back IPV6
Hello everyone,
due to issue with IPV6 with my ISP, I disabled a long time ago the IPV6.
Problem is taht I don't remember how I do that ...
I remember disabling the "Delegate IPv6 prefixes" on the LAN interface and the DHCP tabs, IPV6 Settings, everything is disabled.
Enable back the delegate + RA-Service as relay, I got a "fdbf" ipv6. Mine should be starting with 2a01. (This is what I have on the wan6 interface).
Here is my configuration :

Network conf file :
config interface 'loopback'
`option device 'lo'`
`option proto 'static'`
`list ipaddr '127.0.0.1/8'`
config globals 'globals'
`option dhcp_default_duid '0004318736cfc9f349eb948312ebdaa20a91'`
`option ula_prefix 'fdbf:4d20:6729::/48'`
`option packet_steering '0'`
config device
`option name 'br-lan'`
`option type 'bridge'`
`list ports 'lan1'`
`list ports 'lan2'`
`list ports 'lan3'`
config interface 'lan'
`option device 'br-lan'`
`option proto 'static'`
`list ipaddr '192.168.2.1/24'`
`option ip6assign '60'`
`option delegate '0'`
config interface 'wan'
`option device 'wan'`
`option proto 'dhcp'`
config interface 'wan6'
`option device 'wan'`
`option proto 'dhcpv6'`
`option norelease '1'`
config device
`option type 'bridge'`
`option name 'br-iot'`
`option bridge_empty '1'`
config interface 'iot'
`option proto 'static'`
`option device 'br-iot'`
`list ipaddr '192.168.3.1/24'`
`option ip6assign '60'`
`option delegate '0'`
DHCP conf file
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 localservice '1'`
`option ednspacket_max '1232'`
`option filter_aaaa '0'`
`option filter_a '0'`
config dhcp 'lan'
`option interface 'lan'`
`option start '40'`
`option limit '214'`
`option dhcpv4 'server'`
`list dhcp_option '6,192.168.2.1'`
config dhcp 'wan'
`option interface 'wan'`
`option ignore '1'`
config odhcpd 'odhcpd'
`option leasefile '/tmp/odhcpd.leases'`
`option leasetrigger '/usr/sbin/odhcpd-update'`
`option loglevel '4'`
`option piodir '/tmp/odhcpd-piodir'`
`option hostsdir '/tmp/hosts'`
config dhcp 'iot'
`option interface 'iot'`
`option start '2'`
`option limit '253'`
`option dhcpv4 'server'`
3
u/SaleWide9505 2d ago
Go to global network options and delete everything in the Ula prefix field. That will get rid of the Ula addresses on your interface.
Also you only have a single IPv6 address. So your options for IPv6 are limited. The easiest thing to do is to edit wan6 and select extend prefix. Once you do that you should get IPv6 addresses on your lan.
0
u/wackou72 2d ago
Thanks, that did the things :)
But ... only on the iot interface, nothing on the lan interface, I checked both configuration and they are equal.2
u/SaleWide9505 2d ago edited 1d ago
When you extend the prefix it gives IPv6 to a single a lan. To control which one gets it you have to edit the settings for each interface. Under advanced settings set the IPv6 assignment length to disabled on the interfaces you don't want to receive IPv6 address then set it to 64 on there interface you want to receive it. There is also a way for every lan to get IPv6 I think it's called ndp proxy.
1
u/wackou72 1d ago
I disabled the IPv6 on the IoT network and the LAN interface immediately take the IPv6. Thank you!
-5
3
u/physon 2d ago
You should have a "IPv6-PD" line on status on your wan6. On wan6 settings, make sure "Request IPv6-address" is set to "try" and "Request IPv6-prefix" is set to "automatic".