DHCP Server on Cisco 2950/2960 Switch
cyberjunkie
Member Posts: 13 ■□□□□□□□□□
in CCNP
I am bit confused on this Please correct me if i am wrong as per my understanding we can use a L2 switch as a dhcp server.
Please give your view.
Please give your view.
“Power corrupts. Knowledge is power. Study hard. Be evil.”
Comments
-
qplayed Member Posts: 303yes, you are correct a 2950 can act as a dhcp-server. This is a service and has nothing to do with routing or switching. It will serve ip addresses to clients. Just because you can doesn't mean you should
On my 2950
ALS1#sh run | be dhcp
ip dhcp pool TEST
network 199.199.199.0 255.255.255.0
ALS1#sh run int fa0/7
interface FastEthernet0/7
switchport access vlan 199
switchport mode access
ALS1#sh run int vlan199
interface Vlan199
ip address 199.199.199.1 255.255.255.0
no ip route-cache
On my 3550
DLS1#sh run int fa0/7
interface FastEthernet0/7
no switchport
ip address dhcp
end
DLS1#sh ip int br | i DHCP
FastEthernet0/7 199.199.199.2 YES DHCP up upIf you cannot express in a sentence or two what
you intend to get across, then it is not focused
well enough.
—Charles Osgood, TV commentator