DHCP options

Hi…
I have trouble getting options from mikrotik dhcp.
This is how it is set-up:

[adminxx@router.xxx.hr] /ip dhcp-server option> print 
 # NAME                                CODE VALUE                              
 0 option1                             72   161.53.xx.xxx                      
[adminxx@router.xxx.hr] /ip dhcp-server option>

I dont get anything from dhcp…
I tested it with mikrotik 4.17 and 3.30…

Is it added to dhcp network? Does dhcp client request that option?

I request it and I dont get it…
It is set like this:

add address=161.53.xx.0/24 comment="" dhcp-option=option1 dns-server=161.53.xx.xx gateway=161.53.xx.x next-server=10.168.x.x ntp-server=161.53.x.x

also, I dont get NTP and I also tried with option 7…

enable dhcp logs and see what exactly is received/sent

I have the same problem, with option 43, the client sends the option 43 in the request list , I have this option defined and assigned to the pool, the server doesn’t send the option with the dhcp offer and the ack packets. I try it with 4.17, 5.1 and 4.16 routeros version. In bootp i try with static, dinamyc and none.
Tomorrow I will send the configuration and the dhcp debug logs .

Vendor-Specific = option 43

My configuration and the debug log:

/ip dhcp-server
add address-pool=pool-telefonos authoritative=yes bootp-support=static
disabled=no interface=ether1 lease-time=3d name=server1
/ip dhcp-server option
add code=43 name=alcatel.noe.0 value=0x40040a11050241040a1104df
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=10.2.132.0/32 comment=“” dhcp-option=alcatel.noe.0 dns-server=
10.2.12.9,10.2.3.12 gateway=10.2.135.254 netmask=22 ntp-server=
10.2.12.9


Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: server1 received discover with id 1090424484 from 0.0.0.0
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: ciaddr = 0.0.0.0
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: chaddr = 00:80:9F:93:48:D4
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: Msg-Type = discover
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: Vendor-Specific = 3A-02-FF-FF-FF
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: Parameter-List = Subnet-Mask,Router,Unknown(28),Vendor-Specific,Renewal-Time,Unknown(59)
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: Host-Name = “ALCATEL-iptouch-00809f9348d4”
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: Class-Id = “alcatel.noe.0”
Apr/19/2011 10:34:18 dhcp,debug,packet dhcp: Client-Id = 01-00-80-9F-93-48-D4
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: server1 sending offer with id 1090424484 to 10.2.135.18
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: ciaddr = 0.0.0.0
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: yiaddr = 10.2.135.18
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: siaddr = 10.2.135.250
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: chaddr = 00:80:9F:93:48:D4
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: Msg-Type = offer
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: Server-Id = 10.2.135.250
Apr/19/2011 10:34:19 dhcp,debug,packet dhcp: Address-Time = 259200
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: server1 received request with id 1090424484 from 0.0.0.0
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: ciaddr = 0.0.0.0
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: chaddr = 00:80:9F:93:48:D4
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Msg-Type = request
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Address-Request = 10.2.135.18
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Server-Id = 10.2.135.250
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Vendor-Specific = 3A-02-FF-FF-FF
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Parameter-List = Subnet-Mask,Router,Unknown(28),Vendor-Specific,Renewal-Time,Unknown(59)
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Host-Name = “ALCATEL-iptouch-00809f9348d4”
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Class-Id = “alcatel.noe.0”
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Client-Id = 01-00-80-9F-93-48-D4
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: server1 sending ack with id 1090424484 to 10.2.135.18
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: ciaddr = 0.0.0.0
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: yiaddr = 10.2.135.18
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: siaddr = 10.2.135.250
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: chaddr = 00:80:9F:93:48:D4
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Msg-Type = ack
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Server-Id = 10.2.135.250
Apr/19/2011 10:34:29 dhcp,debug,packet dhcp: Address-Time = 259200

The log is with version 5.1

Mikrotik don’t sent mask, DNS and gateways

I reset confinguration, I configure it again and all correct , the dhcp send all options, version 4.17.
I don’t know why :frowning: