On 11/4/06, Geert Stappers <stappers@stappers.nl> wrote:
Op 04-11-2006 om 12:29 schreef Jens Peter Secher: > Geert Stappers > > > [ d-i DHCP request fails, installed system DHCP request works ] > > > > I think you are saying > > "I don't know that my network has two DHCP servers" > > I don't think so, see above. Do you have any suggestions to what I > should do to debug further? Install the package dhcpdump on computer 192.168.1.1, capture both sessions (d-i & installed) and search for differences in the DHCP replies, especial on the router info
I ran nohup sudo sh -c "bin/dchptrace &" on 192.168.1.1 where bin/dhcptrace is #!/bin/sh tcpdump -lenx -s 1500 port bootps or port bootpc | dhcpdump > dhcp.trace The output (MAC-obfuscated by me) after retrying debian_installer is TIME: 19:07:53.484470 IP: > (my:t4:2m:ac:ad:dr) > (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: c2693933 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 0.0.0.0 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: my:t4:2m:ac:ad:dr:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER) OPTION: 60 ( 3) Vendor class identifier d-i OPTION: 55 ( 7) Parameter Request List 1 (Subnet mask) 28 (Broadcast address) 2 (Time offset) 3 (Routers) 15 (Domainname) 6 (DNS server) 12 (Host name) --------------------------------------------------------------------------- TIME: 19:07:53.496186 IP: > (se:rv:er:ad:dr:es) > (my:t4:2m:ac:ad:dr) OP: 2 (BOOTPREPLY) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: c2693933 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 192.168.1.8 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: my:t4:2m:ac:ad:dr:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER) OPTION: 54 ( 4) Server identifier 192.168.1.1 OPTION: 51 ( 4) IP address leasetime 864000 (1w3d) OPTION: 3 ( 4) Routers 192.168.1.1 OPTION: 5 ( 4) Name server 192.168.1.1 OPTION: 6 ( 4) DNS server 192.168.1.1 OPTION: 15 ( 14) Domainname ravneholm26.dk OPTION: 44 ( 4) NetBIOS name server 192.168.1.1 --------------------------------------------------------------------------- TIME: 19:07:55.498297 IP: > (my:t4:2m:ac:ad:dr) > (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: c2693933 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 0.0.0.0 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: my:t4:2m:ac:ad:dr:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 3 (DHCPREQUEST) OPTION: 54 ( 4) Server identifier 192.168.1.1 OPTION: 50 ( 4) Request IP address 192.168.1.8 OPTION: 60 ( 3) Vendor class identifier d-i OPTION: 55 ( 7) Parameter Request List 1 (Subnet mask) 28 (Broadcast address) 2 (Time offset) 3 (Routers) 15 (Domainname) 6 (DNS server) 12 (Host name) --------------------------------------------------------------------------- TIME: 19:07:55.508238 IP: > (se:rv:er:ad:dr:es) > (my:t4:2m:ac:ad:dr) OP: 2 (BOOTPREPLY) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: c2693933 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 192.168.1.8 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: my:t4:2m:ac:ad:dr:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 5 (DHCPACK) OPTION: 54 ( 4) Server identifier 192.168.1.1 OPTION: 51 ( 4) IP address leasetime 864000 (1w3d) OPTION: 3 ( 4) Routers 192.168.1.1 OPTION: 5 ( 4) Name server 192.168.1.1 OPTION: 6 ( 4) DNS server 192.168.1.1 OPTION: 15 ( 14) Domainname ravneholm26.dk OPTION: 44 ( 4) NetBIOS name server 192.168.1.1 When I compare this output to what happens on non-debian-installer DHCP requests, I do not see any real differences. -- Jens Peter Secher _DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_ A. Because it breaks the logical sequence of discussion Q. Why is top posting bad?