Posted: Fri Jun 18, 2021 12:17 Post subject: netmask value for local ip
I have just installed a recent version of dd-WRT on my R7800.
I now have trouble connecting via LAN to the router once I have adjusted the IP.
One change compared to my older Kong release is that I now must enter a netmask value for the "local IP". I don't get what this is good for. The router is supposed to have the IP 192.168.172.2, but I have to enter this netmask value. Apparently, the default is here 24, so it now says
Local IP 192.168.172.2/24
What does the /24 actually do here and what would be the correct value for me?
Thank you for the answer and sorry for posting in the wrong forum.
SO I understand that /24 would be the right choice for me?
Correct. /24 would be correct for probably 98% of all users. That gives you an IP range of 192.168.172.1 - 192.168.172.254. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
I am still not getting this. Maybe a bit more detailed:
I have a cable modem+router in the basement (192.168.172.1), which is also steup as a DHCP-Server for my network. The R7800 should basically serve as a wireless AP and eventually also provide VPN service. Thus, the R7800 should have the IP 192.168.178.2 and should be set to "DHCP Forwarder", to forward the IPs generated by the router in the basement.
When I only need a specific single IP address for the router, why would I need a netmask? What would the generated range be good for?
Seems that I have a significant knwoledge gap here. Sorry if this is too basic ;-(
For a better understanding of netmasks, I found it helpful to try different things using a netmask calculator.
https://www.calculator.net/ip-subnet-calculator.html _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
I am still not getting this. Maybe a bit more detailed:
I have a cable modem+router in the basement (192.168.172.1), which is also steup as a DHCP-Server for my network. The R7800 should basically serve as a wireless AP and eventually also provide VPN service. Thus, the R7800 should have the IP 192.168.178.2 and should be set to "DHCP Forwarder", to forward the IPs generated by the router in the basement.
When I only need a specific single IP address for the router, why would I need a netmask? What would the generated range be good for?
Seems that I have a significant knwoledge gap here. Sorry if this is too basic ;-(
First, you need to connect the modem+router to one of the R7800 LAN ports, not the WAN port. You may disable the WAN port, for that matter. The netmask is necessary to the R7800 to understand what IP addresses, known as a subnet, that it may communicate with. The netmask defines this, whether it is in CIDR /24 notation or the 255.255.255.0 notation.
This netmask gives your network 253 usable addresses. 192.168.172.0 is your network address, and 192.168.172.255 is your broadcast address, neither of these are usable. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r53562
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.