Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:wifi:guestwifi:configuration_command_line_interface [2023/10/14 06:11] – use service command vgaeteradocs:guide-user:network:wifi:guestwifi:configuration_command_line_interface [2023/10/15 20:23] – [Step by step] consider netmask redundant on OpenWrt 23.05.0 as tcpdump capture reveals "Subnet-Mask (1), length 4: 255.255.255.0" in the DHCP Offer and ACK messages no matter which one was requested by the client vgaetera
Line 31: Line 31:
 set network.${NET_ID}.proto=static set network.${NET_ID}.proto=static
 set network.${NET_ID}.device=br-${NET_ID} set network.${NET_ID}.device=br-${NET_ID}
-set network.${NET_ID}.ipaddr=192.168.3.1 +set network.${NET_ID}.ipaddr=192.168.3.1/24
-set network.${NET_ID}.netmask=255.255.255.0+
 commit network commit network
 delete wireless.${NET_ID} delete wireless.${NET_ID}
Line 48: Line 47:
 set dhcp.${NET_ID}.limit=150 set dhcp.${NET_ID}.limit=150
 set dhcp.${NET_ID}.leasetime=1h set dhcp.${NET_ID}.leasetime=1h
-set dhcp.${NET_ID}.netmask=255.255.255.0 
 commit dhcp commit dhcp
 delete firewall.${NET_ID} delete firewall.${NET_ID}
  • Last modified: 2024/05/28 00:54
  • by stokito