dhcp service

I currently have a Catalyst 2960S with IP Base software and I'd like to implement DHCP server and voice vlan. Will the 2960S support those features? I tried the switchport voice vlan command and it took it. So I assume that it is doing voice vlan. But not sure about dhcp. With DHCP, do you have to use layer 3 switch or a layer 2 switch is fine?

Thanks
biggynetAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
FranSyscoConnect With a Mentor Commented:
A 2960S series switch can be used as a DHCP server, just needs to be configured.


Here's a sample DHCP Pool config:

ip dhcp pool myfirstdhcppool
network 192.168.33.0 255.255.255.0
domain-name myfirstdomain.net
default-router 192.168.33.1
dns-server 192.168.33.2
lease 4

You can also configure a voice VLAN on the switch interface as well.

Here's a sample interface config:

interface FastEthernet0/1
 switchport access vlan 100
 switchport voice vlan 150 <- This will enable a Voice auxiliary VLAN for the interface
 switchport port-security maximum 4
 switchport port-security mac-address sticky
 spanning-tree portfast
 spanning-tree bpduguard enable
0
 
biggynetAuthor Commented:
Do you need any QoS to prioritize the voice in fa0/1?
0
 
thpipfhCommented:
Catalyst 2960S supports voice vlan an dhcp and above example is good. So please try with above example.
0
 
FranSyscoConnect With a Mentor Commented:
Depends on the size of the deployment. From the sounds of it, based on wanting to use a 2960 as a DHCP server you should be fine without QoS.

Plus, QoS really only helps if its configured on all devices that traffic flows on.
0
 
Sandeep GuptaConnect With a Mentor ConsultantCommented:
do not forget to enable DHCP in your router.

from global config mode..

type command

config#service dhcp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.