Re: [Dnsmasq-discuss] DNSMASQ wrong addresses allocated after changing DHCP Clients between Neutron vRouters

2018-11-30 Thread Geert Stappers
On Wed, Nov 28, 2018 at 08:49:57AM -0200, Luis Kleber wrote:
> Em ter, 27 de nov de 2018 às 20:12, Geert Stappers escreveu:
> > On Mon, Nov 26, 2018 at 04:42:05PM -0200, Luis Kleber wrote:
> > 
> > > dhcp-range=set:infra-70-subnet,100.101.1.11,100.101.1.64,600s
> > > dhcp-option=tag:infra-70-subnet,3,100.101.1.1
> > > dhcp-range=set:infra-71-subnet,100.101.2.11,100.101.2.64,600s
> > > dhcp-option=tag:infra-71-subnet,3,100.101.2.1
> > > dhcp-range=set:infra-72-subnet,100.98.98.11,100.98.98.64,600s
> > > dhcp-option=tag:infra-72-subnet,3,100.98.98.1
> >  infra-73 ... infra-92 
> > > dhcp-range=set:infra-93-subnet,100.103.8.11,100.103.8.64,600s
> > > dhcp-option=tag:infra-93-subnet,3,100.103.8.1
> > > dhcp-range=set:infra-94-subnet,100.104.1.11,100.104.1.64,600s
> > > dhcp-option=tag:infra-94-subnet,3,100.104.1.1
> > > dhcp-range=set:infra-95-subnet,100.96.96.11,100.96.96.64,600s
> > > dhcp-option=tag:infra-95-subnet,3,100.96.96.1
> >
> > Why?
> >
> 
> "Why" what?
> If the question is the all other dhcp-ranges (unused for this scenario),
> the answer is because in production case these other networks for each dhcp
> range exist. These other unused ranges for this test case, this cannot be a
> problem.
> 
> Thanks
 
No problem, no hardfeelings.

It was me who should have wrote in his initial reply


  Oops, that is a complex setup. Is really all the complexity needed?


Anyway: Feel free to post, do known that it is been readed.


Groeten
Geert Stappers
-- 
> this cannot be a problem.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] PXE boot in proxy mode not working

2018-11-30 Thread Geert Stappers
On Fri, Nov 30, 2018 at 01:47:50PM +, Tschigirinski Jewgeni wrote:
> Hi,
> 
> I want use dnsmasq in proxy mode to boot uefi pxe client.
> 
> I can observe dhcp discover and dhcp offer coming from the real dhcp
> server, no dhcp request is sending.
> 
> The relevant configuration is:
> 
> dhcp-range=x.x.x.1,proxy
> dhcp-option=vendor:PXEClient,6,2b
> dhcp-boot=bootnetx64.efi,"PXE Server"
> enable-tftp
> tftp-root=/tftpboot
> port=0
> 
> Many thanks for any advice
 
My advice:  Share more information with us.
 * info about DHCP server
 * info about the UEFI PXE client
 * how the obseration from
   > I can observe dhcp discover and dhcp offer coming from the real dhcp
   > server, no dhcp request is sending.
   was made


Groeten
Geert Stappers
-- 
Leven en laten leven

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] DNSMASQ wrong addresses allocated after changing DHCP Clients between Neutron vRouters

2018-11-30 Thread Luis Kleber
Hi Stappers!

No hardfeelings! There was only a question missing! :)
Thanks for your reply and yes,  it's a complex setup because of the Neutron
use (all installation needed).

After explained the problem, I was expecting a help to "how better debug",
how see some other logs, activate another debug, another configuration, and
so on...
I'll try if the same problem happens without Neutron. Only using a DNSMASQ
with 2 different access interfaces/networks.

Tanks.
--
Luis Kleber


Em sex, 30 de nov de 2018 às 16:33, Geert Stappers 
escreveu:

> On Wed, Nov 28, 2018 at 08:49:57AM -0200, Luis Kleber wrote:
> > Em ter, 27 de nov de 2018 às 20:12, Geert Stappers escreveu:
> > > On Mon, Nov 26, 2018 at 04:42:05PM -0200, Luis Kleber wrote:
> > > 
> > > > dhcp-range=set:infra-70-subnet,100.101.1.11,100.101.1.64,600s
> > > > dhcp-option=tag:infra-70-subnet,3,100.101.1.1
> > > > dhcp-range=set:infra-71-subnet,100.101.2.11,100.101.2.64,600s
> > > > dhcp-option=tag:infra-71-subnet,3,100.101.2.1
> > > > dhcp-range=set:infra-72-subnet,100.98.98.11,100.98.98.64,600s
> > > > dhcp-option=tag:infra-72-subnet,3,100.98.98.1
> > >  infra-73 ... infra-92 
> > > > dhcp-range=set:infra-93-subnet,100.103.8.11,100.103.8.64,600s
> > > > dhcp-option=tag:infra-93-subnet,3,100.103.8.1
> > > > dhcp-range=set:infra-94-subnet,100.104.1.11,100.104.1.64,600s
> > > > dhcp-option=tag:infra-94-subnet,3,100.104.1.1
> > > > dhcp-range=set:infra-95-subnet,100.96.96.11,100.96.96.64,600s
> > > > dhcp-option=tag:infra-95-subnet,3,100.96.96.1
> > >
> > > Why?
> > >
> >
> > "Why" what?
> > If the question is the all other dhcp-ranges (unused for this scenario),
> > the answer is because in production case these other networks for each
> dhcp
> > range exist. These other unused ranges for this test case, this cannot
> be a
> > problem.
> >
> > Thanks
>
> No problem, no hardfeelings.
>
> It was me who should have wrote in his initial reply
>
>
>   Oops, that is a complex setup. Is really all the complexity needed?
>
>
> Anyway: Feel free to post, do known that it is been readed.
>
>
> Groeten
> Geert Stappers
> --
> > this cannot be a problem.
>
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] PXE boot in proxy mode not working

2018-11-30 Thread Tschigirinski Jewgeni
Hi,

I want use dnsmasq in proxy mode to boot uefi pxe client.

I can observe dhcp discover and dhcp offer coming from the real dhcp server, no 
dhcp request is sending.

The relevant configuration is:

dhcp-range=x.x.x.1,proxy

dhcp-option=vendor:PXEClient,6,2b

dhcp-boot=bootnetx64.efi,"PXE Server"

enable-tftp

tftp-root=/tftpboot

port=0

Many thanks for any advice


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] DHCPv6 does not update ipv6 timestamp lease times

2018-11-30 Thread Inigo de la Fuente
I am using dnsmasq 2.78.

Doing some test I have connect 3 different devices and when reading dhcp.leases 
file I found that only the timestamp of the ipv4 leases files are updated not 
for ipv6.

Why does not update timestamp for ipv6 leases?

this is my dnsmasq.conf:
"
dhcp-authoritative
domain-needed
localise-queries
read-ethers
bogus-priv
expand-hosts
server=/lan/
dhcp-leasefile=/data/wlanman/dhcp.leases
resolv-file=/etc/resolv.conf
addn-hosts=/tmp/hosts
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
interface=eth1
enable-ra
no-dhcp-interface=rmnet_data0
dhcp-range=lan,10.173.190.51, 10.173.190.150, 255.255.255.0, 72h
dhcp-range=lan,fd30:e08e:c031:0020::33, fd30:e08e:c031:0020::96, 64,  ra-only, 
72h

dhcp-host=40:a3:cc:7d:9d:30,10.173.190.33
dhcp-host=id:00:01:00:01:21:EF:26:71:8C:EC:4B:E5:28:6B,[fd30:e08e:c031:0020::30]
"

Hope someone can help me.

Regards




---
Met vriendelijke groet / With kind regards,

Iñigo De La Fuente
Sr. Software Designer
[ict logo]

Machine & Systems

Visiting address: Prof. Dr. Dorgelolaan 30, 5613 AM, Eindhoven, The Netherlands
E inigo.de.la.fue...@ict.nl
M +31625733268
W www.ict.eu

Chamber of Commerce no. 24254385





 Disclaimer 
This email and any files transmitted may contain proprietary and confidential 
information of ICT Group N.V. or any of its subsidiaries ("ICT") and is 
intended only for the (use of the) named recipient(s) above. If you have 
received this message in error or are not the intended or named recipient(s) of 
this message, please immediately notify the sender by return and delete this 
email message from your computer. Any views or opinions presented are solely 
those of its author and do not necessarily represent those of ICT. You are 
hereby notified that unauthorized disclosure, use, dissemination, forwarding, 
printing or copying of this e-mail and its attachments either whole or partial 
of its contents is strictly prohibited. ICT cannot guarantee that email 
communications are secured and error-free and does not accept any liability for 
damages resulting from the use of email. The general terms and conditions of 
purchase respectively sale and delivery of ICT are applicable to all 
transactions and undertakings resulting therefrom.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss