[Dnsmasq-discuss] Option 120 (RFC 3361)

Rune Kock rune.kock at gmail.com
Mon Nov 20 13:23:40 GMT 2006


Hi Brian

A DHCP-server will only send those options that the client asks for.
So maybe your client doesn't ask for option 120?


/rune

On 11/20/06, Brian Candler <B.Candler at pobox.com> wrote:
> 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.
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list