XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bridge VM on network with mgmt PIF

    Scheduled Pinned Locked Moved Management
    3 Posts 2 Posters 228 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3 Offline
      3isenHeiM
      last edited by 3isenHeiM

      I've installed XCP on a host with a single NIC (which is in fact a ETH-USB adapter).

      The only PIF is thus the mgmt PIF (which gets an IP from the network DHCP server).

      I'd like to have VM bridged to this network to have connectivity to the external world, but they cannot get an DHCP answer.

      Here is the setup:

                                   ┌──────────────────────────────────────────────────────┐ 
                                   │                                         ┌─────────┐  │ 
                                   │                                   no IP!│         │  │ 
                                   │                            ┌────────────┼  XO VM  │  │ 
                                   │ 192.168.1.2                │            │         │  │ 
                             ┌───────────────┐         ┌────────▼─┐          └─────────┘  │ 
      NETWORK                │               │         │          │                       │ 
         │                   │           usb0┼─────────►  brusb0  │                       │ 
         └──────────────────►│               │         │          │          ┌─────────┐  │ 
            192.168.1.0/24   └───────────────┘         └────────▲─┘    no IP!│         │  │ 
                               ETH to USB                       └────────────┼ otherVM │  │ 
                                 adapter                                     │         │  │ 
                                   │                                         └─────────┘  │ 
                                   └──────────────────────────────────────────────────────┘ 
                                                         XCP-ng host                        
                                                  (single NIC, with USB adapter)            
      

      I've the impression that since the only PIF is configured as DHCP (to access the XCP host), VMs on this bridge cannot share this bridge.

      I've tcmdumped their vif and the bridge, and they do not get any traffic back (from their DHCP request).

      How can I setup this host with a single network on the bridge of the only PIF, with the host and the VMs using it ?

      Thanks 🙂

      A 1 Reply Last reply Reply Quote 0
      • A Online
        Andrew Top contributor @3isenHeiM
        last edited by

        @3isenHeiM Which USB Ethernet adapter? It could be a driver issue. USB Ethernet devices are not great for XCP. It's best to use a supported PCIe ethernet device.

        3 1 Reply Last reply Reply Quote 0
        • 3 Offline
          3isenHeiM @Andrew
          last edited by

          @Andrew it’s a simple dell USB-C to Ethernet adapter, nothing fancy.

          I’m running XCP on a laptop with only USB-C ports…

          I’m gonna try with other types of adaptors and we’ll see 😕

          1 Reply Last reply Reply Quote 0
          • First post
            Last post