DHCP on 2960

Unanswered Question
Aug 1st, 2007

I have ASA5505 and Catalyst 2960.

I want make 3 vlan on switch and make 3 network. Ip must be assign by dhcp on 3 vlan range of address 192.168.10.xx ports 1-10, 192.168.20.yy ports 10-15, 192.168.30.zz ports 15-20. It's really? How can i do it? If you write examples it be good.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
spremkumar Thu, 08/02/2007 - 19:36


AFAIK its not possible to make 2960 to act as a DHCP server.

You need a L3 device which can support DHCP server feature to do the same..


guruprasadr Thu, 08/02/2007 - 21:51

HI Prem, [Pls Rate if Helps]

Cisco 2960 can only act as Relay agent for DHCP Services. Which can forward the Packets between clients and Servers. Relay agent forwarding is different from normal L2 forwarding.

You need a Windows / Unix DHCP Server which advertises the below subnet ranges:

192.168.10.xx ports 1-10, 192.168.20.yy ports 10-15, 192.168.30.zz ports 15-20

Whereas you need to enable DHCP Services on the Switch using "service dhcp" command to allow the Switch act as DHCP Relay Agent. For me by default this feature is enabled.


Best Regards,

Guru Prasad R

mohammedmahmoud Thu, 08/02/2007 - 23:57

Hi Everybody,

2960 can only be configured for dhcp snooping and not as a DHCP server.


Mohammed Mahmoud.

ankbhasi Fri, 08/03/2007 - 03:58

Hi Mahmoud,

Give it a try and it will work.




This Discussion