Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DHCP weirdness

7 views
Skip to first unread message

Simon Richter

unread,
Jun 17, 2010, 9:34:23 AM6/17/10
to
Hi,

I've hacked my own DHCP server, and Windows clients show a bit of an
interesting behaviour with renewals: the client sends out a REQUEST,
which is ACK'd by the server; then, the client resends the REQUEST,
using the same XID, and is sent another ACK (i.e. renewal happens twice
in very short order).

If I keep the "Details" window open, it briefly shows the current
setting switch to 0.0.0.0, and then the old setting reappears.

Any idea what might be going on here?

Simon

Traffic on the wire:

15:29:26.879433 IP (tos 0x0, ttl 128, id 17928, offset 0, flags [none],
proto UDP (17), length 328)
172.16.0.250.68 > 172.16.0.1.67: [udp sum ok] BOOTP/DHCP, Request
from 00:50:fc:9d:58:85, length 300, xid 0xd9f48b73, Flags [none] (0x0000)
Client-IP 172.16.0.250
Client-Ethernet-Address 00:50:fc:9d:58:85
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:50:fc:9d:58:85
Hostname Option 12, length 4: "elim"
FQDN Option 81, length 8: "elim."
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 11:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope,
Router-Discovery
Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Vendor-Option Option 43, length 3: 220.1.0
0x0000: 4500 0148 4608 0000 8011 9a81 ac10 00fa E..HF...........
0x0010: ac10 0001 0044 0043 0134 ddfc 0101 0600 .....D.C.4......
0x0020: d9f4 8b73 0000 0000 ac10 00fa 0000 0000 ...s............
0x0030: 0000 0000 0000 0000 0050 fc9d 5885 0000 .........P..X...
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 6382 5363 3501 033d ........c.Sc5..=
0x0110: 0701 0050 fc9d 5885 0c04 656c 696d 5108 ...P..X...elimQ.
0x0120: 0000 0065 6c69 6d2e 3c08 4d53 4654 2035 ...elim.<.MSFT.5
0x0130: 2e30 370b 010f 0306 2c2e 2f1f 21f9 2b2b .07.....,./.!.++
0x0140: 03dc 0100 ff00 0000 ........

15:29:26.880095 IP (tos 0x0, ttl 2, id 0, offset 0, flags [DF], proto
UDP (17), length 572)
172.16.0.1.67 > 172.16.0.250.68: [no cksum] BOOTP/DHCP, Reply,
length 544, hops 1, xid 0xd9f48b73, Flags [none] (0x0000)
Client-IP 172.16.0.250
Your-IP 172.16.0.250
Server-IP 172.16.0.1
Client-Ethernet-Address 00:50:fc:9d:58:85
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
Server-ID Option 54, length 4: 172.16.0.1
DHCP-Message Option 53, length 1: ACK
Lease-Time Option 51, length 4: 60
Subnet-Mask Option 1, length 4: 255.240.0.0
0x0000: 4500 023c 0000 4000 0211 1d96 ac10 0001 E..<..@.........
0x0010: ac10 00fa 0043 0044 0228 0000 0201 0601 .....C.D.(......
0x0020: d9f4 8b73 0000 0000 ac10 00fa ac10 00fa ...s............
0x0030: ac10 0001 0000 0000 0050 fc9d 5885 0000 .........P..X...
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 6382 5363 3604 ac10 ........c.Sc6...
0x0110: 0001 3501 0533 0400 0000 3c01 04ff f000 ..5..3....<.....
0x0120: 00ff 0000 0000 0000 0000 0000 0000 0000 ................
0x0130: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0160: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0170: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0180: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0190: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0220: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0230: 0000 0000 0000 0000 0000 0000 ............

15:29:29.876452 IP (tos 0x0, ttl 128, id 17929, offset 0, flags [none],
proto UDP (17), length 328)
172.16.0.250.68 > 172.16.0.1.67: [udp sum ok] BOOTP/DHCP, Request
from 00:50:fc:9d:58:85, length 300, xid 0xd9f48b73, secs 768, Flags
[none] (0x0000)
Client-IP 172.16.0.250
Client-Ethernet-Address 00:50:fc:9d:58:85
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 00:50:fc:9d:58:85
Hostname Option 12, length 4: "elim"
FQDN Option 81, length 8: "elim."
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 11:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope,
Router-Discovery
Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Vendor-Option Option 43, length 3: 220.1.0
0x0000: 4500 0148 4609 0000 8011 9a80 ac10 00fa E..HF...........
0x0010: ac10 0001 0044 0043 0134 dafc 0101 0600 .....D.C.4......
0x0020: d9f4 8b73 0300 0000 ac10 00fa 0000 0000 ...s............
0x0030: 0000 0000 0000 0000 0050 fc9d 5885 0000 .........P..X...
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 6382 5363 3501 033d ........c.Sc5..=
0x0110: 0701 0050 fc9d 5885 0c04 656c 696d 5108 ...P..X...elimQ.
0x0120: 0000 0065 6c69 6d2e 3c08 4d53 4654 2035 ...elim.<.MSFT.5
0x0130: 2e30 370b 010f 0306 2c2e 2f1f 21f9 2b2b .07.....,./.!.++
0x0140: 03dc 0100 ff00 0000 ........

15:29:29.876826 IP (tos 0x0, ttl 2, id 0, offset 0, flags [DF], proto
UDP (17), length 572)
172.16.0.1.67 > 172.16.0.250.68: [no cksum] BOOTP/DHCP, Reply,
length 544, hops 1, xid 0xd9f48b73, Flags [none] (0x0000)
Client-IP 172.16.0.250
Your-IP 172.16.0.250
Server-IP 172.16.0.1
Client-Ethernet-Address 00:50:fc:9d:58:85
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
Server-ID Option 54, length 4: 172.16.0.1
DHCP-Message Option 53, length 1: ACK
Lease-Time Option 51, length 4: 60
Subnet-Mask Option 1, length 4: 255.240.0.0
0x0000: 4500 023c 0000 4000 0211 1d96 ac10 0001 E..<..@.........
0x0010: ac10 00fa 0043 0044 0228 0000 0201 0601 .....C.D.(......
0x0020: d9f4 8b73 0000 0000 ac10 00fa ac10 00fa ...s............
0x0030: ac10 0001 0000 0000 0050 fc9d 5885 0000 .........P..X...
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 6382 5363 3604 ac10 ........c.Sc6...
0x0110: 0001 3501 0533 0400 0000 3c01 04ff f000 ..5..3....<.....
0x0120: 00ff 0000 0000 0000 0000 0000 0000 0000 ................
0x0130: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0160: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0170: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0180: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0190: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x01f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0220: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0230: 0000 0000 0000 0000 0000 0000 ............

0 new messages