How to ennable PXE for UEFI in VM

Discussion in 'Installation and Configuration of Parallels Desktop' started by JohnS88, Mar 5, 2022.

Tags:
  1. JohnS88

    JohnS88 Bit poster

    Messages:
    5
    I am trying to set up vm using UEFI netboot Ubuntu. However both uefi 32 and uefi 64 only request dhcp IP when booting network. Following is dhcpdump from my box running dnsmasq:

    ```
    # dhcpdump -i lan
    TIME: 2022-03-05 15:22:06.264
    IP: 0.0.0.0 (0:1c:42:b9:de:bb) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
    OP: 1 (BOOTPREQUEST)
    HTYPE: 1 (Ethernet)
    HLEN: 6
    HOPS: 0
    XID: 0eae730e
    SECS: 0
    FLAGS: 7f80
    CIADDR: 0.0.0.0
    YIADDR: 0.0.0.0
    SIADDR: 0.0.0.0
    GIADDR: 0.0.0.0
    CHADDR: 00:1c:42:b9:de:bb:00:00:00:00:00:00:00:00:00:00
    SNAME: .
    FNAME: .
    OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
    OPTION: 57 ( 2) Maximum DHCP message size 65280
    OPTION: 55 ( 3) Parameter Request List 1 (Subnet mask)
    3 (Routers)
    6 (DNS server)

    ---------------------------------------------------------------------------

    VS bios network boot:

    TIME: 2022-03-05 15:41:17.012
    IP: 0.0.0.0 (0:1c:42:3c:7:be) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
    OP: 1 (BOOTPREQUEST)
    HTYPE: 1 (Ethernet)
    HLEN: 6
    HOPS: 0
    XID: 433c07be
    SECS: 4
    FLAGS: 7f80
    CIADDR: 0.0.0.0
    YIADDR: 0.0.0.0
    SIADDR: 0.0.0.0
    GIADDR: 0.0.0.0
    CHADDR: 00:1c:42:3c:07:be:00:00:00:00:00:00:00:00:00:00
    SNAME: .
    FNAME: .
    OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
    OPTION: 55 ( 36) Parameter Request List 1 (Subnet mask)
    2 (Time offset)
    3 (Routers)
    4 (Time server)
    5 (Name server)
    6 (DNS server)
    11 (Resource location server)
    12 (Host name)
    13 (Boot file size)
    15 (Domainname)
    16 (Swap server)
    17 (Root path)
    18 (Extensions path)
    22 (Maximum datagram reassembly size)
    23 (Default IP TTL)
    28 (Broadcast address)
    40 (NIS domain)
    41 (NIS servers)
    42 (NTP servers)
    43 (Vendor specific info)
    50 (Request IP address)
    51 (IP address leasetime)
    54 (Server identifier)
    58 (T1)
    59 (T2)
    60 (Vendor class identifier)
    66 (TFTP server name)
    67 (Bootfile name)
    128 (???)
    129 (???)
    130 (???)
    131 (???)
    132 (???)
    133 (???)
    134 (???)
    135 (???)

    OPTION: 57 ( 2) Maximum DHCP message size 1260
    OPTION: 97 ( 17) UUID/GUID 009eb48e8e7f7140 ......q@
    eb8f93a25fc17bec ...._.{.
    52 R
    OPTION: 93 ( 2) Client System 0000 ..
    OPTION: 94 ( 3) Client NDI 010201 ...
    OPTION: 60 ( 32) Vendor class identifier PXEClient:Arch:00000:UNDI:002001
    ---------------------------------------------------------------------------
     
  2. JohnS88

    JohnS88 Bit poster

    Messages:
    5
    I am doing more testing as I am working on linux pxe project.
    It seems after certain number of reboot, efi pxe will stop working(stop doing pxe request, only dhcp ip). The solution for me now is either create a complete new vm or use a snapshot.
     

Share This Page