What's new

R7800, /23 LAN mask. Config advice to get DHCP pool & GW at either end of the subnet. Voxel f/w.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Nickat1

New Around Here
Hi, I have an R7800. I've configured a /23 mask for the LAN. I would like my router ip/gateway to be in the bottom half of the subnet and the DHCP pool to be in the upper half. In the GUI I can only put the router IP and DHCP pool in the same /24 subnet. Can I edit the DHCP config from the CLI, and if so, what commands do I need to use. I've tried looking for a command line reference but I can't find anything for the R7800.

I'm running a Voxel firmware, R7800-V1.0.2.97SF.

Thanks.
 
Not possible
 
Can you use the actual IP addresses so I could understand what you'd like to do?

I use my routers on the x.x.x.254 address and the devices are all below x.x.x.150.
 
Can you use the actual IP addresses so I could understand what you'd like to do?

I use my routers on the x.x.x.254 address and the devices are all below x.x.x.150.
Hi L&LD,

I want to use a /23 subnet for my LAN, so for example 192.168.101.1 to 192.168.102.254. I would like to set my router IP/GW to 192.168.101.1 and use other n.n.101.n IPs for statics, and set my DHCP pool to be 192.168.102. 1 - 254. The R7800 GUI forces the the GW and DHCP pool to be in the same /24 subnet, so both in either 101 or 102 but not split across the larger subnet.

Thanks.
 
I want to use a /23 subnet for my LAN, so for example 192.168.101.1 to 192.168.102.254.

Can't do your range with a /23 - see below

Code:
ipcalc 192.168.101.1/23
Address:   192.168.101.1        11000000.10101000.0110010 1.00000001
Netmask:   255.255.254.0 = 23   11111111.11111111.1111111 0.00000000
Wildcard:  0.0.1.255            00000000.00000000.0000000 1.11111111
=>
Network:   192.168.100.0/23     11000000.10101000.0110010 0.00000000
HostMin:   192.168.100.1        11000000.10101000.0110010 0.00000001
HostMax:   192.168.101.254      11000000.10101000.0110010 1.11111110
Broadcast: 192.168.101.255      11000000.10101000.0110010 1.11111111
Hosts/Net: 510                   Class C, Private Internet
 
Can't do your range with a /23 - see below

Code:
ipcalc 192.168.101.1/23
Address:   192.168.101.1        11000000.10101000.0110010 1.00000001
Netmask:   255.255.254.0 = 23   11111111.11111111.1111111 0.00000000
Wildcard:  0.0.1.255            00000000.00000000.0000000 1.11111111
=>
Network:   192.168.100.0/23     11000000.10101000.0110010 0.00000000
HostMin:   192.168.100.1        11000000.10101000.0110010 0.00000001
HostMax:   192.168.101.254      11000000.10101000.0110010 1.11111110
Broadcast: 192.168.101.255      11000000.10101000.0110010 1.11111111
Hosts/Net: 510                   Class C, Private Internet
Hi sfx2000,

Sorry, complete brain fade with the subnet boundaries. So, using the correct /23 subnet, is this possible to set this up on Netgear R7800 using the cli. I'm running the latest version of Voxel's firmware.

Thanks.
 
Sorry, complete brain fade with the subnet boundaries. So, using the correct /23 subnet, is this possible to set this up on Netgear R7800 using the cli. I'm running the latest version of Voxel's firmware.

Not sure how to do this via cli on voxel - but the webui should have the option there to set the LAN netmask...


On openwrt - it's a one liner... and the R7800 is based on QSDK, which in turn is based on OpenWRT - uci might be there

uci set network.lan.netmask='255.255.254.0'
 
Not sure how to do this via cli on voxel - but the webui should have the option there to set the LAN netmask...


On openwrt - it's a one liner... and the R7800 is based on QSDK, which in turn is based on OpenWRT - uci might be there

uci set network.lan.netmask='255.255.254.0'
Thanks. The webui forces the router IP/GW and DHCP pool to be in the same /24 subnet, so if it's possible to use a /23 subnet it would have to configured via the cli.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top