[Dnsmasq-discuss] Dnsmasq and bond0

fa500452 at skynet.be fa500452 at skynet.be
Sun Apr 20 12:31:58 UTC 2014


Hello everyone,

I've got some problem with dnsmasq and it seems bond0. I'm not sure this is why
I'm asking some help.

I'm under gentoo using
net-dns/dnsmasq-2.66  USE="dbus dhcp idn ipv6 nls tftp -auth-dns -conntrack
-dhcp-tools -lua -script (-selinux)" LINGUAS="-de -es -fi -fr -id -it -no -pl
-pt_BR -ro" 0 kB

3 interfaces : enp1s0, enp7s0 and enp8s0. enps7s0 and enp8s0 are bonded. I used
the kernel method. From the kernel documentation ifenslave is "has been".

Interface seem to work :

ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp7s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
bond0 state UP qlen 1000
    link/ether d0:50:99:0a:63:05 brd ff:ff:ff:ff:ff:ff
3: enp8s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
bond0 state UP qlen 1000
    link/ether d0:50:99:0a:63:05 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
    link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN
    link/tunnel6 :: brd ::
6: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
qlen 1000
    link/ether 64:66:b3:02:3c:91 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.2/24 brd 192.168.2.255 scope global enp1s0
       valid_lft forever preferred_lft forever
    inet6 fe80::6666:b3ff:fe02:3c91/64 scope link
       valid_lft forever preferred_lft forever
9: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP
    link/ether d0:50:99:0a:63:05 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/8 brd 10.0.0.255 scope global bond0
       valid_lft forever preferred_lft forever
    inet6 fe80::d250:99ff:fe0a:6305/64 scope link
       valid_lft forever preferred_lft forever

dnsmasq.conf
domain-needed
bogus-priv
filterwin2k
bridge-interface=bond0,enp7s0,enp8s0
interface=bond0
expand-hosts
domain=arcade.lan
resolv-file=/etc/resolv.dnsmasq.conf
listen-address=127.0.0.1
listen-address=10.0.0.1
dhcp-range=10.0.0.1,10.0.0.50,72h
dhcp-host=bc:5f:f4:fe:10:26,infinite
dhcp-host=outrun,10.0.0.10
dhcp-host=00:26:b0:e6:31:30,10.0.0.12
dhcp-host=WDTVLive,10.0.0.40
dhcp-host=00:14:38:d4:c4:21,printer,10.0.0.45
dhcp-host=00:22:6b:f7:1c:eb,camera,10.0.0.46
dhcp-host=90:f6:52:75:d8:70,10.0.0.49,infinite
dhcp-host=10:fe:ed:ff:f9:4e,10.0.0.50,infinite
dhcp-option=3,10.0.0.1
dhcp-option=6,208.67.222.222,8.8.8.8
dhcp-option=66,"10.0.0.1"
dhcp-option=67,syslinux.efi
dhcp-option=128,10.0.0.1
#dhcp-option-force=211,30i
pxe-service=x86PC, "Launch PXE_BIOS", pxelinux, 10.0.0.1
pxe-service=X86-64_EFI, "Launch PXE-UEFI", syslinux, 10.0.0.1
dhcp-option=42,0.0.0.0
dhcp-option=19,0           # option ip-forwarding off
dhcp-option=44,0.0.0.0     # set netbios-over-TCP/IP nameserver(s) aka WINS
server(s)
dhcp-option=45,0.0.0. 0    # netbios datagram distribution server
dhcp-option=46,8           # netbios node type
dhcp-option=47
dhcp-match=mactels, option:client-arch, 7 #EFI x86-64
tftp-root=/tftproot/
tftp-lowercase
dhcp-leasefile=/var/lib/misc/dnsmasq.leases
server=/www.google.com/8.8.8.8
bogus-nxdomain=64.94.110.11

As you can see, I've already tried the solution
bridge-interface=bond0,enp7s0,enp8s0.

I've got no dhcp response for my client.

Thanks. Best regards.

Happy easter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140420/b8fd4634/attachment.html>


More information about the Dnsmasq-discuss mailing list