[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282354: install: dhclient sends and accept improper request/offer



On Tue, Nov 23, 2004 at 12:39:26AM +0100, GISQUET Christophe wrote:
> D'oh, contradicts my reportbug title. Let me rephrase this: dhclient
> requests a 192.168.0.X IP on its eth1 interface. Server is configured to
> give 192.168.1.X IPs on its eth1 interface, and 192.168.0.X on its eth0
> interface. It accepts this request (see end of mail).

A DHCP-discover does not request any ip, it asks for one. Is it possible
that the server have a lease for this mac?

> > Please provide an example of the dhcp request and response packets.
> 
> Sorry again, but I'm too unfamiliar with DHCP ports and tcpdump to
> know how to dump those packets.

tcpdump -ni $interface "udp port 67"

> Once I noticed that it is 192.168.0.0 that replies, I've decided to check
> the server's dnsmasq.conf: both interfaces had the mask 255.255.0.0. Could
> this be the cause of the problem, and a misconfiguration only on the
> server side? In such case, I doublely apology for falsely reporting that
> and marking it as important.

Both 192.168.0.0/24 and 192.168.1.0/24 is included in 192.168.0.0/16.

Bastian

-- 
Phasers locked on target, Captain.

Attachment: signature.asc
Description: Digital signature


Reply to: