[Dnsmasq-discuss] client is unable to boot from
Mahmood Naderan
m_naderan at ce.sharif.edu
Fri Aug 1 18:47:36 BST 2014
Hi
I have set up dnsmasq and others things on the server side and now I am
trying to turn on the client. Note that both server and the diskless
client are set up in Virtualbox.
The server configs are
/etc/dnsmasq
interface=eth2
domain=hpclab
expand-hosts
dhcp-range=10.0.2.52,10.0.2.100,static
dhcp-option=42,0.0.0.0
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftpboot
dhcp-host=08:00:27:69:73:7A,ws04,10.0.2.52
/etc/sysconfig/network-scripts/ifcfg-Auto_eth2
HWADDR=08:00:27:5a:3e:be
TYPE=Ethernet
BOOTPROTO=none
IPADDR=190.200.0.1
PREFIX=24
#GATEWAY=0.0.0.19
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="Auto eth2"
UUID=0a22b666-db29-4f5c-9a2a-4a8fee7bb4ac
ONBOOT=yes
LAST_CONNECT=1361949463
ip addr
3: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 1000
link/ether 08:00:27:5a:3e:be brd ff:ff:ff:ff:ff:ff
inet 190.200.0.1/24 brd 190.200.0.255 scope global eth2
inet6 fe80::a00:27ff:fe5a:3ebe/64 scope link
valid_lft forever preferred_lft forever
Now I start the dnsmasq in debug mode to see what is going on
# dnsmasq -d
dnsmasq: started, version 2.48 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-I18N DHCP TFTP
"--bind-interfaces with SO_BINDTODEVICE"
dnsmasq-dhcp: DHCP, IP range 10.0.2.52 -- 10.0.2.100, lease time 2m
dnsmasq-tftp: TFTP root is /var/lib/tftpboot
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver 192.168.137.1#53
dnsmasq: read /etc/hosts - 2 addresses
But the clients receives this error
CLIENT MAC ADDR: 08 00 27 69 73 7A GUID:
EF720459-193c-4558-8c46-15ff790fcd1c
PXE-E51: No DHCP or proxyDHCP offers were received.
and the server stuck at the line "read /etc/hosts - 2 addresses"
--
Regards,
Mahmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140801/2700efa7/attachment.html>
More information about the Dnsmasq-discuss
mailing list