Re: [Dnsmasq-discuss] Need some indications to patch dnsmasq, to bypass /64 limit

2013-11-16 Thread dnsmasq . bertrandb

You should be able to configure DHCPv6 in dnsmasq to handle larger
prefixes. You can't do SLAAC address allocation that way, because it
depends on a 64-bit prefix and a 64-bit EUI-64 id, but DHCP works.

Something like

dhcp-range=start-address,end-address,92

The prefix length MUST match the prefix length configured in the local
inerface.


Thanks for the response i try
I make the modification on /var/lib/libvirt/dnsmasq/reseau.conf and kill up the 
process
so my dnsmasq.conf is :
##WARNING:  THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
##OVERWRITTEN AND LOST.  Changes to this configuration should be made using:
##virsh net-edit default-ipv6
## or other application using the libvirt API.
##
## dnsmasq conf file created by libvirt
strict-order
domain-needed
domain=root.belguise.eu
expand-hosts
local=/root.belguise.eu/
pid-file=/var/run/libvirt/network/default-ipv6.pid
except-interface=lo
bind-dynamic
interface=virbr0
dhcp-range=192.168.122.2,192.168.122.254
dhcp-no-override
dhcp-range=2a00:c70:1:xxx:xxx:xxx:8106:901,2a00:c70:1:xxx:xxx:xxx:8106:f01,97
dhcp-leasefile=/var/lib/libvirt/dnsmasq/default-ipv6.leases
dhcp-lease-max=1790
dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default-ipv6.hostsfile
addn-hosts=/var/lib/libvirt/dnsmasq/default-ipv6.addnhosts
#enable-ra

mybridge is on same prfix
root@root:~# ifconfig virbr0
virbr0Link encap:Ethernet  HWaddr 52:54:00:89:5a:8e
  inet adr:192.168.122.1  Bcast:192.168.122.255  Masque:255.255.255.0
  adr inet6: 2a00:c70:1:xxx:xxx:xxx:8106:/97 Scope:Global

and I got
Nov 16 09:53:51 root dnsmasq-dhcp[2371]: no address range available for DHCPv6 r
equest via virbr0

if I change the prefix in /64 i see an RTR-ADVERT in log
not with /97 (i'd try with /112 too)
I think that dhclient on my vm's send an RTR-SOLLICIT whish is the origin of 
the message and don't send DHCP stuff since there is no reponse to is 
RTR-SOLLICIT

On my vm (debian wheezy) my /etc/network/interfaces is

iface eth0 inet6 dhcp
accept-ra 0
autoconf 0



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


[Dnsmasq-discuss] timing of dhcp-script for tftp downloads

2013-11-16 Thread Maule Mark
When is dhcp-script called after doing a tftp download?  Is that script invoked 
immediately, or is it queued operation that has an indeterminate delay between 
tftp completion and script start?

Also, is there any way to know when a tftp download starts vs.ends?

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


Re: [Dnsmasq-discuss] timing of dhcp-script for tftp downloads

2013-11-16 Thread Simon Kelley

On 16/11/13 14:21, Maule Mark wrote:

When is dhcp-script called after doing a tftp download?  Is that script
invoked immediately, or is it queued operation that has an indeterminate
delay between tftp completion and script start?


It's queued at transfer completion. There are at least two sources of delay.

1) Only one instance of the script is running at any time, so a TFTP 
completion event can be queued indefinitely waiting for a previous 
invocation of the script to exit.


2) transfer completion is defined as receipt of the ACK for the last 
block, but some clients never send this: as soon as they have all the 
blocks they return, and never send the last ACK; also the last ACK may 
be lost. In this case, the transfer complete at the server occurs after 
multiple timeouts and retransmissions, at the point at which a failed 
transfer would otherwise be signalled.




Also, is there any way to know when a tftp download starts vs.ends?


No, I don't think so.

Cheers,

Simon



thanks
Mark


___
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


Re: [Dnsmasq-discuss] timing of dhcp-script for tftp downloads

2013-11-16 Thread Brian Rak


On 11/16/2013 10:01 AM, Simon Kelley wrote:



Also, is there any way to know when a tftp download starts vs.ends?


No, I don't think so.


You could always chainload iPXE, and use HTTP instead of TFTP. You'd be 
able to use any server side language to do actions when a download 
starts/ends.


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