Comware

 View Only
  • 1.  IP Helper for PXE boot

    Posted Feb 11, 2020 08:32 AM

    Hi,

    We currently use IP Helper for our DHCP assignments and have option 66 and 67 set in the DHCP scope on the Windows server.  The current setup works fine for UEFI PXE boot on the IP scopes (switches) assigned.

    I have added a new scope for a PXE VLAN (88 subnet) and instead of setting up options 66 and 67 I have left them out, instead adding IP Helper address for the PXE server:

    192.168.4.2 (DHCP Server)

    192.168..4.44 (Deployment server)

    I cant get a device to work with PXE (brand new UEFI boot lenovo devices) The computer gets an IP when loggin into windows, but nothing happens when PXE booting. 

    Here is ana an example config (removed the LAN 1-7, 9-44:

    J9728A 
    module 1 type j9728a
    trunk 45-48 trk6 lacp

    ip default-gateway 10.13.100.1
    ip route 0.0.0.0 0.0.0.0 10.13.100.1
    ip routing
    snmp-server community "public" unrestricted
    oobm
    ip address dhcp-bootp
    exit


    router rip
    redistribute connected
    enable
    exit


    vlan 1
    name "DEFAULT_VLAN"
    no untagged 1-44,Trk6
    ip address dhcp-bootp
    exit

    vlan 88
    name "SCPXELAN"
    untagged 8
    ip address 10.13.88.1 255.255.255.0
    ip helper-address 192.168.4.2
    ip helper-address 192.168.4.44
    exit


    vlan 100
    untagged Trk6
    ip address 10.13.100.61 255.255.255.0
    ip rip 10.13.100.61
    exit


    spanning-tree Trk6 priority 4
    no tftp server
    no autorun
    no dhcp config-file-update
    no dhcp image-file-update
    device-profile name "default-ap-profile"
    cos 0
    exit
    activate software-update disable
    activate provision disable



  • 2.  RE: IP Helper for PXE boot

    Posted Feb 17, 2020 11:34 PM

    Hi,

    I can see you have configured the swtich as DHCP relay agent.  So with the DHCP relay agent enabled, an interface forwards incoming DHCP requests to a DHCP server.  

    Also I can see you have missed one command to enable  to enable the DHCP relay agent.  Need to configure below command to enable DHCP relay.

    • system-view
    • interface interface-type interface-number
    • dhcp select relay

    If you are still not getting while when PXE booting then need to do a wireshark packet capture to understand if the switch is getting request while PEX booting.