Solved

one dhcp for multiple vlan issue

Posted on 2013-05-15
3
608 Views
Last Modified: 2013-05-25
Hi Experts,

I have opened a case and closed it because i hope it works and now, i have an issue again.
Siwth is an hp 2620 layer 3 lite

Running configuration:


hostname "XXXXXXX"
ip default-gateway 10.0.10.2
ip routing
vlan 1
   name "DEFAULT_VLAN"
   untagged 2-6,13-22,24,26-28
   ip address 192.168.10.1 255.255.255.0
   no untagged 1,7-12,23,25
   exit
vlan 101
   name "PC"
   untagged 7-8
   ip helper-address 10.0.10.10
   ip address 10.1.128.1 255.255.192.0
   exit
vlan 102
   name "Imprimantes"
   untagged 9-10
   ip helper-address 10.0.10.10
   ip address 10.1.32.1 255.255.224.0
   exit
vlan 103
   name "Wifi Prive"
   untagged 11-12
   ip helper-address 10.0.10.10
   ip address 10.1.64.1 255.255.224.0
   exit
vlan 105
   name "Serveurs"
   untagged 1,23,25
   ip address 10.0.10.1 255.255.255.0
   exit
ip route 0.0.0.0 0.0.0.0 10.0.10.2
snmp-server community "public" unrestricted
primary-vlan 105
management-vlan 105

WHWPDL1001(vlan-103)#

Open in new window


If I plug a PC on port 7 or 8 with a static ip address it works.
If I plug a Printers on port 8 or 9  with a static ip address it works
for all vlan if i put a static ip address, works and can go the internet.
strange things, for test purpose, I have created another scope in the server vlan (10.0.10.100 10.0.10.120) if I plug a server on vlan 105 it obtain an ip automatically.

The DHCP is a Windows 2008 R2 server
for each scope here is the configuration :

VLAN101-PC 10.1.128.100 10.1.128.120 255.255.192.0 gw 10.1.128.1
VLAN-PRINTERS 10.1.32.100 10.1.32.120 255.255.224.0 gw 10.1.32.1
VLAN-WIFI-PRIVE 10.1.64.100 10.1.64.120 255.255.224.0 gw 10.1.64.1

On the firewall I have added the static route 10.0.0.0/8 internal2 via 10.0.10.1.
for test purpose any vlan can go to internet.

the DHCP works 2 days ago and now nothing. I have to configure it for friday :)

Thanks
0
Comment
Question by:wahrani16
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
BurundiLapp earned 250 total points
ID: 39168565
Have you tried adding an ip helper to the relevant VLAN configurations:

'ip helper-address x.x.x.x'

where x.x.x.x is the IP of your DHCP server?

What have you changed (if anything) since 2 days ago?

Not the same switch but similar: http://h30499.www3.hp.com/t5/Switches-Hubs-Modems-Legacy-ITRC/Vlan-Configuration-with-IP-helper-on-Procurve-2910al-24g/td-p/4596025
0
 

Author Comment

by:wahrani16
ID: 39168610
Hi BurundiLapp :)

I have resetted the switch and with these settings all seems to work fine :)

name "WHWPDL1001"
ip routing
vlan 1
   name "DEFAULT_VLAN"
   untagged 2-6,13-22,24,26-28
   ip address 192.168.10.1 255.255.255.0
   no untagged 1,7-12,23,25
   exit
vlan 101
   name "PC"
   untagged 7-8
   ip helper-address 10.0.10.10
   ip address 10.1.128.1 255.255.192.0
   exit
vlan 105
   name "Serveurs"
   untagged 1,23,25
   ip address 10.0.10.1 255.255.255.0
   exit
vlan 102
   name "Imprimantes"
   untagged 9-10
   ip helper-address 10.0.10.10
   ip address 10.1.32.1 255.255.224.0
   exit
vlan 103
   name "Wifi Prive"
   untagged 11-12
   ip helper-address 10.0.10.10
   ip address 10.1.64.1 255.255.224.0
   exit
ip route 0.0.0.0 0.0.0.0 10.0.10.2
snmp-server community "public" unrestricted

Open in new window


maybe the problem is when I add the primary-vlan and the management vlan.
I will test again ...
0
 
LVL 16

Assisted Solution

by:vivigatt
vivigatt earned 250 total points
ID: 39171045
Management vlan must be untagged...

You also need to enable dhcp relay and configure it.
the commands are

dhcp relay

and for each vlan

ip helper-address <dhcp-server IP address>
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question