Wireless not assigning gateway.

Here’s my setup.

Cable Modem->RB1200->RB751->computers

The RB 1200 run a dhcp server and runs the nat masquerade for private-> public address translation.

The RB751 is setup just as a simple switch (all ports are bridges including the wlan) /wireless ap, No routing or anything special here.

The problem. When i connect with a wired pc it gets its dhcp assigned ip information correctly. Pc connecting wirelessly can setup static ip information and connect successfully. However, if you connect via wireless and try to use the dhcp, it’ll assign you an ip out of the pool perfectly fine, it just will not assign the gateway ip. I’ve looked at the RB1200 where the dhcp server is setup and its got the gateway info entered, and if you connect with a wired pc it WILL assign the gateway ip perfectly fine.

Not sure what to think by this point. Any help would be greatly appreciated.

spykus
What is in DHCP logs on RB1200 side ?

Apr/14/2012 12:38:08 dhcp info DHCP assigned 192.168.47.244 to F8:7B:7A…

thats all

751 doesn’t have some dhcp server running on bridge interface by chance? Try disabling dhcp pkg in 751 if you have one. Just to be sure. Otherwise, indeed this sounds strange..

Hmm, well after a day passed, i just noticed the wired pc isn’t getting a gateway assigned either. What would cause it to not assign a gateway even tho its entered in the dhcp server network tab.

You might check here:

/ip dhcp-server network

Insure there is a gateway ip entered there.

edit: Oops! I see you have checked that.

I have noticed a few quirks in 5.14 DHCP client. I went back to 5.11 and it works fine.

Looks like they did some work on DHCP client and server.

edit: Mine still shows
192.168.88.0/24 address
192.168.88.1 gateway
netmask is blank.
DNS info is there.

Try the old style info in the boxes, see if that works and the netmask doesn’t. It is behaving like the old ROS when you forget the netmask.

It’s actually assigning a wrong netmask either way. It shows 255.255.255.255 which will not work.

I’ve tried both
IP:192.168.47.0/24
Netmask: blank

and

IP:192.168.47.0
Netmask: 24

either way doesnt seem to work, it always assigns 255.255.255.255

I also just noticed if you connect to the vpn, it also doesnt assign the netmask/gateway correctly.