Re: DHCP issue switching scopes
From: Andy Brown (abrown_at_daqtron.com)
Date: 05/20/04
- Next message: Phillip Windell: "Re: Problems installing DSL router with win 2000 server"
- Previous message: daniel: "client machines logging on to the wrong server 2003"
- In reply to: Dusty Harper {MS}: "Re: DHCP issue switching scopes"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 May 2004 09:54:42 -0700
Here is a text file dump of a discover/offer packet pair
that shows the issue. I can send the entire capture file
if necessary.
****************************************************
Frame 1 (590 bytes on wire, 590 bytes captured)
Arrival Time: May 13, 2004 23:39:36.157710000
Time delta from previous packet: 0.000000000 seconds
Time since reference or first frame: 0.000000000
seconds
Frame Number: 1
Packet Length: 590 bytes
Capture Length: 590 bytes
Ethernet II, Src: 00:d0:88:01:05:32, Dst: 00:0e:0c:08:01:77
Destination: 00:0e:0c:08:01:77 (Intel_08:01:77)
Source: 00:d0:88:01:05:32 (TerayonC_01:05:32)
Type: IP (0x0800)
Internet Protocol, Src Addr: 10.36.1.1 (10.36.1.1), Dst
Addr: 10.33.1.1 (10.33.1.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00:
Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint:
Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 576
Identification: 0x0000 (0)
Flags: 0x04
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: UDP (0x11)
Header checksum: 0x2267 (correct)
Source: 10.36.1.1 (10.36.1.1)
Destination: 10.33.1.1 (10.33.1.1)
User Datagram Protocol, Src Port: bootps (67), Dst Port:
bootps (67)
Source port: bootps (67)
Destination port: bootps (67)
Length: 556
Checksum: 0x1e37 (correct)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x0000379b
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 10.36.1.1 (10.36.1.1)
Client hardware address: 00:0f:9f:1b:cb:18
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Discover
Option 60: Vendor class identifier
= "docsis1.1:052401010102010103010104010105010106010107010f
0801040901000a01010b01180c0101"
Option 55: Parameter Request List
1 = Subnet Mask
2 = Time Offset
3 = Router
4 = Time Server
7 = Log Server
66 = TFTP Server Name
67 = Bootfile name
Option 43: Vendor-Specific Information (65 bytes)
Option 61: Client identifier
Hardware type: Ethernet
Client hardware address: 00:0f:9f:1b:cb:18
Option 82: Agent Information Option (26 bytes)
Agent Circuit ID (4 bytes)
Agent Remote ID (6 bytes)
Unknown agent option: 3
Unknown agent option: 4
End Option
Padding
0000 00 0e 0c 08 01 77 00 d0 88 01 05 32 08 00 45
00 .....w.....2..E.
0010 02 40 00 00 40 00 40 11 22 67 0a 24 01 01 0a
21 .@..@.@."g.$...!
0020 01 01 00 43 00 43 02 2c 1e 37 01 01 06 00 00
00 ...C.C.,.7......
0030 37 9b 00 00 00 00 00 00 00 00 00 00 00 00 00 00
7...............
0040 00 00 0a 24 01 01 00 0f 9f 1b cb 18 00 00 00
00 ...$............
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0110 00 00 00 00 00 00 63 82 53 63 35 01 01 3c 56
64 ......c.Sc5..<Vd
0120 6f 63 73 69 73 31 2e 31 3a 30 35 32 34 30 31 30
ocsis1.1:0524010
0130 31 30 31 30 32 30 31 30 31 30 33 30 31 30 31 30
1010201010301010
0140 34 30 31 30 31 30 35 30 31 30 31 30 36 30 31 30
4010105010106010
0150 31 30 37 30 31 30 66 30 38 30 31 30 34 30 39 30
107010f080104090
0160 31 30 30 30 61 30 31 30 31 30 62 30 31 31 38 30
1000a01010b01180
0170 63 30 31 30 31 37 07 01 02 03 04 07 42 43 2b 41
c01017......BC+A
0180 08 03 00 20 40 c8 14 4d 6f 74 6f 72 6f 6c 61
20 ... @..Motorola
0190 43 6f 72 70 6f 72 61 74 69 6f 6e c9 06 53 42 35
Corporation..SB5
01a0 31 30 30 ca 19 53 42 35 31 30 30 2d 32 2e 33 2e
100..SB5100-2.3.
01b0 31 2e 33 2d 53 43 4d 30 30 2d 4e 4f 53 48 cb 01
1.3-SCM00-NOSH..
01c0 33 3d 07 01 00 0f 9f 1b cb 18 52 1a 01 04 08 89
3=........R.....
01d0 00 64 02 06 00 0f 9f 1b cb 18 03 04 ff ff 00
00 .d..............
01e0 04 04 00 00 00 00 ff 00 00 00 00 00 00 00 00
00 ................
01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ..............
Frame 2 (368 bytes on wire, 368 bytes captured)
Arrival Time: May 13, 2004 23:39:36.160626000
Time delta from previous packet: 0.002916000 seconds
Time since reference or first frame: 0.002916000
seconds
Frame Number: 2
Packet Length: 368 bytes
Capture Length: 368 bytes
Ethernet II, Src: 00:0e:0c:08:01:77, Dst: 00:d0:88:01:05:32
Destination: 00:d0:88:01:05:32 (TerayonC_01:05:32)
Source: 00:0e:0c:08:01:77 (Intel_08:01:77)
Type: IP (0x0800)
Internet Protocol, Src Addr: 10.33.1.1 (10.33.1.1), Dst
Addr: 10.36.1.1 (10.36.1.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00:
Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint:
Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 354
Identification: 0x5b75 (23413)
Flags: 0x00
0... = Reserved bit: Not set
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 128
Protocol: UDP (0x11)
Header checksum: 0xc7cf (correct)
Source: 10.33.1.1 (10.33.1.1)
Destination: 10.36.1.1 (10.36.1.1)
User Datagram Protocol, Src Port: bootps (67), Dst Port:
bootps (67)
Source port: bootps (67)
Destination port: bootps (67)
Length: 334
Checksum: 0x59f9 (correct)
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x0000379b
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 10.34.1.16 (10.34.1.16)
Next server IP address: 10.33.1.1 (10.33.1.1)
Relay agent IP address: 10.36.1.1 (10.36.1.1)
Client hardware address: 00:0f:9f:1b:cb:18
Server host name not given
Boot file name: basic_1_1.cfg
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Offer
Option 1: Subnet Mask = 255.255.0.0
Option 58: Renewal Time Value = 12 hours
Option 59: Rebinding Time Value = 21 hours
Option 51: IP Address Lease Time = 1 day
Option 54: Server Identifier = 10.33.1.1
Option 2: Time Offset (4 bytes)
Option 3: Router = 10.34.1.1
Option 4: Time Server = 10.33.1.1
Option 7: Log Server = 10.33.1.1
Option 66: TFTP Server Name = "10.33.1.1"
Option 67: Bootfile name = "basic_1_1.cfg"
End Option
0000 00 d0 88 01 05 32 00 0e 0c 08 01 77 08 00 45
00 .....2.....w..E.
0010 01 62 5b 75 00 00 80 11 c7 cf 0a 21 01 01 0a 24 .b
[u.......!...$
0020 01 01 00 43 00 43 01 4e 59 f9 02 01 06 00 00
00 ...C.C.NY.......
0030 37 9b 00 00 00 00 00 00 00 00 0a 22 01 10 0a 21
7.........."...!
0040 01 01 0a 24 01 01 00 0f 9f 1b cb 18 00 00 00
00 ...$............
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0090 00 00 00 00 00 00 62 61 73 69 63 5f 31 5f 31
2e ......basic_1_1.
00a0 63 66 67 00 00 00 00 00 00 00 00 00 00 00 00 00
cfg.............
00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ................
0110 00 00 00 00 00 00 63 82 53 63 35 01 02 01 04
ff ......c.Sc5.....
0120 ff 00 00 3a 04 00 00 a8 c0 3b 04 00 01 27 50
33 ...:.....;...'P3
0130 04 00 01 51 80 36 04 0a 21 01 01 02 04 00 00
12 ...Q.6..!.......
0140 34 03 04 0a 22 01 01 04 04 0a 21 01 01 07 04 0a
4...".....!.....
0150 21 01 01 42 0a 31 30 2e 33 33 2e 31 2e 31 00
43 !..B.10.33.1.1.C
0160 0e 62 61 73 69 63 5f 31 5f 31 2e 63 66 67 00
ff .basic_1_1.cfg..
****************************************************
Andy
>-----Original Message-----
>Can you share the captures ( and preferably screenshots
of the packets ).
>It'd be interesting to see what the GIAddr field is in
the DHCP Discover
>packet that the DHCPserver gives a wrong scope to.
>
>--
>--
>Dusty Harper
>Microsoft Corporation
>----------------------------------------------------------
------------------
>This posting is provided "AS IS", with NO warranties and
confers NO rights
>----------------------------------------------------------
------------------
>
>"Andy Brown" <abrown@daqtron.com> wrote in message
>news:130001c43995$577ebad0$3a01280a@phx.gbl...
>> I'm seeing a random issue where the DHCP server is not
>> selecting the proper scope. My system is running tests
on
>> various clients. The clients loop through three subnets
>> with 3 different routers (each acting as a relay agent)
>> all to the same Windows Server 2003 DHCP Server with 3
>> scopes configured.
>>
>> What looks like is happening (occurs randomly during
100's
>> of iterations) is the DHCP server supplies the IP
address
>> used on the previous scope instead of one for the
current
>> scope.
>>
>> For example:
>> - Registration on 1st Subnet: 10.34.0.0 (255.255.0.0).
>> Router/Relay Agent: 10.34.1.1. IP Address assigned:
>> 10.34.1.16
>> - - Registration on 2nd Subnet: 10.36.0.0
>> (255.255.0.0). Router/Relay Agent: 10.36.1.1. IP
Address
>> assigned: 10.34.1.16
>>
>> I only found this after doing an Ethereal capture. I
>> verified the DHCP Discover packet is correct in both
cases
>> (i.e. shows the correct Relay Agent). Any suggestions
on
>> a solution or where I should go next for more
assistance?
>>
>> Thanks,
>> Andy
>>
>
>
>.
>
- Next message: Phillip Windell: "Re: Problems installing DSL router with win 2000 server"
- Previous message: daniel: "client machines logging on to the wrong server 2003"
- In reply to: Dusty Harper {MS}: "Re: DHCP issue switching scopes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|