Wired Intelligent Edge (Campus Switching and Routing)

Reply
Occasional Contributor I

dhcp server 2012 and vlans

Greetings to all, I am new configuring sw HP, I have a sw 2930f, but I can not get the dhcp to deliver ip in the vlans that were created, only in vlan 1, I do not know what I'm doing wrong, can I route between vlans ?,
Thank you very much

 


hostname "COREDESIGN"
module 1 type jl262a
comware-help-display enable
gvrp
igmp filter-unknown-mcast
igmp lookup-mode ip
sntp unicast
ip dns server-address priority 1 8.8.8.8
ip route 0.0.0.0 0.0.0.0 10.105.64.1
ip route 10.10.10.0 255.255.255.0 vlan 100
ip route 10.105.65.0 255.255.255.0 vlan 2
ip route 10.105.66.0 255.255.255.0 vlan 3
ip route 10.105.67.0 255.255.255.0 vlan 4
ip route 10.105.68.0 255.255.255.0 vlan 5
ip router-id 10.105.64.254
ip routing
ip udp-bcast-forward
snmp-server community "public" unrestricted
router rip
  redistribute connected
  redistribute static route-map "inloop"
  enable
  exit
vlan 1
  name "DEFAULT_VLAN"
  no untagged 18,20,38
  untagged 1-17,19,21-37,39-48
  tagged 49-52
  ip address 10.105.64.254 255.255.255.0
  ip igmp
  ip rip 10.105.64.254
  exit
vlan 2
  name "Produccion"
  tagged 1,49-52
  ip address 10.105.65.254 255.255.255.0
  ip helper-address 10.105.64.72
  ip igmp
  ip rip 10.105.65.254
  exit
vlan 3
  name "Office"
  untagged 18
  tagged 1,3,49-52
  ip address 10.105.66.254 255.255.255.0
  ip bootp-gateway 10.105.64.254
  ip helper-address 10.105.64.72
  ip forward-protocol udp 10.105.64.72 timep
  ip igmp
  ip rip 10.105.66.254
  exit
vlan 4
  name "wifi"
  untagged 20
  tagged 1,18,38,49-52
  ip address 10.105.67.254 255.255.255.0
  ip helper-address 10.105.64.72
  ip igmp
  ip rip 10.105.67.254
  exit
vlan 5
  name "VLAN5"
  tagged 1,49-52
  ip address 10.105.68.254 255.255.255.0
  ip helper-address 10.105.64.72
  ip igmp
  ip rip 10.105.68.254
  exit
vlan 6
  name "prueba"
  tagged 1,49-52
  ip address 10.105.69.254 255.255.255.0
  ip helper-address 10.105.64.72
  ip rip 10.105.69.254
  exit
vlan 100
  name "VLAN100"
  tagged 49-52
  ip address 10.10.10.254 255.255.255.0
  ip igmp
  ip rip 10.10.10.254
  exit
spanning-tree
spanning-tree ignore-pvid-inconsistency
loop-protect mode vlan
no autorun
no dhcp config-file-update
no dhcp image-file-update

Re: dhcp server 2012 and vlans

I'm no expert on 2930F myself, but looking at your config you have an IP interface and helper for each vlan, so applying logic, I'd kind of expect this to work.

 

Does this command give you any stats on the relay service?

 

show dhcp-relay
David Hardaker
HPE Aruba ERT (EMEA) ACMP

Re: dhcp server 2012 and vlans

Just to verify, are you sure the dhcp server can route the traffic back?

Occasional Contributor I

Re: dhcp server 2012 and vlans

I really do not know, I am creating a new server with mvware, server 2012, to see what happens,

Occasional Contributor I

Re: dhcp server 2012 and vlans

Good afternoon, already creates a new virtual machine in vmware and activates all the vlan in vmware.

in vlan 1 untag 2,

vlan 2 tag2,

vlan 3 tag 2,

vlan 4 tag 2

but he does not give me dhcp, he only delivers me in vlan 1

Occasional Contributor I

Re: dhcp server 2012 and vlans

OREDESIGN(vlan-1)# sh dhcp-relay

Status and Counters - DHCP Relay

 DHCP Relay Agent                 : Enabled  
 DHCP Request Hop Count Increment : Enabled  
 Option 82                        : Disabled
 Response validation              : Disabled
 Option 82 handle policy          : replace
 Remote ID                        : mac       

 DHCP Relay Statistics:

 Client Requests       Server Responses

 Valid      Dropped    Valid      Dropped    
 ---------- ---------- ---------- ----------
 7016       0          3746       0          
 
 DHCP Relay Option 82 Statistics:

 Client Requests       Server Responses

 Valid      Dropped    Valid      Dropped    
 ---------- ---------- ---------- ----------
 2294       0          8          0          


Aruba Employee

Re: dhcp server 2012 and vlans


@josegpewrote:

DHCP Relay Statistics:

 Client Requests       Server Responses

 Valid      Dropped    Valid      Dropped    
 ---------- ---------- ---------- ----------
 7016       0          3746       0          
 


Based on those counters, assuming they continue to increment, it would appear that the server is responding to the discover but either the client is not moving to request or the server is not acknowledging the request. A packet capture from both the client VLAN and the DHCP server VLAN would help.

 

If you statically configure an IP address on the test client, can they ping through the switch and get a response back from the DHCP server?


Charlie Clemmer
Aruba Customer Engineering
Occasional Contributor I

Re: dhcp server 2012 and vlans

If you statically configure an IP address in the test client, can you ping the switch and get a response from the DHCP server?
if I place an ip, if it answers me by ping.

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: