[Dnsmasq-discuss] Wrong server IP in dual normal/proxyDHCP mode
Alkis Georgopoulos
alkisg at gmail.com
Sat May 16 09:27:45 BST 2015
I just tried with git head, with the same results.
Another debugging hint... I tried commenting out the following line:
#dhcp-range=tag:efi,192.168.68.20,192.168.68.250,8h
Meaning that I only had the proxyDHCP range in effect:
dhcp-range=tag:!efi,10.161.254.0,proxy
The client of course booted successfully.
Then I compared the 2 DHCP transactions using `sudo tcpdump -i eth1 port
67 or port 68 or port 69 or port 4011 -e -n -vv`
I couldn't find any differences!
Except for the "id"s, the Lease-time option 51, the RN option 58, and
the RB option 59, everything else was identical!
Since dnsmasq sent the same replies, and the server IPs didn't change, I
don't understand why the client got the correct TFTP IP at the first try
and the wrong IP at the second try... :-/
With the 192.168.68.x range commented out:
http://paste.debian.net/178081/
With the 192.168.68.x range in effect:
http://paste.debian.net/178082/
--
Thanks,
Alkis
(reminding my config:
enable-tftp
tftp-root=/var/lib/tftpboot/
dhcp-option=17,/opt/ltsp/i386
dhcp-match=set:efi,option:client-arch,7
dhcp-range=tag:!efi,10.161.254.0,proxy
dhcp-range=tag:efi,192.168.68.20,192.168.68.250,8h
dhcp-boot=tag:!efi,ltsp/i386/pxelinux.0
dhcp-boot=tag:efi,ltsp/amd64/bootnetx64.efi
pxe-service=X86PC, "Boot from network", ltsp/i386/pxelinux
pxe-service=BC_EFI,"BC_EFI: Boot from network",ltsp/amd64/bootnetx64
$ ip -oneline -family inet addr show
3: eth1 inet 10.161.254.11/24 brd 10.161.254.255 scope global eth1\
valid_lft forever preferred_lft forever
3: eth1 inet 192.168.68.1/24 brd 192.168.68.255 scope global eth1\
valid_lft forever preferred_lft forever
)
More information about the Dnsmasq-discuss
mailing list