[Dnsmasq-discuss] could not bind dnsmasq to mutiple interfaces with same ip-address

Michael Rack michael.rack at rsm-freilassing.de
Thu May 13 19:24:13 BST 2010


Hi Simon!

I've installed dnsmasq to my new servers i bought. I copied all files 
original as of the old server. But on startup i get this error message:
> dnsmasq: unknown interface bond5

after removing bond5 i got the following error message:
> dnsmasq: unknown interface bond4

after removing bond4, dnsmasq startet properly.

The thing is, that every interface become the same ip-address in future. 
The same configuration was already running on my old server, but wont 
run on the new one.

> 5: bond0: <BROADCAST,MULTICAST,MASTER,UP> mtu 1460 qdisc noqueue state 
> UNKNOWN
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>     inet 81.95.14.97/30 brd 81.95.14.99 scope global bond0
> 6: bond1: <BROADCAST,MULTICAST,MASTER,UP> mtu 1460 qdisc noqueue state 
> UNKNOWN
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>     inet 81.95.14.101/30 brd 81.95.14.103 scope global bond1
> 7: bond2: <BROADCAST,MULTICAST,MASTER,UP> mtu 1460 qdisc noqueue state 
> UNKNOWN
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>     inet 81.95.14.105/30 brd 81.95.14.107 scope global bond2
> 8: bond3: <BROADCAST,MULTICAST,MASTER,UP> mtu 1460 qdisc noqueue state 
> UNKNOWN
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>     inet 91.205.12.0/32 brd 255.255.255.255 scope global bond3
> 9: bond4: <BROADCAST,MULTICAST,MASTER,UP> mtu 1460 qdisc noqueue state 
> UNKNOWN
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>     inet 91.205.12.0/32 brd 255.255.255.255 scope global bond4
> 10: bond5: <BROADCAST,MULTICAST,MASTER,UP> mtu 1460 qdisc noqueue 
> state UNKNOWN
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>     inet 91.205.12.0/32 brd 255.255.255.255 scope global bond5

The configurationfile looks like the following:

> interface=bond0
> interface=bond1
> interface=bond3
> #interface=bond4
> #interface=bond5
> bind-interfaces
>
> # PID File
> pid-file=/var/run/dnsmasq.pid
>
> # Konfigurations-Directory einlesen
> conf-dir=/etc/dnsmasq.d

Can you see the Problem?

Liebe Grüße aus Freilassing,

Michael Rack
RSM Freilassing
-- 
RSM Freilassing                 Tel.: +49 8654 607110
Nocksteinstr. 13                Fax.: +49 8654 670438
D-83395 Freilassing            www.rsm-freilassing.de




More information about the Dnsmasq-discuss mailing list