How do I make dnsmasq serve IP addresses via IPoIB?
Posted
by
Matt
on Server Fault
See other posts from Server Fault
or by Matt
Published on 2012-11-05T03:39:52Z
Indexed on
2012/11/05
5:03 UTC
Read the original article
Hit count: 485
I have a cluster farm that I'm setting up.
The nodes (computers in the farm) are connected via ethernet & IP over Infiniband. I'm needing to netboot the nodes and thought dnsmasq would fit well as it provides all the features including support for DHCP over IB and it works great for our ethernet setup. However, I can't seem to get it to provide IP addresses to the infiniband adaptors on the nodes.
Each node is running an Ubuntu desktop 12.04 LTS. The dnsmasq server is running on ubuntu server 12.04LTS and has the following test config:
dhcp-authoritative
domain-needed
bogus-priv
expand-hosts
no-hosts
domain=local
dhcp-range=eth0,10.0.0.10,10.0.0.255,12h
dhcp-option=eth0,3,10.0.0.1
dhcp-range=ib0,10.1.1.10,10.1.1.255,12h
dhcp-option=ib0,3,10.1.1.1
log-queries
log-dhcp
IPoIB works between nodes when configured statically but not with dhcp. On the nodes the file /etc/network/interfaces contains
auto lo
iface lo inet loopback
auto ib0
iface ib0 inet dhcp
#iface ib0 inet static
#address 10.1.1.5
#netmask 255.0.0.0
up echo connected >`find /sys -name mode | grep ib0`
Is there something I need to do on the client or server end to make this work?
© Server Fault or respective owner