I’am using RB450g for my hotspot and usermanager, in log shows “default offering lease 192.168.xx.01 for 00:08:22:04:9B:CE without success”. How to deal with this issue, i’m using v5.25.
Pal
You should post
/ip address
/ip dhcp-server
/ip pool
edit: There is no reason to hide/mask a private ip address. You should remove the leading octets of public addresses only. These are private ip address ranges:
192.168.x.x
10.x.x.x
172.16.x.x to 172.31.x.x
[admin@HOTSPOT ROUTER] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK INTERFACE
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 ether2-local
1 D 192.168.1.35/24 192.168.1.0 ether1-gateway
[admin@HOTSPOT ROUTER] > ip dhcp-server print
Flags: X - disabled, I - invalid
NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 default bridge default-dhcp 1d
NAME RANGES
0 default-dhcp 192.168.88.2-192.168.88.254
1 dhcp_pool1 192.168.1.2-192.168.1.254
[
I removed the “xx” mask to show you what I see:
default offering lease 192.168.88.01 for 00:08:22:04:9B:CE without success
192.168.88.1 is already used by the router. That dhcp server (default) should not be issuing a “.1” address. The ip pool does not include that ip.
If I want to see all the data for a dhcp transaction, I enable verbose (debug) logging.
/system logging
add topics=dhcp,debug action=memory
Watch for another dhcp request that fails and it will provide much more data for you. If you have questions, post that section of the log.
edit: I forgot to ask. Do all the dhcp requests fail? Or just some?
I just noticed the dhcp server is on interface bridge , not ether2-local. Is there a bridge?
/interface bridge
/interface bridge port
some dhcp request failed, yes there is bridge, ether 2 to 5.
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 192.168.1.1 1
1 ADC 192.168.1.0/24 192.168.1.35 ether1-gateway 0
2 ADC 192.168.88.0/24 192.168.88.1 bridge 0
Your posts are conflicting.
From /ip route? Shows interface=bridge
2 ADC 192.168.88.0/24 192.168.88.1 bridge 0
From /ip address? Shows interface=ether2-local
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 ether2-local
I might consider setting all that to ether2-local and put the rest of the ether ports on a switch with ether2-local as the master.
I think that dhcp message is generated when a dhcp client mac address does not respond to the dhcp ip offer to that client within a specific time (30 seconds?).