Avatar of cargex
cargex
 asked on

Cisco ip helper address doesn't work for DHCP Packets

Hi Guys,
I have a Cisco 3750 Stack.
My goal is to change the IP range for Vlan1.

OLD IP RANGE: 172.27.187.0/24  (current)
NEW IP RANGE: 10.10.70.0/24 (new IP range)

I just configured the following

interface Vlan1
 ip address 10.10.70.1 255.255.255.0 secondary
 ip address 172.27.187.254 255.255.255.0
 ip helper-address 10.10.88.100
!

I have a new DHCP Server in the server 10.10.88.100 (Vlan88) giving out IP addresses in the 10.10.70.0/24 IP range that works, I have tested it with  a test vlan and connected a test computer to the test port and the ip helper worked on that test.

Now I disabled the current DHCP Server in Vlan1 (production environment) that is giving out IP addresses in the range (172.27.187.0/24) and added the ip helper line as shown in the configuration above.

But this time it didn't work, meaning that none of the computers in vlan1 were able to see the DHCP Server.

Now that I'm writing this I'm thinking that it could be that the 10.10.70.1 is a secondary IP address in Vlan1, may be it needs to be the primary IP address of that Vlan1 so that the DHCP Server identifies that the computers in Vlan1 can receive IPs in the 10.10.70.0/24 range. But all this are just ideas.

Can somebody please shed some light on this issue?

Thanks.
Networking Hardware-OtherDHCPSwitches / Hubs

Avatar of undefined
Last Comment
cargex

8/22/2022 - Mon
NetExpert Network Solutions Pte Ltd

ip dhcp smart-relay

Configure the above line under vlan  interface config.. This will solve ur issue
cargex

ASKER
Hi NetExpert,
I have DHCP running on the cisco switch and configured for the voip vlan, obviously I don't want to mess that up.

Can you please give me the details?

Is this a command that I would run on the Vlan1 interface?
SOLUTION
NetExpert Network Solutions Pte Ltd

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
cargex

ASKER
Actually I need your opinion on a second way to do this.

interface Vlan1
  ip address 10.10.70.1 255.255.255.0 secondary
  ip address 172.27.187.254 255.255.255.0
  ip helper-address 10.10.88.100

Currently Vlan1 has an IP in the 172 range as primary, and the IP in the 10 range as secondary.
And I think that is why the DHCP request didn't went through.

What if I make the 10.10.70.1 the primary
and the 172.27.187.254 the secondary

Would that work?

The 172 range will disappear after this works.

And this way I don't have any additional delays for the DHCP request.

What do you think?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
NetExpert Network Solutions Pte Ltd

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
cargex

ASKER
NetExpert,

Ok.
Since this is a production environment I just requested a Window, and I will try changing the primary and secondary IP addresses on Vlan1.

I'll be back with the results tomorrow morning, if it works you will have the correct solution and I will close the case, thanks!
cargex

ASKER
Netexpert,
It worked like a charm.
Thank you very much for all your help.