Thanks Graziano

Yes I certainly looked at that being the way it was done for dnsmasq in the 
docs.
I made the assumption however that the set and tag parameters are not required 
as this is the format of the command in the generated /etc/dnsmasq.conf and the 
examples in /stat/etc/dnsmasq.conf.

How does this work?

Regards
Michael Knill

From: Graziano Brioschi <graziano.brios...@outland.it>
Organisation: Outland s.a.s
Reply to: "graziano.brios...@outland.it" <graziano.brios...@outland.it>, 
AstLinux List <astlinux-users@lists.sourceforge.net>
Date: Friday, 11 September 2020 at 5:49 pm
To: AstLinux List <astlinux-users@lists.sourceforge.net>
Subject: Re: [Astlinux-users] Setting DHCP Ranges


Hi Michael

try to use an entry similar to the following one in dnsmasq.static:
dhcp-range=set:lan,<start address>,<end address>,24h

if you wanto to add some specific dhcp-option to a specifically range, you have 
to add an entry like this

dhcp-option=tag:lan,option:router,<gw_ip_address>

Pay attention to the "tag:<name>" entry

regards

Graziano
Il 11/09/2020 01:44, Michael Knill ha scritto:
Hi Group

I thought that I could do this using the following in dnsmasq.static:
dhcp-range=lan,<start address>,<end address>,24h

But it didn't work.

DHCPRANGE="150:199" in user.conf works but what if I want to have different 
ranges for different networks?

I'm obviously missing something here!

Regards
Michael Knill




_______________________________________________

Astlinux-users mailing list

Astlinux-users@lists.sourceforge.net<mailto:Astlinux-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/astlinux-users



Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org<mailto:pay...@krisk.org>.

--



Graziano Brioschi



Outland s.a.s.

sede operativa:

Via A. Don Rocca, 13

20030, Senago (MI)

tel: 02 9948 6014

mobile: 328 8382622

email: graziano.brios...@outland.it<mailto:graziano.brios...@outland.it>

--> U4E <--
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to