Wired Intelligent Edge

last person joined: 19 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

dhcp server 2012 and vlans

This thread has been viewed 1 times
  • 1.  dhcp server 2012 and vlans

    Posted Mar 13, 2018 11:38 AM

    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



  • 2.  RE: dhcp server 2012 and vlans

    EMPLOYEE
    Posted Mar 15, 2018 06:25 PM

    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


  • 3.  RE: dhcp server 2012 and vlans

    EMPLOYEE
    Posted Mar 17, 2018 11:43 AM

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



  • 4.  RE: dhcp server 2012 and vlans

    Posted Mar 21, 2018 12:53 PM

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



  • 5.  RE: dhcp server 2012 and vlans

    Posted Apr 24, 2018 07:08 PM

    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



  • 6.  RE: dhcp server 2012 and vlans

    Posted Apr 24, 2018 07:17 PM

    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          




  • 7.  RE: dhcp server 2012 and vlans

    EMPLOYEE
    Posted Apr 24, 2018 10:09 PM

    @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?



  • 8.  RE: dhcp server 2012 and vlans

    Posted Apr 24, 2018 11:00 PM

    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.