
New Member
•
3 Messages
BGW320 + Public Static IP + Openwrt
I purchased (and have successfully been using) a public static ip block for some time now (over a year). I have one device that's assigned a static ip, and the rest of my devices are being NAT'd behind the dynamic IP assigned to the BGW320.
I recently purchased a new router (RT3200) and installed openwrt on it, with the intention of assigning it one of the other static IPs. I initially had some issues being able to assign it an IP at all because I didn't have the lan/wan interfaces on the RT3200 configured as dhcp clients, but once I did that, I was successfully able to assign the RT3200 a public static ip.
The issue I'm having however, is that I *don't want* the RT3200 to be a dhcp client. I want to assign the RT3200 a public static IP, and I want clients that connect to the RT3200 to be handed out addresses from the RT3200's DHCP subnet (say 192.168.2.x), and I want those clients to be using the public static IP of the RT3200.
Is this possible? For other users of openwrt that have a similar network topology, would you mind sharing your config files?
JefferMC
ACE - Expert
•
32.3K Messages
2 months ago
It should work just like your first router. You can have as many NATting routers as you have usable static public addresses.
0
0
mariojlhm
New Member
•
3 Messages
2 months ago
@JefferMC the issue I'm having is that when connecting through the RT3200, the DHCP server on the BGW320 is still assigning those clients (the ones connected through the RT3200) addresses, and the external IP address those clients are using when talking to the WAN is the dynamic IP of the BGW320; I want the clients connecting through the RT3200 to use the public static IP assigned to the RT3200, and I want the RT3200 to assign them NATted IPs through its own DHCP server.
Basically, I want clients connected through the RT3200 to be completely ignorant of the BGW320 beyond it being the gateway (i.e. the ip address at the top of the static ip block). I don't want them to have any knowledge whatsoever of the BGW320's dhcp server, or the BGW320's dynamic IP.
(edited)
0
0
JefferMC
ACE - Expert
•
32.3K Messages
2 months ago
That sounds like the RT3200 is not acting as a router. If it were, it wouldn't be passing the DHCP requests through to the BGW320. It sounds more like it's configured as an Access Point (or in bridge mode). It is possible to tell the OPENWRT software to pass DHCP requests through, and you shouldn't do that for what you're trying to accomplish.
(edited)
0
0
mariojlhm
New Member
•
3 Messages
2 months ago
The issue was the RT3200 kept on reverting its settings automatically when the luci web client couldn't reconnect. Resetting the RT3200 to stock openwrt settings with the ethernet cable plugged into the WAN port on the RT3200 got things working like they should.
0