openwrt/nat64: disable dhcp on lan
This commit is contained in:
parent
847f9c1dd1
commit
b8829f96ac
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue