10-20-2013 03:03 AM - edited 03-07-2019 04:07 PM
Greetings All
I am getting problem in IP helper commands.I issue commands on Interfaces but did not get IP from DHCP Pool of Router.
Router acting as DHCP---3750---3750--Router as DHCP Client.
Vlan is Up/Up.Alreday done shut /no shut on All interfaces.
Please check the attached image and guide me.
10-20-2013 06:15 AM
Hi Muhammad,
There are many flaws, in my opinion, so let's go through them all.
You need to configure ip helper-address only on interfaces pointing to your (V)LANs. In your case R3's interface vlan 20 and interface vlan 30. And that's it! Remove the command from other interfaces.
You don't need to configure it anywhere else, because interfaces configured with this command will accept broadcast messages for specific services and then forward them as an unicast to specific IP address. Not just to another hop as broadcast.
There is another flaw, however. On R1, you have dhcp pool configured with SAME subnet as you are already using, now how could that work? You are already using that subnet for other purposes(it defines network between R3 and R2)!
One more thing, you have interfaces vlan20 and vlan30 configured with ip address dhcp. I'm not sure how that could work. You said that you have vlans up/up - sure you have, because there are ports associated with this vlan which are up and the vlan is in the vlan database. But there really isn't any way to tell R3 where he should send his own dhcp discover messages (I suppose he will try to sent it out the ports where there is vlan20 and vlan30 configured). He will only accept and forward dhcp messages received in this vlan, but not the ones he will try to generate.
And think of this, how does the DHCP router know, from which subnet does dhcp discover messages come from? Well, it is determined by ip address of that interface. And you have none addresses configured (I think that ip address dhcp won't work in this case)... and even if it would, the IPs are supposed to be globally unique but you are trying to allocate ONE subnet (192.168.80.0/24) to TWO interfaces (vlan20,vlan30) and this subnet is also already in use! So you would have 3subnets with same addressing. But as I said, it doesn't work for other reasons also.
Moreover, I don't know if ip helper-address works correctly in the packet tracer. But try to resolve these issues first.
Best regards,
Jan
10-20-2013 11:31 AM
After posting this issue in this forum the original poster then also posted the same issue in the WAN forum, where I have responded noting the same issues. I suggest that any further discussion be focused in this forum since it was the original posting.
HTH
Rick
10-21-2013 02:07 AM
hi muhammad,
check out the below post. it was by me when i was facing a similar kind of an issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide