General discussion


DHCP across multiple VLANS

By vyoungv ·
I have an HP L3 2626 with a single DHCP server configured with multiple scopes. I can't seem to get DHCP to pass out addresses to the correct VLAN network. is the MS DHCP server
192.168.0.x is Vlan 1
192.168.8.x is Vlan 8

When I connect a PC to port 13 (untagged port) and pull a DHCP address it gets a .0 address and not an .8 address.

I have configured: ip helper, udp broadcast and dhcp relay. What am I doing wrong, any ideas? Do you think it could be the MS DHCP server?

ip default-gateway
sntp server
ip routing
ip udp-bcast-forward
timesync sntp
sntp unicast
snmp-server community "public" Unrestricted
vlan 1
name "Default PC 0"
untagged 1-12,14-26
ip address
tagged 13
vlan 8
name "test"
untagged 13
ip address
ip helper-address
tagged 1-12,14-26
ip route

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Not familiar with HP, but

by Fregeus In reply to DHCP across multiple VLAN ...

I know that you are dealing with multiple Vlans on a DHCP, the requester needs to be able to tell the DHCP on what network it wants an address. If not, the request will be on the default segment only.

In this case, i do not see a default gateway for your segment That information, in an HP appliance, could be supplied by the default gateway. Did you configure a DG for the .8.X network? If not, do so and try again.


Collapse -


by vyoungv In reply to Not familiar with HP, but

It looks like it only supports 1 DG on the switch. Do you know how to config the requester?

Collapse -


by Fregeus In reply to DG

I haven't worked with HP switches in over 8 or 9 years. I just don't remember.

But I don't think the DHCP is at fault here, i think it just doesn't get a notice from the request on which segment the address needs to be. Unfortunately, being a Cisco guy, I can't help you further than that.



Collapse -

Not familiar with HP switches, but you need to enable BOOTP relay

by ManiacMan In reply to DHCP across multiple VLAN ...

It's called IP Helper in the Cisco world and allows for the retransmission of DHCP broadcasts across routed subnets. Recall that DHCP requests are broadcasts and that routers do not forward broadcasts, so you'll need some relaying mechanism to account for this. Check your documentation to determine what needs to be done to enable DHCP or BOOTP relaying.

Collapse -


by vyoungv In reply to Not familiar with HP swit ...

I enabled a Helper address but it doesn't seem to help. I also enabled udp broadcast and that doesnt help either, but I am not sure if that is the same as bootp broadcast.

Collapse -

routing between Vlans

by CG IT In reply to Helper

In Cisco's world, for traffic between VLANs, gotta have a layer 3 device [a router]. Router on a stick is the easiest way to get traffic between VLANs. I assume you have VTP running on the switch.

Trunk the port on the switch that will be used to connect to the router. the router and VLANs will use the trunk line.

Use the encapsulation command with the VLAN # on the router subinterface config.

You could create an access link and trunk links but for multiple VLANs, router on a stick is the easiest to setup.

Collapse -


by vyoungv In reply to routing between Vlans

The routing is working as I can manually assign an address on that VLAN segment and traffic goes through. DHCP does send an address it is just not from the correct scope. I wonder if it is my switch or the DHCP server?

Collapse -

correct scope

by CG IT In reply to Routing

so now it's VLAN X isn't getting the correct IP address from the assigned scope from DHCP?

then that's not a communications problem between VLANs that's DHCP.

Back to Networks Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums