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 <[email protected]>
Organisation: Outland s.a.s
Reply to: "[email protected]" <[email protected]>, 
AstLinux List <[email protected]>
Date: Friday, 11 September 2020 at 5:49 pm
To: AstLinux List <[email protected]>
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

[email protected]<mailto:[email protected]>

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



Donations to support AstLinux are graciously accepted via PayPal to 
[email protected]<mailto:[email protected]>.

--



Graziano Brioschi



Outland s.a.s.

sede operativa:

Via A. Don Rocca, 13

20030, Senago (MI)

tel: 02 9948 6014

mobile: 328 8382622

email: [email protected]<mailto:[email protected]>

--> U4E <--
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to