Advise on DHCP Relay/Wan -> WLAN

Hello,

So here is the deal, i got a RB493G with a basic WAN → LAN (masquerade) setup, and I have also successfully established a pptp-client to an off-site location.
I also have a wireless interface running, and that part is working flawlessly.

My current ISP does however offer multiple dynamically assigned IP addresses (from multiple subnets), and i would now like to add a virtual AP that can make use of this.
In short, i would like to either:

a) Setup a virtual AP to let the connected clients pull a public IP from my ISP and talk directly to the WAN (no NAT).
b) Setup a virtual AP and let the interface consume one external address and let the connected clients use some kind of DHCP relay to add routing to local networks via the consumed external address.

I have tried to mess around with this for a while now, but have so far not gotten it to work.
Any suggestions/advise on how to go about and fix this?

That can’t work. DHCP relay is for situations where the central DHCP server is configured to hand out addresses and parameters from pools that aren’t directly connected to itself (e.g., it has to hand out a gateway to the client that the client is directly connected to). That isn’t the case on your ISP’s DHCP server, so you can’t relay to it.

Alright then, i guess that i have to go with a bridged interface towards the virtual AP and just let the wireless clients get external access.
Thanks! :slight_smile:

Sure, bridge the VAP interface directly into your WAN interface. That’ll put the two on the same broadcast domain.