[1.5.9 & 1.5.10] DHCP Wrong Ips

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
Swimmer
Posts: 48
Joined: Tue Mar 05, 2013 10:36 am

[1.5.9 & 1.5.10] DHCP Wrong Ips

Post by Swimmer »

Hello all,

I'm using 1.5.9 and my DHCP is:

Code: Select all

LAN DHCP Server Enabled
DHCP range:
Start: 192.168.2.100
End: 192.168.2.200
Lease Time: 6 (hours) 
But the router (tplink1043) is giving the following IPs 192.168.0.x.

What can I do to prevent this?
Last edited by Swimmer on Tue Jun 11, 2013 11:47 am, edited 1 time in total.
Proud owner of Gargoyle in
  • Tp-Link TL-WR1043N
  • Tp-Link TL-WDR3600
  • Linksys WRT1900ACS

Swimmer
Posts: 48
Joined: Tue Mar 05, 2013 10:36 am

Re: [1.5.9&1.5.10] DHCP Wrong Ips

Post by Swimmer »

Hello,

I'm having the same problem with 1.5.10

My router internal ip is 192.168.2.1
My sub-mask is 255.255.0.0

My router DHCP is giving 192.168.0.x IPs

How can I force the IPs on 192.168.2.x as configured in DHCP?
Proud owner of Gargoyle in
  • Tp-Link TL-WR1043N
  • Tp-Link TL-WDR3600
  • Linksys WRT1900ACS

Swimmer
Posts: 48
Joined: Tue Mar 05, 2013 10:36 am

Re: [1.5.9 & 1.5.10] DHCP Wrong Ips

Post by Swimmer »

Found the problem.

In Gargoyle, the DHCP webconfig is misleading:

Start IP it really isn't the first IP.

When using the submask 255.255.0.0, the IP 192.168.0.0 is the first IP.

In the box "Start IP", we need to enter the first IP from 192.168.0.0 til the one that we want, in this case 192.168.2.150.

We need to enter in "Start IP(192.168.2.150)" the number 662 as first IP, this IP is 256+256+150.
We need to enter in "End IP(192.168.2.200)" the number 712 as last IP, this IP is 256+256+150+50.
Proud owner of Gargoyle in
  • Tp-Link TL-WR1043N
  • Tp-Link TL-WDR3600
  • Linksys WRT1900ACS

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: [1.5.9 & 1.5.10] DHCP Wrong Ips

Post by Eric »

It's true that the current DHCP interface doesn't really handle subnets with more than 256 IPs in them very well. The reason that was never implemented is that I know of no routers that run Gargoyle that can handle the traffic generated by more 200+ computers, let alone more than that.

Mat I ask why you need such a large subnet? It may be there's a use-case I'm not thinking of, and fixing this should be a priority. Otherwise it's a sanity check... "Hold on, HOW many devices do you have...?"

Swimmer
Posts: 48
Joined: Tue Mar 05, 2013 10:36 am

Re: [1.5.9 & 1.5.10] DHCP Wrong Ips

Post by Swimmer »

The devices are few, the network is small but I like to segment it...

Main internet connection is in: 192.168.1.1

Group A has network in the entire 192.168.2.x
Group B has network in the entire 192.168.3.x
etc..

I want to leave the 192.168.1.x network for network devices only such as ISP, routers, wireless, printers, etc...

I prefer this type of network segmentation than groups inside 192.168.1.x.

I'm open to suggestions.
Proud owner of Gargoyle in
  • Tp-Link TL-WR1043N
  • Tp-Link TL-WDR3600
  • Linksys WRT1900ACS

Post Reply