{"id":343,"date":"2013-11-12T17:10:03","date_gmt":"2013-11-12T21:10:03","guid":{"rendered":"https:\/\/gotsteve.com\/blog\/?p=343"},"modified":"2013-11-12T17:16:02","modified_gmt":"2013-11-12T21:16:02","slug":"dhcp-from-2960-on-a-2950","status":"publish","type":"post","link":"https:\/\/www.gotsteve.com\/blog\/dhcp-from-2960-on-a-2950\/","title":{"rendered":"My Boss&#8217; DHCP Experiment on a 2950"},"content":{"rendered":"<p>My boss recently let me know of some interesting stuff he was doing with a Cisco 2950 24 port switch. \u00a0Apparently you cannot make a 2950 a DHCP server, but if you flash the 2950 to use a 2960 lanbase image, it works just fine!<\/p>\n<p>&nbsp;<\/p>\n<p>Below is my boss&#8217; text. Any questions, tweet him <a href=\"https:\/\/twitter.com\/raygodwin1\">@RayGodwin1<\/a><\/p>\n<p>****<\/p>\n<p>My first inclination would be to say no, but I went and checked on a 2950 running<br \/>\n(C2960-LANBASEK9-M), Version 12.2(25)SEE2 and it appears to work! I say appears as I am remote from the switch and cannot (yet) validate operation.<\/p>\n<p>Below is the sequence to configure it. As its a layer 2 switch we are restricted to servicing only request from 1 VLAN (in this case the default vlan 1) I did a show command to see what the address was on int vlan 1.<\/p>\n<p>Switch2950#show run interface vlan 1<br \/>\nBuilding configuration&#8230;<\/p>\n<p>Current configuration : 78 bytes<br \/>\n!<br \/>\ninterface Vlan1<br \/>\nip address 10.3.3.57 255.255.255.0<br \/>\nno ip route-cache<br \/>\nend<\/p>\n<p>Switch2950#<\/p>\n<p>Switch#conf t<br \/>\nEnter configuration commands, one per line. End with CNTL\/Z.<br \/>\nSwitch(config)#host Switch2950<br \/>\nSwitch2950(config)#ip dhcp pool test<br \/>\nSwitch2950(dhcp-config)#network 10.3.3.0 \/24<br \/>\nSwitch2950(dhcp-config)#default-router 10.3.3.1<br \/>\nSwitch2950(dhcp-config)#ip dhcp excluded-address 10.3.3.1 10.3.3.49<br \/>\nSwitch2950(config)#ip dhcp excluded-address 10.3.3.60 10.3.3.254<br \/>\nSwitch2950(config)#end<br \/>\nSwitch2950#<br \/>\nSwitch2950#show ip dhcp server statistics<br \/>\nMemory usage 4517<br \/>\nAddress pools 1<br \/>\nDatabase agents 0<br \/>\nAutomatic bindings 0<br \/>\nManual bindings 0<br \/>\nExpired bindings 0<br \/>\nMalformed messages 0<\/p>\n<p>Message Received<br \/>\nBOOTREQUEST 0<br \/>\nDHCPDISCOVER 0<br \/>\nDHCPREQUEST 0<br \/>\nDHCPDECLINE 0<br \/>\nDHCPRELEASE 0<br \/>\nDHCPINFORM 0<\/p>\n<p>Message Sent<br \/>\nBOOTREPLY 0<br \/>\nDHCPOFFER 0<br \/>\nDHCPACK 0<br \/>\nDHCPNAK 0<br \/>\nSwitch2950#<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My boss recently let me know of some interesting stuff he was doing with a Cisco 2950 24 port switch. \u00a0Apparently you cannot make a 2950 a DHCP server, but if you flash the 2950 to use a 2960 lanbase image, it works just fine! &nbsp; Below is my boss&#8217; text. Any questions, tweet him&hellip; <a class=\"more-link\" href=\"https:\/\/www.gotsteve.com\/blog\/dhcp-from-2960-on-a-2950\/\">Continue reading <span class=\"screen-reader-text\">My Boss&#8217; DHCP Experiment on a 2950<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-343","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/posts\/343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/comments?post=343"}],"version-history":[{"count":0,"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/posts\/343\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/media?parent=343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/categories?post=343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gotsteve.com\/blog\/wp-json\/wp\/v2\/tags?post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}