openwrt/nat64: disable dhcp on lan

This commit is contained in:
Nico Schottelius 2024-07-26 09:58:27 +02:00
parent 847f9c1dd1
commit b8829f96ac

View file

@ -58,6 +58,11 @@ uci delete network.lan.netmask
uci delete network.lan.gateway
uci set network.lan.proto="dhcpv6"
# Disable DHCP on LAN
uci delete dhcp.lan.dhcpv4
uci delete dhcp.lan.dhcpv6
uci delete dhcp.lan.ra
uci set dhcp.lan.ignore=1
# Do something wireless (?)
# disable?
@ -130,3 +135,5 @@ uci commit
/etc/init.d/bird restart
EOF
echo "Restart router to restart firewall, network, dhcp"