How do I get DHCP forwarding or passthrough working?

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


Joined: 13 Nov 2009
Posts: 22

PostPosted: Sun Nov 10, 2024 8:17    Post subject: How do I get DHCP forwarding or passthrough working? Reply with quote
Netgear AC1450 Firmware: DD-WRT v3.0-r58568 std (10/15/24)

I have it set up with the WiFi connected to a T-Mobile Home Internet gateway at 192.168.12.1 (This address cannot be changed.)

The AC1450 is at 192.168.12.2 I have dd-wrt configured to repeat the WiFi from the T-Mobile gateway and bridge/route to its ethernet ports, a second WiFi AP, and a virtual interface dd-wrt_vap

The issue is nothing downstream of the AC1450 on any of its WiFi or ethernet interfaces gets IP addresses assigned by the T-Mobile gateway.

How do I fix it so client DHCP requests go through the AC1450 to the T-Mobile and responses make it through to the clients?

All my stuff is in the 192.168.12.xxx range so any device can easily access any other device, including a media server with DLNA.


Last edited by Galane on Fri Nov 15, 2024 3:29; edited 1 time in total
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13656
Location: Netherlands

PostPosted: Sun Nov 10, 2024 9:01    Post subject: Reply with quote
I think what you are looking for is setting up as a `repeater/station bridge`

Note that using an ethernet cable between ISP router and DDWRT route is the much better solution
If you still want to connect wirelessly use one of the radios as station bridge and then you can use the other to distribute local wifi,

These are my notes about a station bridge setup:
https://github.com/egc112/ddwrt/blob/main/DDWRT%20Wireless%20Bridge%20v5.pdf

But also look at the wiki:
https://wiki.dd-wrt.com/wiki/index.php/Repeater_Bridge
https://wiki.dd-wrt.com/wiki/index.php/Client_Bridge

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Galane
DD-WRT Novice


Joined: 13 Nov 2009
Posts: 22

PostPosted: Sun Nov 10, 2024 19:37    Post subject: Reply with quote
The Netgear AC1450 is in my shop. To connect it to the T-Mobile gateway in the house would require 60+ feet of cable and going through three walls, one of them concrete block.

Using the wireless link to the gateway is physically the easiest way.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2674
Location: Indy

PostPosted: Thu Nov 14, 2024 22:50    Post subject: Re: How do I get DHCP forwarding or passthrough working? Reply with quote
Galane wrote:
I have it set up with the WiFi connected to a T-Mobile Home Internet gateway at 192.168.12.1 (This address cannot be changed.)

The AC1450 is at 102.168.12.2 I have dd-wrt configured to repeat the WiFi from the T-Mobile gateway and bridge/route to its ethernet ports, a second WiFi AP, and a virtual interface dd-wrt_vap
I assume that '102' is a typo. Cool
Galane wrote:
The issue is nothing downstream of the AC1450 on any of its WiFi or ethernet interfaces gets IP addresses assigned by the T-Mobile gateway.

How do I fix it so client DHCP requests go through the AC1450
Based on your Subject, the issue is you're trying to use DHCP Forwarding, which is for DHCP from another subnet.
'DD Glossary' wrote:
DHCP Forwarder is rarely needed for home or small office purposes. It is primarily utilized in enterprise systems

Follow egc's links for Client (/Station) Bridge to connect your AC1450 2.4GHz to the T-Mobile Gateway and then rebroadcast on the 5GHz radio. Unless the AC1450 gets good 5GHz signal from the gateway.

You might want to start a level higher first: https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers

A note for Broadcom devices (which is probably already in some of those wikis): bridge modes can have issues with more than a couple clients. If so, use Client (Station) Mode (not ...Bridge) instead. Another note: as I recall, if a WAP/CB(/SB)/RB isn't getting time (NTP), you need to set the Gateway (to 192.168.12.1 in your case).

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
Galane
DD-WRT Novice


Joined: 13 Nov 2009
Posts: 22

PostPosted: Fri Nov 15, 2024 3:40    Post subject: Reply with quote
What I need is what in dd-wrt does what installing and configuring relayd does in OpenWRT?

I need everything in the same subnet with the T-Mobile gateway being the only DHCP server for any device not manually configured with a fixed IP. Those would be phones, tablets, computers I'm working on or otherwise have temporarily connected by wired or wireless.

I want to have a media server running DLNA plugged into the T-Mobile gateway, accessible from everywhere in my local network. Since DLNA isn't routable between different subnets like regular Internet traffic, that's the way I need and want my network setup.

With older dd-wrt versions on this Netgear AC1450 I had DHCP passing through it, but upon hitting save and apply the router would reboot and be "invisible", acting like a dumb switch but with its wireless link to the gateway acting like a virtual Ethernet cable *and* also a repeater of the gateway's SSID *and* its own AP. Despite being required to assign the Netgear router an IP during setup, nothing was accessible using that address after saving the setup and rebooting.

But any time I needed to get into it to change any setting or update dd-wrt it had to be reset and reconfigured from scratch because it wasn't possible to save the configuration to a file.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13656
Location: Netherlands

PostPosted: Fri Nov 15, 2024 17:50    Post subject: Reply with quote
Did you follow my notes for setup?

Note: there is no DHCP forwarding, as it is is one subnet DHCP from the main router will service your whole network.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1641
Location: Belgrade

PostPosted: Sun Nov 17, 2024 17:05    Post subject: Reply with quote
well, I have to bump in... DHCP Forwarding can be done on Netwotking.asp:

but it is some kind of BS kernel hack because broadcom driver lacks multicast support... and multicast is needed for relaying dhcp... and there are some other things but lets not complicate it for you... just forget dhcp forwarding....



2.png
 Description:
 Filesize:  36.52 KB
 Viewed:  6629 Time(s)

2.png


Per Yngve Berg
DD-WRT Guru


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

PostPosted: Sun Nov 17, 2024 18:34    Post subject: Reply with quote
Set up two DHCP servers. Let the Mobile assign addresses up to 127 and dd-wrt from 128 and up. That way there will not be any overlap.
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