-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there...

I use the following parameters in dnsmasq.conf:

# Set which interfaces dnsmasq should listen to
interface=eth1
interface=eth2
# Misc parameters
domain-needed
bogus-priv
domain=mydomain.com
expand-hosts
dhcp-authoritative
# Set DHCP range for local and dmz networks (eth1 and eth2)
dhcp-range=loc,192.168.1.128,192.168.1.196,12h
dhcp-range=dmz,192.168.0.128,192.168.0.196,12h
# Net Boot thinstations
dhcp-boot=thinstation.nbi,boothost,192.168.1.30
# Assign fixed IP to clients
dhcp-host=00:0b:6b:xx:xx:xx,192.168.1.105,12h
dhcp-host=neptune,192.168.1.26,15m


You won't need to set the location of resolve.conf if it's stored in the
default location (/etc/resolv.conf).


I hope it helps.


Regards,


Paolo.

P.S.: If anyone in the list spots something wrong in my settings I'll
appreciate a feed back. Thanks!


Gordon Bos wrote:
> Craig Caughlin wrote:
>> [...]
>> In order to use dhcpc and use the integrated dhcp daemon, dnsmasq.conf had
>> to have the following entry: 
>>
>> resolv-file=/etc/dhcpc/resolv.conf and
>> dhcp-range=192.168.1.1,192.168.1.199,12h
>>
>> 4.) Do I still need to do this also?
> 
> Maybe someone else can comment on that one since I'm not using this (my 
> main internal server performs these tasks).
> 
> Gordon
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIVkyTqAaEpZvj+VMRAleSAJ944neHi31u0OLmVedkYo+owVDEwgCgkfyA
wjZRz98T+PAcTX/8Yyt2BQU=
=j8+/
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to