[Dnsmasq-discuss] Option 120 (RFC 3361)

Brian Candler B.Candler at pobox.com
Mon Nov 20 13:03:42 GMT 2006


Hi,

I'm using dnsmasq as supplied with OpenWrt WhiteRussian RC6:

root at OpenWrt:~# dnsmasq -v
Dnsmasq version 2.33  Copyright (C) 2000-2006 Simon Kelley
Compile time options IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N

I'm trying to get it to generate an RFC 3361 "SIP server" option, code 120,
but I can't make it work. A tcpdump -X on the client shows that this option
isn't being included.

I've added the following to the end of /etc/dnsmasq.conf :

# SIP server (RFC 3361)
dhcp-option=120,1,192.168.1.1

and I don't get the option. But strangely, changing this to 

dhcp-option=42,192.168.1.1

*does* add an NTP server option into the response.

I also tried adding -O 120,1,192.168.1.1 to the command line, to no effect.

The test client is a Linux laptop running dhclient from CentOS 4.4.

Any suggestions as to what I'm doing wrong?

Thanks,

Brian Candler.



More information about the Dnsmasq-discuss mailing list