Antw: 'option routers' not present in dhcp offer packet
Ulrich Plödereder
ploedereder at rz.uni-wuerzburg.de
Fri Mar 7 05:44:08 UTC 2008
Hello!
I would try to add "option dhcp-parameter-request-list a,b,c,..." where a, b,
c, ... are the numbers of the DHCP options you explicit need.
Hope this helps.
Regards
Uli
Dr. Ulrich Plödereder
Rechenzentrum der Universität Würzburg
Am Hubland
D-97074 Würzburg
Phone +49 931 888 5099
Fax +49 931 888 7070
Email ploedereder at rz.uni-wuerzburg.de
>>> Kernel Jake <kerneljake at hotmail.com> 03/07/08 2:12 AM >>>
I'm trying to autoconfigure a Cisco Catalyst 2900XL running IOS 12.0(5)WC16.
The Cisco documentation states that the following dhcp fields are required for
autoconfiguration to be successful: ip address, subnet mask, dns server,
router ip address, tftp server name. However, my offer packet does not
contain the "router" option, and the Catalyst does not respond to the offer.
You can see the offending offer packet at the very bottom of this message.
Any ideas?
beastie# grep - v '^#' /usr/local/etc/dhcpd.conf
server- name example;
default- lease- time 600;
max- lease- time 7200;
ddns- update- style none;
log- facility local7;
subnet 10.0.0.0 netmask 255.0.0.0 {
option subnet- mask 255.0.0.0;
option routers 10.10.10.10, 10.22.22.22;
option domain- name- servers 10.0.0.1;
option domain- name "example.com";
filename "foo.cfg";
next- server 10.0.0.1;
range 10.0.0.253 10.0.0.254;
}
beastie# dhcpd - d bge1
Internet Systems Consortium DHCP Server V3.0.5
Copyright 2004- 2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
Listening on BPF/bge1/00:30:48:57:b1:d9/10/8
Sending on BPF/bge1/00:30:48:57:b1:d9/10/8
Sending on Socket/fallback/fallback- net
DHCPDISCOVER from 00:04:9a:fd:81:80 via bge1
DHCPOFFER on 10.0.0.254 to 00:04:9a:fd:81:80 via bge1
beastie# tcpdump - lenx - s 1500 - i bge1 port bootps or port bootpc |
dhcpdump
TIME: 18:05:37.605301
IP:> (00:04:9a:fd:81:80)> (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 000022bf
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: 00:04:9a:fd:81:80:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 57 ( 2) Maximum DHCP message size 1152
OPTION: 55 ( 5) Parameter Request List 1 (Subnet mask)
6 (DNS server)
15 (Domainname)
44 (NetBIOS name server)
52 (Option overload)
OPTION: 1 ( 3) Subnet mask 255.0.0.0
OPTION: 0 ( 0) pad
[...]
OPTION: 0 ( 1) pad
OPTION: 1 ( 0) Subnet mask 0.0.0.0
OPTION: 0 ( 0) pad
[...]
OPTION: 0 (176) pad
OPTION: 176 (176) ??? 52000800000004cf R.......
8a06000000000e89 ........
50000800000050ea P.....P.
ffffff7f00000000 ........
00000000000000a0 ........
52000800000000a2 R.......
5200080000004035 R..... at 5
500008000000d000 P.......
0000000000000000 ........
0000000000000000 ........
0000000000005836 ......X6
50000800000050ea P.....P.
ffffff7f0000d0ea ........
ffffff7f000000a0 ........
520008000000b706 R.......
40000000000000a2 @.......
520008000000f0e9 R.......
ffffff7f00000200 ........
0000020000000000 ........
00000000000000a2 ........
5200080000000000 R.......
000000000000b0b0 ........
---------------------------------------------------------------------------
TIME: 18:05:38.000990
IP:> (00:30:48:57:b1:d9)> (00:04:9a:fd:81:80)
OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 000022bf
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 10.0.0.254
SIADDR: 10.0.0.1
GIADDR: 0.0.0.0
CHADDR: 00:04:9a:fd:81:80:00:00:00:00:00:00:00:00:00:00
SNAME: example.
FNAME: foo.cfg.
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 54 ( 4) Server identifier 10.0.0.1
OPTION: 51 ( 4) IP address leasetime 600 (10m)
OPTION: 1 ( 4) Subnet mask 255.0.0.0
OPTION: 6 ( 4) DNS server 10.0.0.1
OPTION: 15 ( 11) Domainname example.com
---------------------------------------------------------------------------
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
More information about the dhcp-users
mailing list