Comware

 View Only
  • 1.  DHCP-relay

    Posted Dec 09, 2008 03:49 PM
    Hi all!

    I have a switch as DHCP relay agent. The switch has two VLANs, the DHCP server is set with two scopes. My problem is that the second VLAN is not receiving an ip address of its scope. Does anyone know what I am missing?

    Thanks!

    the configuration is listed below:

    hostname "ProCurve Switch 3500yl-24G"
    module 1 type J86xxA
    ip routing
    snmp-server community "public" Unrestricted
    vlan 1
    name "DEFAULT_VLAN"
    untagged 1-12
    ip address a.b.c.d 255.255.255.0
    no untagged 13-24
    exit
    vlan 2
    name "VLAN2"
    untagged 13-24
    ip helper-address a.b.c.e
    ip address w.x.y.z 255.255.255.0
    exit


  • 2.  RE: DHCP-relay

    Posted Dec 09, 2008 04:57 PM
    config looks good...nothing missing that i see...sounds more like srvr side issue...

    questions:

    1) what port is the dhcp srvr connected to?

    2) can you statically assign an ip addr to a computer in vlan 2 and then ping the dhcp srvr?

    3) what is the dhcp srvr's def g/w addr?


    hth...jeff


  • 3.  RE: DHCP-relay

    Posted Dec 09, 2008 05:16 PM
    Well... actually the DHCP server is assigning IP addresses to the first VLAN, and it is on the port 1.


  • 4.  RE: DHCP-relay

    Posted Dec 11, 2008 03:19 AM
    The switch config seems right.
    a dhcp request comming from vlan2 is forwarded to a.b.c.e as comming from w.x.y.z.
    The dhcp-server should send a dhcp-offer from the scope w.x.y.a send it back to w.x.y.z wich must forward it within vlan2.

    You configured the dhcp-server with two scopes. Did you use a superscope? (you should not have).
    Do you have multiple DHCP-servers?



  • 5.  RE: DHCP-relay

    Posted Dec 11, 2008 11:49 AM
    I have one DHCP server on linux, I already configured the two scopes and I'm not using a superscope.

    The second VLAN never receives the offer, in fact, the DHCP server is unreachable to the VLAN 2.

    I don't know what is happening.

    Regards,


  • 6.  RE: DHCP-relay

    Posted Dec 11, 2008 12:04 PM
    sounds like missing def g/w on dhcp server...

    the dhcp server should be able to ping the vlan ip addr of the switch...

    hth...jeff


  • 7.  RE: DHCP-relay

    Posted Dec 11, 2008 12:15 PM
    dhcp server default gateway address must be vlan 1 ip address


  • 8.  RE: DHCP-relay

    Posted Jan 22, 2009 08:32 AM

    April, did your problem got solved?

    What software did you use on your 3500?

    There was some bugs that corrupted dhcp relay packets in releases like 13.27 and similar. This was fixed in the newer 13.4* operating system images.

    Check the release notes:

    http://cdn.procurve.com/training/Manuals/yl-zl-RelNotes-K1349-59914720.pdf