cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5121
Views
0
Helpful
2
Replies

DHCP Relay on Catalyst 2960X

dickiebird1974
Level 1
Level 1

We are moving our distribution POE switches from the catalyst 3750's to brand new catalyst 2960x switches. I know the 3750 were L3 and the 2960x are L2 with some static routing functions. I really don't need all the features of the 3750 to act purely as a distribution switch (or at least that's what I thought)

I've done some initial tests and I am unable to get the clients connected to the new 2960x to pick up IP's from our DHCP server which is on a different subnet.

The config worked perfectly on the 3750's

Here is an example:

ip routing

!

interface GigabitEthernet1/0/1
switchport access vlan 40
mls qos trust cos
spanning-tree portfast

!

interface Vlan40
ip address 10.0.10.253 255.255.255.0
ip helper-address 10.0.7.1
no shutdown

!

ip default-gateway 10.0.10.254

The clients are on the 10.0.10.0 network and should be getting IP's from the DHCP server on 10.0.7.1, I have a juniper router on 10.0.10.254 which routes traffic to the 10.0.7.0 network.

So my question is, can the 2960x switches do the same as the 3750 in acting as the DHCP relay?

2 Replies 2

acampbell
VIP Alumni
VIP Alumni

Hi,

Your new 2960-X will be disabled for ip routing by default.

Follow this link
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_5_e/configuration_guide/b_1525e_consolidated_2960x_cg/b_1525e_consolidated_2960x_cg_chapter_011101.html

You should then be able to add some limited layer3 switching/routing

like ip static route
int vlan (SVI)
ip helper-address

Regards
Alex

Regards, Alex. Please rate useful posts.

Hello

Disable ip routing on the 2960, just let it be a host switch as the juniper will route for it

Perform a test a ping from the switch to the helper address also to make sure you can reach it

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card