[Dnsmasq-discuss] BOOTP and NFS Root Server (for LTSP)

Simon Kelley simon at thekelleys.org.uk
Wed Sep 26 12:16:59 BST 2007


Rhaurison Bergamin wrote:
> I had tried this option..
> At station the root server still appears as 192.168.57.1 (dnsmasq server)
> and root path (just PATH) as "192.168.57.252/opt/ltsp/ubuntu_6.10_i386/"

I think this should be "192.168.57.252:/opt/ltsp/ubuntu_6.10_i386/"
(note colon)

> 
> The correct should be root server as 192.168.57.252 and root path just
> "/opt/ltsp/ubuntu_6.10_i386/"
> I have looked into source code of dnsmasq and I haven't founded option to
> send root server's IP.


A quick google doesn't shown an DHCP option defined for "root server".
Dnsmasq can send pretty much any option, but we need to know what the
client is expecting. Just telling us what the client _is_ might be
enough information.

Cheers,

Simon.

> 
> Is there an option to set the default IP that dnsmasq send (if not
> specified) to another IP not his self (got by /lan/) ?
> 
> 
> 2007/9/24, Simon Kelley <simon at thekelleys.org.uk>:
>> Rhaurison Bergamin wrote:
>>> Hi all,
>>>
>>> I'm trying to use dnsmasq as dhcp server for a network with LTSP;
>>> Then I need to use pxeboot of course, and it's working fine (pxeboot),
>>> the problem is when the station tries to mount nfs root;
>>> The message in the station is that dnsmasq is sending as rootserver his
>>> self IP
>>> Let me try to explain:
>>>
>>> DNSMASQ Server IP: 192.168.57.1 <http://192.168.57.1/>
>>> NFS Root Server IP: 192.168.57.252 <http://192.168.57.252/>
>>>
>> It's difficult to answer this question without knowing what you're
>> booting, and what parameters it expects, where but assuming the
>> root-path value eventually ends up in the command=line of a Linux kernel
>> changing
>>
>>> dhcp-option=17,"/opt/ltsp/ubuntu_6.10_i386/"
>> into somthing like
>>
>> dhcp-option=17,"192.168.57.252:/opt/ltsp/ubuntu_6.10_i386/"
>>
>> might work.
>>
>>
>> Cheers,
>>
>> Simon.
>>
> 




More information about the Dnsmasq-discuss mailing list