[Dnsmasq-discuss] Re: Problem with multihomed interface

Simon Kelley simon at thekelleys.org.uk
Thu Apr 27 08:37:45 BST 2006


Marcus Better wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> again I have problems with DHCP on interfaces with multiple IP addresses.
> The system is a Linksys WRT54GS router running OpenWRT with dnsmasq 2.30
> (also tried 2.26).
> 

If 2.26 fails also, that narrows down the problem.

> The interface vlan1 is configured with two IP addresses:
> 
> root at wrt:~# ip addr show dev vlan1
> 8: vlan1: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc htb
>     link/ether 00:13:d4:24:f7:35 brd ff:ff:ff:ff:ff:ff
>     inet aa.bb.cc.dd/17 brd aa.bb.255.255 scope global vlan1
>     inet 192.168.102.1/24 scope global vlan1
> 
> tcpdump shows me the incoming requests from my DHCP client, but there is no
> response:
> 
> root at wrt:~# tcpdump -n -i vlan1 port bootps or port bootpc
> 09:03:47.631154 IP 192.168.100.3.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:40:8c:10:63:ab, length: 300
> 
> Note that this DHCP client (a print server) mistakenly thinks that it is
> 192.168.100.3, an old setting which it stores in nvram. Could this be a
> problem?
Very unlikely, the client would have to be very broken.


> 
> dnsmasq.conf has the lines:
> 
> dhcp-range=wan,192.168.102.32,192.168.102.254
> dhcp-host=00:40:8c:10:63:ab,axis,192.168.102.4
> 
> The second line is supposed to match this DHCP client.

Is dnsmasq logging anything in response to the packet which you saw?


Cheers,

Simon.
> 
> Thanks,
> 
> Marcus
> 
> - ------------8<dnsmasq.conf-------------------------------------------
> domain-needed
> no-resolv
> domain=home.better.se
> 
> server=81.216.65.11
> server=81.216.65.12
> 
> dhcp-leasefile=/tmp/dhcp.leases
> dhcp-authoritative
> dhcp-range=lan,192.168.100.32,192.168.100.127
> dhcp-range=wan,192.168.102.32,192.168.102.254
> dhcp-host=00:40:8c:10:63:ab,axis,192.168.102.4
> - --------------------------------------------------------------------
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> 
> iD8DBQFEUG9EXjXn6TzcAQkRApMEAKDP8Un6id1TjoBEeDHhyPa7H6gKkwCfRsQh
> +8m+TID4rmiD7TS//FfoNSk=
> =SXEa
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list