I have defined the following in DHCP servers:
/ip dhcp-server print detail
Flags: X - disabled, I - invalid
0 X name="default" interface=bridge-local lease-time=10m address-pool=default-dhcp bootp-support=static authoritative=after-2sec-delay lease-script=""
1 X name="dhcp1" interface=ether7-Hotspot lease-time=1h address-pool=hs-koerberHotSpot bootp-support=static authoritative=after-2sec-delay lease-script=""
2 X name="DHCP-Kguests" interface=vlan-Kguests-3 lease-time=10m address-pool=Pool-KGuests bootp-support=static authoritative=after-2sec-delay lease-script=""
3 name="dhcp-Trev" interface=bridge-Trev lease-time=1d address-pool=Pool-Trev-VLAN bootp-support=static authoritative=after-2sec-delay lease-script=""
and the following networks:
/ip dhcp-server network print
# ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN
0 ;;; Kguests
192.168.3.0/24 192.168.3.1 8.8.8.8
1 ;;; Trev
192.168.30.0/24 192.168.30.1 8.8.8.8
8.8.4.4
2 ;;; default configuration
192.168.88.0/24 192.168.88.1 192.168.88.1
3 ;;; hotspot network
192.168.100.0/24 192.168.100.1
yet, despite the fact that the client is asking for the ‘Routers’ Option, and the gateway is defined in the interface, that Option (DHCP Option 3) is not sent to clients:
10:12:23 dhcp,debug,packet dhcp-Trev sending offer with id 1515182854 to 255.255.255.255
10:12:23 dhcp,debug,packet flags = broadcast
10:12:23 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:23 dhcp,debug,packet yiaddr = 192.168.30.199
10:12:23 dhcp,debug,packet siaddr = 192.168.30.1
10:12:23 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:23 dhcp,debug,packet Msg-Type = offer
10:12:23 dhcp,debug,packet Server-Id = 192.168.30.1
10:12:23 dhcp,debug,packet Address-Time = 86400
10:12:23 dhcp,debug,packet Domain-Server = 192.168.30.1,8.8.8.8,103.11.48.190
10:12:27 dhcp,debug,packet dhcp-Trev received discover with id 1515182854 from 0.0.0.0
10:12:27 dhcp,debug,packet secs = 1024
10:12:27 dhcp,debug,packet flags = broadcast
10:12:27 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:27 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:27 dhcp,debug,packet Msg-Type = discover
10:12:27 dhcp,debug,packet Client-Id = 01-44-8A-5B-27-F1-82
10:12:27 dhcp,debug,packet Address-Request = 192.168.0.103
10:12:27 dhcp,debug,packet Host-Name = "acersaurius"
10:12:27 dhcp,debug,packet Class-Id = "MSFT 5.0"
10:12:27 dhcp,debug,packet Parameter-List = Subnet-Mask,Domain-Name,Router,Domain-Server,NETBIOS-Name-Server,NETBIOS-Node-Type,NETBIOS-Scope,Router-Discovery,Static-Route,Classless-Route,MS-Classless-Route,Auto-Proxy-Config,Vendor-Specific
10:12:27 dhcp,debug,packet dhcp-Trev sending offer with id 1515182854 to 255.255.255.255
10:12:27 dhcp,debug,packet flags = broadcast
10:12:27 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:27 dhcp,debug,packet yiaddr = 192.168.30.199
10:12:27 dhcp,debug,packet siaddr = 192.168.30.1
10:12:27 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:27 dhcp,debug,packet Msg-Type = offer
10:12:27 dhcp,debug,packet Server-Id = 192.168.30.1
10:12:27 dhcp,debug,packet Address-Time = 86400
10:12:27 dhcp,debug,packet Domain-Server = 192.168.30.1,8.8.8.8,103.11.48.190
10:12:36 dhcp,debug,packet dhcp-Trev received discover with id 1515182854 from 0.0.0.0
10:12:36 dhcp,debug,packet secs = 3328
10:12:36 dhcp,debug,packet flags = broadcast
10:12:36 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:36 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:36 dhcp,debug,packet Msg-Type = discover
10:12:36 dhcp,debug,packet Client-Id = 01-44-8A-5B-27-F1-82
10:12:36 dhcp,debug,packet Address-Request = 192.168.0.103
10:12:36 dhcp,debug,packet Host-Name = "acersaurius"
10:12:36 dhcp,debug,packet Class-Id = "MSFT 5.0"
10:12:36 dhcp,debug,packet Parameter-List = Subnet-Mask,Domain-Name,Router,Domain-Server,NETBIOS-Name-Server,NETBIOS-Node-Type,NETBIOS-Scope,Router-Discovery,Static-Route,Classless-Route,MS-Classless-Route,Auto-Proxy-Config,Vendor-Specific
10:12:36 dhcp,debug,packet dhcp-Trev sending offer with id 1515182854 to 255.255.255.255
10:12:36 dhcp,debug,packet flags = broadcast
10:12:36 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:36 dhcp,debug,packet yiaddr = 192.168.30.199
10:12:36 dhcp,debug,packet siaddr = 192.168.30.1
10:12:36 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:36 dhcp,debug,packet Msg-Type = offer
10:12:36 dhcp,debug,packet Server-Id = 192.168.30.1
10:12:36 dhcp,debug,packet Address-Time = 86400
10:12:36 dhcp,debug,packet Domain-Server = 192.168.30.1,8.8.8.8,103.11.48.190
10:12:36 dhcp,debug,packet dhcp-Trev received request with id 1515182854 from 0.0.0.0
10:12:36 dhcp,debug,packet secs = 3328
10:12:36 dhcp,debug,packet flags = broadcast
10:12:36 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:36 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:36 dhcp,debug,packet Msg-Type = request
10:12:36 dhcp,debug,packet Client-Id = 01-44-8A-5B-27-F1-82
10:12:36 dhcp,debug,packet Address-Request = 192.168.30.199
10:12:36 dhcp,debug,packet Server-Id = 192.168.30.1
10:12:36 dhcp,debug,packet Host-Name = "acersaurius"
10:12:36 dhcp,debug,packet Client-FQDN = 00-00-00-61-63-65-72-73-61-75-72-69-75-73
10:12:36 dhcp,debug,packet Class-Id = "MSFT 5.0"
10:12:36 dhcp,debug,packet Parameter-List = Subnet-Mask,Domain-Name,Router,Domain-Server,NETBIOS-Name-Server,NETBIOS-Node-Type,NETBIOS-Scope,Router-Discovery,Static-Route,Classless-Route,MS-Classless-Route,Auto-Proxy-Config,Vendor-Specific
10:12:36 dhcp,info dhcp-Trev assigned 192.168.30.199 to 44:8A:5B:27:F1:82
10:12:36 dhcp,debug,packet dhcp-Trev sending ack with id 1515182854 to 255.255.255.255
10:12:36 dhcp,debug,packet flags = broadcast
10:12:36 dhcp,debug,packet ciaddr = 0.0.0.0
10:12:36 dhcp,debug,packet yiaddr = 192.168.30.199
10:12:36 dhcp,debug,packet siaddr = 192.168.30.1
10:12:36 dhcp,debug,packet chaddr = 44:8A:5B:27:F1:82
10:12:36 dhcp,debug,packet Msg-Type = ack
10:12:36 dhcp,debug,packet Server-Id = 192.168.30.1
10:12:36 dhcp,debug,packet Address-Time = 86400
10:12:36 dhcp,debug,packet Domain-Server = 192.168.30.1,8.8.8.8,103.11.48.190
What am I missing?
(yes, I can workaround by relaying these requests to my other DCS servers, but I’d rather have this network handled by the Mikrotik)..