I've set DHCP option 66 and 67, but the modems are ignoring it, and instead using the next-server option, which the system is automatically setting to the IP of the Mikrotik that is the DHCP server. I need to specify another server on the internet. I've verified all of this from packet captures. See a snip here:
Capture read in Wireshark. IPs changed to protect the innocent.
DHCP (MT) server: 1.2.3.4
TFTP Server on internet: 4.3.2.1
Code: Select all
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x582f6a18
Seconds elapsed: 0
Bootp flags: 0x8000 (Broadcast)
1... .... .... .... = Broadcast flag: Broadcast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.29.251 (192.168.29.251)
Next server IP address: 1.2.3.4 (1.2.3.4)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: Motorola_46:11:22 (00:17:ee:46:11:22)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option: (t=53,l=1) DHCP Message Type = DHCP Offer
Option: (t=54,l=4) Server Identifier = 1.2.3.4
Option: (t=51,l=4) IP Address Lease Time = 1 hour
Option: (t=1,l=4) Subnet Mask = 255.255.255.0
Option: (t=2,l=2) Time Offset - length isn't 4
Option: (t=3,l=4) Router = 192.168.29.1
Option: (t=4,l=4) Time Server = 4.3.2.1
Option: (t=7,l=4) Log Server = 4.3.2.1
Option: (t=6,l=8) Domain Name Server
Option: (6) Domain Name Server
Length: 8
Value: XXXXXXXXXXX
IP Address: 5.6.7.8
IP Address: 5.6.7.9
Option: (t=66,l=11) TFTP Server Name = "4.3.2.1"
Option: (t=67,l=3) Bootfile name = "conffile"
End Option