cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
517
Views
0
Helpful
1
Replies

Problems with Catalyst 1900 and DHCP

liarwa
Level 1
Level 1

We have some old Catalyst 1900 switches, and wanto place them on our network. We need them to get their IP and congiuration file from DHCP server. There's no problem with IP address, but they don't seem to get their configuration file from TFTP server. After they get IP adress and other options, their configuration 'sh ru' shows that tftp server and tftp filename is set. then I type 'copy' command manualy it's working.

I tried to set DHCP options from http://www.cisco.com/en/US/products/hw/switches/ps574/products_configuration_guide_chapter09186a008007ef8d.html

like this:

....

host switch {

hardware ethernet xx:xx:xx:xx:xx:xx;

fixed-address x.x.x.x;

option vendor-encapsulated-options 85:10:73:70:61:63:65:73:68:69:70:2d:61:75:74:6f:3d:31;

filename "config.sw";

}

....

and like this:

...

option space CISCO;

option CISCO.data code 133 = text;

....

host switch {

hardware ethernet xx:xx:xx:xx:xx:xx;

fixed-address x.x.x.x;

vendor-option-space CISCO;

option CISCO.data "spaceship-auto=1";

filename "config.sw";

}

and neither dooesn't work. what else should I do? what dhcp configuration options shuld I use? ("next-server" option, and subnets, ruoters, etc., is set in dhcp).

Our DHCP server is V3.0.1rc9, Debian stable. Switch firmware version V9.00.04 Enterprise Edition.

1 Reply 1

carenas123
Level 5
Level 5

The problem is you specified your vendor specific information incorrectly. You can check with it packet traces. The probable problem is the TLV (type-length-value) itself needs to be encapsulated inside a Vendor Specific Information option (option 43). But in your case, it might be sending unencapsulated which translated to different unrecognized option. So, please contact your vendor(Debian) what to enter correctly as Vendor Specific information OR using Windows DHCP manager might solve this problem.