Getting wrong IP addresses from DHCP server

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
anyone_yun
DD-WRT Novice


Joined: 03 Jan 2024
Posts: 11

PostPosted: Fri Jan 19, 2024 20:41    Post subject: Getting wrong IP addresses from DHCP server Reply with quote
Hi all, I've been using ddwrt for a while but now I have a problem and I can't figure out how to solve it. Basically, when a device connects wired, it gets a wrong IP address on a wrong subnet (192.168.0.1) and also wrong a gateway. When a new device connects via WLAN, it works as expected. On my Setup -> Network setup, I have a /24 subnet mask. Also, the DHCP server is running on both LAN & WLAN as set on my Services page. I'm using a Netgear R6400 v1 with DD-WRT v3.0-r54682. Any idea?
Thanks!
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Fri Jan 19, 2024 21:49    Post subject: Reply with quote
Screenshots of all applicable configuration settings would help us see if there is a misconfiguration problem.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
anyone_yun
DD-WRT Novice


Joined: 03 Jan 2024
Posts: 11

PostPosted: Fri Jan 19, 2024 22:11    Post subject: Reply with quote
kernel-panic69 wrote:
Screenshots of all applicable configuration settings would help us see if there is a misconfiguration problem.

Thank you for your answer! Let me know if you need more screenshots



3.png
 Description:
Status -> LAN
 Filesize:  449.02 KB
 Viewed:  798 Time(s)

3.png



2.png
 Description:
Services -> Services -> DHCP Server Setup
 Filesize:  50.06 KB
 Viewed:  798 Time(s)

2.png



1.png
 Description:
Setup -> Basic Setup -> Network Setup
 Filesize:  150.8 KB
 Viewed:  798 Time(s)

1.png


kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Fri Jan 19, 2024 23:27    Post subject: Reply with quote
This is wrong. It is supposed to be a (bogus, private) domain name not an IP address. For example, home.arpa.



I see nothing that says any clients are getting a 192.168.0.x IP address from your DD-WRT router... and I asked for configuration pages, not status pages.

kernel-panic69 wrote:
Screenshots of all applicable configuration settings would help us see if there is a misconfiguration problem.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6872
Location: Romerike, Norway

PostPosted: Sat Jan 20, 2024 9:40    Post subject: Reply with quote
Can there be another device with a DHCP Server on the LAN?
anyone_yun
DD-WRT Novice


Joined: 03 Jan 2024
Posts: 11

PostPosted: Sat Jan 27, 2024 21:55    Post subject: Reply with quote
kernel-panic69 wrote:
This is wrong. It is supposed to be a (bogus, private) domain name not an IP address. For example, home.arpa.



I see nothing that says any clients are getting a 192.168.0.x IP address from your DD-WRT router... and I asked for configuration pages, not status pages.

kernel-panic69 wrote:
Screenshots of all applicable configuration settings would help us see if there is a misconfiguration problem.

Sorry about that, I thought to post every single thing that was even slightly applicable. So, no idea about this DHCP issue? I can confirm nothing else is running a DHCP server
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Sun Jan 28, 2024 11:00    Post subject: Reply with quote
Quote:
it gets a wrong IP address on a wrong subnet (192.168.0.1)


This is not the IP address and subnet of your antenna by any chance?

Rolling Eyes

Quote:
The Web UI can be accessed directly from a laptop through the Ethernet port of the
Nokia FastMile 4G Receiver via the dedicated static IP address 192.168.0.1
(https://192.168.0.1).


If this is true, I would configure my VLANs correctly Laughing

Go back and start from the scratch

VLAN on WAN port on Netgear R6400 v1

You have already been given the right information and links in this thread.
You need the settings from the second post / the second example in the thread:

VLAN configuration via GUI - 1 CPU port

No idea what you are doing wrong, exactly 3 settings are required Rolling Eyes
anyone_yun
DD-WRT Novice


Joined: 03 Jan 2024
Posts: 11

PostPosted: Sun Jan 28, 2024 17:22    Post subject: Reply with quote
ho1Aetoo wrote:
Quote:
it gets a wrong IP address on a wrong subnet (192.168.0.1)


This is not the IP address and subnet of your antenna by any chance?

Rolling Eyes

Quote:
The Web UI can be accessed directly from a laptop through the Ethernet port of the
Nokia FastMile 4G Receiver via the dedicated static IP address 192.168.0.1
(https://192.168.0.1).


If this is true, I would configure my VLANs correctly Laughing

Go back and start from the scratch

VLAN on WAN port on Netgear R6400 v1

You have already been given the right information and links in this thread.
You need the settings from the second post / the second example in the thread:

VLAN configuration via GUI - 1 CPU port

No idea what you are doing wrong, exactly 3 settings are required Rolling Eyes


I followed your guide and I set the VLANs as you can see in the image attached. Now the DHCP seems to be working, but sometimes it was working too without this change. I'll let you all know if the issue resurfaces again. Thanks!



Screenshot_20240128_182034.png
 Description:
 Filesize:  56.37 KB
 Viewed:  541 Time(s)

Screenshot_20240128_182034.png


Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum