Hello all,
I just tried to find something to this topic, but I couldnt find actual info for the latest openwrt.
wan6: get a IPv6 /64 from ISP. prefix-delegation is set off. Literally everything is set off, regarding to ipv6. Curiously there seem to be a IPv6 adress announced by wan6 interface.
lan: get a static ULA-Prefix, delegation is set off. All the devices behind lan get a ipv6 ULA-adress correctly, it seems. RA lifetime is set to 0 manually.
Still I recieve messages like:
[27.05.2026, 10:19:51 MESZ] daemon.warn: odhcpd[1895]: A default route is present but there is no public prefix on lan thus we announce no default route by setting ra_lifetime to 0!
Cant get rid of them and would like to. I think there is something wrong with the configs.
Are you saying something is broken, or that you intended to disable IPv6. The wording of your post isn't clear.
Get rid of the messages, or get rid of the IPv6 addresses?
Are you willing to share the configs (i.e., network, dhcp, firewall)?
Also, you may want to clarify you desires.
I disabled IPv6 on wan6.
The messages.
Yes, network dhcp. Firewall is set off at the moment.
/ # cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'
config globals 'globals'
option dhcp_default_duid '000405a025cc49b1ba509b4d81c524c0'
option packet_steering '1'
option ula_prefix 'fdff:1e9:7b12:abcd::/64'
config device
option name 'br-lan'
option type 'bridge'
option ipv6 '1'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option multipath 'off'
list ipaddr '192.168.100.1/24'
list ip6class 'local'
option delegate '0'
list ip6addr 'fd12:3456:789a::1/64'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
option peerdns '0'
option multipath 'off'
option broadcast '1'
option delegate '0'
option hostname '*'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
option reqaddress 'none'
option norelease '1'
option peerdns '0'
option multipath 'off'
option reqprefix 'no'
option force_link '1'
option sourcefilter '0'
option delegate '0'
config interface 'wifiintern'
option proto 'static'
option multipath 'off'
list ipaddr '192.168.200.1/24'
config interface 'wifiextern'
option proto 'static'
option multipath 'off'
list ipaddr '192.168.225.1/24'
option delegate '0'
option force_link '0'
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option cachesize '10000'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option localservice '1'
option ednspacket_max '1232'
option noresolv '1'
option min_cache_ttl '3600'
option max_cache_ttl '86400'
list server '127.0.0.1#5354'
list server '::1#5354'
option stripmac '1'
option stripsubnet '1'
option nonegcache '1'
list address '/ams1.dns4all.eu/'
option logdhcp '1'
list listen_address '192.168.100.1'
option authoritative '1'
list interface 'lan'
list interface 'wifiextern'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
option ra_preference 'medium'
option dns_service '0'
list ra_flags 'managed-config'
list ra_flags 'other-config'
option ra_lifetime '0'
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 '5'
option piodir '/tmp/odhcpd-piodir'
option hostsdir '/tmp/hosts'
config dhcp 'wifiextern'
option interface 'wifiextern'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
My desire is:
I would like to have an internal network where devices can communicate with ipv4 oder ipv6. The long run requires ISP to offer IPv6 lower than /64 and then NPT/NT66 the internal ULA-Adresses to the global adresses. Because its more privacy friendly when my ISP cannot see behind the wan-port of the router.
But for that, I need to have a good config that is not throwing out messages in the logs.