×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

HP 1910 no DHCP on Vlan

HP 1910 no DHCP on Vlan

HP 1910 no DHCP on Vlan

(OP)
I have a question about problems with dhcp on a Vlan on a HP 1910-8
I have attached the switch on a interface on my firewall. At the firewall interface is a vlan configured with vlan id 3.
On the vlan interface i have enabled a dhcp server.
When i configure a pc with vlan id 3 i get an ip from the dhcp server (firewall vlan interface). The pc is attached to the vlan interface on the firewall.
When i attach the HP 1910 with a tagged vlan id 3 on the vlan interface on the firewall i get no ip from the dhcp.
Even untagging does not solve the problem

Firewall interface ip: 172.16.0.1
Vlan ip: 172.17.0.1
Vlan id: 3

Management ip HP 1910: 172.16.0.2
Vlan's: 1,3
Vlan1: untagged
Vlan3: tagged

Do i need to configure anything else?

RE: HP 1910 no DHCP on Vlan

So the router interface is a layer3 interface with 172.16.0.1 in the default VLAN 1 untagged with a subinterface with 172.17.0.1 tagged in VLAN 3?

Therefore the HP switchport that is patched to the router should have VLAN1 untagged and VLAN3 tagged.

And any PC connected to this switch should not have any VLAN configured on it, and its switchport should be configured as untagged in whichever VLAN you want the PC to be on.

RE: HP 1910 no DHCP on Vlan

(OP)
Yes, it is a layer3 interace configured with the default vlan1 untagged and a tagged vlan3.
On the switch i have Vlan1 untagged en Vlan3 tagged. I will connect some accesspoints to the switch with a private (vlan1) and a public (vlan3) wireless network. This did not work so i connected a pc to the switch, this pc also dit not get a ip address from the dhcp.

RE: HP 1910 no DHCP on Vlan

So your PC is patched to a VLAN3 untagged port on the switch?
Manually configure a VLAN3 subnet IP address on the PC and check it can ping its default gateway.

RE: HP 1910 no DHCP on Vlan

(OP)
Already tried that, cannot ping the gateway

RE: HP 1910 no DHCP on Vlan

Good, so you don't have to worry about DHCP not working, you have to correct a basic switchport misoncfiguration. (Assuming the Router is configured to respond to ping.)

Go over it again -
On the Router, you have VLAN1 UNTAGGED and VLAN3 TAGGED (?)
On the connecting switchport, you have the same (?)
[Test: give the switch an address in VLAN1, configure VLAN1 as the management VLAN - can you ping the router?]
[Test: Repeat with VLAN3]

Configure and access port for VLAN1 UNTAGGED. Put a PC with a VLAN1 subnet address on it on that port and ping the router.
Repeat for VLAN3.

RE: HP 1910 no DHCP on Vlan

From within the switch can you ping both .1 addresses?

From my experience HP prefers all VLANS to be tagged on the trunk
Trying tagging Vlan1 and 3 instead and put the VLAN1 gateway address in the switch
ip default-gateway 172.16.0.1

Marv ccna
www.telemarv.ca

RE: HP 1910 no DHCP on Vlan

BOth Tagged or one Tagged and one Untagged is the same thing - as long as both sides are configured the same, it will work.
I've worked extensively in mixed Cisco/Procurve networks, and I don't know what you mean about HP liking all VLANs tagged. The only difference is that Cisco always has an untagged VLAN but HP doesn't have to have one.

RE: HP 1910 no DHCP on Vlan

I just finished a retrofit of an R&D lab that was running HP Procurves off a 6509 Router configured with 400+ Vlans. All vlans that were used on a switch had to be tagged at the both ends of the trunk including the management. If you didn't tag the management you couldn't reach the router interfaces.

Anyway for what it's worth that was my experience with HP.

Marv ccna
www.telemarv.ca

RE: HP 1910 no DHCP on Vlan

With Cisco switches, you have to have one VLAN untagged ("Native") on each trunk.
(It's best to create a VLAN for that purpose, eg VLAN99, and use that VLAN for nothing else.)

With Procurve switches, when you create a trunk (multiple VLANs on a link), you don't have to have any of those VLANs untagged - they can all be tagged. I much prefer this.

When you say your VLAN didn't connect unless you made it Tagged (at the Procurve end, presumably), this would indicate you had it Tagged at the Router end.

To configure a VLAN to be Untagged on the Cisco, you need,
#interface FastEthernet0/1.1
Hostname(config-if)#encapsulation dot1Q 1 native
..........................................^^^^^^

native = untagged = switchport mode access/switchport access VLAN 123

I don't think there's any good reason to actually want to use Untagged VLANs on trunks, though.

As I said before, to get it to work, you just have to make sure both ends match, and the different terminology used by different vendors is what catches people out.

RE: HP 1910 no DHCP on Vlan

(OP)
Thank you for your response. The problem is solved! For whatever reason there was a routing rule enbaled.
I haves send a log file to HP, HP pointed me to the routing rule. Deleting this rule solved the problem.

Thank you

RE: HP 1910 no DHCP on Vlan

Agreed Vince the different terminology catches many.

Nieks, Glad you found the issue.

Marv ccna
www.telemarv.ca

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close