different DHCP-ack option through DHCP-request and DHCP-inform from same host
Mohr, Andreas
Andreas.Mohr at tui.de
Tue Jul 18 09:08:58 UTC 2006
hi,
we using isc dhcp 3.0.4 under solaris9
and observe different DHCP-ack option through DHCP-request and
DHCP-inform packets
from same host.
our config:
subnet 10.165.0.0 netmask 255.255.0.0 {
authoritative;
option domain-name-servers 10.165.0.66,10.166.1.20;
option netbios-name-servers 10.147.8.182, 10.147.8.27;
next-server bootserver.yyyy.msds.insite;
filename "/etc/integra/tftp/boot.ldr";
option domain-name "xxx.tld";
option subnet-mask 255.255.0.0;
option routers 10.165.1.1;
pool {
option domain-name-servers 10.165.0.66,10.166.1.20;
failover peer "dhcpfail";
deny dynamic bootp clients;
allow unknown-clients;
if substring (option vendor-class-identifier, 0, 9) "PXEClient" {
default-lease-time 120;
max-lease-time 120;
} else {
default-lease-time 3600;
max-lease-time 3600;
}
range 10.165.106.1 10.165.108.255;
}
group {
host pc1 {
hardware ethernet 00:16:36:23:05:43;
option domain-name "yyyy.msds.insite";
option domain-name-servers
10.147.9.109,10.147.9.111;
option netbios-name-servers
10.147.9.109,10.147.9.111;
option routers 10.165.1.1;
fixed-address 10.165.102.180;
}
}
}
Following traffic dumps for
DHCP-REQUEST
DHCP-ACK
DHCP-INFORM
DHCP-ACK
As you can see below, option "Domain Name Server" is different, why?
########################################################################
#########
DHCP-REQUEST:
No. Time Source Destination Protocol
Info
160245 277981.880211 192.168.207.1 10.147.10.207 DHCP
DHCP Request - Transaction ID 0x5c003c1f
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x5c003c1f
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
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.165.1.1 (10.165.1.1)
Client MAC address: QuantaCo_23:05:43 (00:16:36:23:05:43)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Request
Option 61: Client identifier
Hardware type: Ethernet
Client MAC address: QuantaCo_23:05:43 (00:16:36:23:05:43)
Option 50: Requested IP Address = 10.165.102.180
Option 12: Host Name = "pc1"
Option 81: FQDN
Flags: 0x00
A-RR result: 0
PTR-RR result: 0
Client name: pc1.yyyy.msds.insite
Option 60: Vendor class identifier = "MSFT 5.0"
Option 55: Parameter Request List
1 = Subnet Mask
15 = Domain Name
3 = Router
6 = Domain Name Server
44 = NetBIOS over TCP/IP Name Server
46 = NetBIOS over TCP/IP Node Type
47 = NetBIOS over TCP/IP Scope
31 = Perform Router Discover
33 = Static Route
249 = Classless static routes
43 = Vendor-Specific Information
End Option
########################################################################
#########
DHCP-ACK:
No. Time Source Destination Protocol
Info
160246 277981.881791 10.147.10.97 10.165.1.1 DHCP
DHCP ACK - Transaction ID 0x5c003c1f
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x5c003c1f
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 10.165.102.180 (10.165.102.180)
Next server IP address: 10.147.8.160 (10.147.8.160)
Relay agent IP address: 10.165.1.1 (10.165.1.1)
Client MAC address: QuantaCo_23:05:43 (00:16:36:23:05:43)
Server host name not given
Boot file name: /etc/integra/tftp/boot.ldr
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP ACK
Option 54: Server Identifier = 10.147.10.207
Option 51: IP Address Lease Time = 1 day
Option 1: Subnet Mask = 255.255.0.0
Option 15: Domain Name = "yyyy.msds.insite"
Option 3: Router = 10.165.1.1
Option 6: Domain Name Server
IP Address: 10.147.9.109
IP Address: 10.147.9.111
Option 44: NetBIOS over TCP/IP Name Server
IP Address: 10.147.9.109
IP Address: 10.147.9.111
End Option
########################################################################
#########
DHCP-INFORM:
No. Time Source Destination Protocol
Info
160253 278010.143526 192.168.207.1 10.147.10.207 DHCP
DHCP Inform - Transaction ID 0x6fef2040
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x6fef2040
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 10.165.102.180 (10.165.102.180)
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.165.1.1 (10.165.1.1)
Client MAC address: QuantaCo_23:05:43 (00:16:36:23:05:43)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Inform
Option 61: Client identifier
Hardware type: Ethernet
Client MAC address: QuantaCo_23:05:43 (00:16:36:23:05:43)
Option 12: Host Name = "pc1"
Option 60: Vendor class identifier = "MSFT 5.0"
Option 55: Parameter Request List
1 = Subnet Mask
15 = Domain Name
3 = Router
6 = Domain Name Server
44 = NetBIOS over TCP/IP Name Server
46 = NetBIOS over TCP/IP Node Type
47 = NetBIOS over TCP/IP Scope
31 = Perform Router Discover
33 = Static Route
249 = Classless static routes
43 = Vendor-Specific Information
130 = Private
End Option
Padding
########################################################################
#########
DHCP-INFORM:
No. Time Source Destination Protocol
Info
160254 278010.145915 10.147.10.97 10.165.1.1 DHCP
DHCP ACK - Transaction ID 0x6fef2040
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x6fef2040
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 10.165.102.180 (10.165.102.180)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 10.147.8.160 (10.147.8.160)
Relay agent IP address: 10.165.1.1 (10.165.1.1)
Client MAC address: QuantaCo_23:05:43 (00:16:36:23:05:43)
Server host name not given
Boot file name: /etc/integra/tftp/boot.ldr
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP ACK
Option 54: Server Identifier = 10.147.10.207
Option 1: Subnet Mask = 255.255.0.0
Option 15: Domain Name = "xxx.tld"
Option 3: Router = 10.165.1.1
Option 6: Domain Name Server
IP Address: 10.165.0.66
IP Address: 10.166.1.20
Option 44: NetBIOS over TCP/IP Name Server
IP Address: 10.147.8.182
IP Address: 10.147.8.27
End Option
Padding
########################################################################
#########
Why dont use dhcp-ack for dhcp-inform not the group host
domain-name-servers option?
More information about the dhcp-users
mailing list