My Max Studio with M1 Max running MacOS Ventura 13.2.1 and Parallels 18.2.0 has a 10 gig ethernet connection that is an 802.1q VLAN trunk. There are only a few vlans, home (vlan 10), iot (20), and lab (40) configured.
MacOS has built-in vlan support, so the host has no issues connecting to any external systems on the configured vlans, including Ubuntu servers with 802.1q trunks and vlan interfaces. I mention this to demonstrate I already know how to configure Ubuntu via netplan, because this works. The problem is only with the Parallels guests that try to use any of the vlans.
When I run Linux VMs (Ubuntu 22.04), the only guest network configuration I can get to work properly is a "Shared Network" interface, which prevents the VM from being isolated to, or offering any services on any vlan. When I bridge a guest to the Mac's "home", "iot" or "guest" vlan interfaces, nothing works. When I bridge the guest interface to the Ethernet trunk itself and configuring vlan interfaces (the same way I do on external hosts), the guests are able to ping all other vlan members except the host Mac itself.
Ping normally sends small packets. Whenever I try to do anything that uses large packets, it hangs. If I try to ssh from the guest into a remote host, or try to run software updates (sudo apt update), the network connection hangs as soon as a large packet is sent. I think something isn't setup to handle the 1518 byte MTU that a 802.1q trunk requires (18 bytes for vlan id + 1500 bytes of Layer 2 ethernet packet).
If the Mac's ethernet has a static IP assigned, and you bridge to it, the guest and the host can communicate. If it's a trunk with no IP, and both OSs have to setup VLANs to communicate on the network, the guest cannot communicate properly. The host works fine with external servers, the guest can only ping external servers.
Anyone else know to configure Parallels to use 802.1q VLANs?
whistl
MacOS has built-in vlan support, so the host has no issues connecting to any external systems on the configured vlans, including Ubuntu servers with 802.1q trunks and vlan interfaces. I mention this to demonstrate I already know how to configure Ubuntu via netplan, because this works. The problem is only with the Parallels guests that try to use any of the vlans.
When I run Linux VMs (Ubuntu 22.04), the only guest network configuration I can get to work properly is a "Shared Network" interface, which prevents the VM from being isolated to, or offering any services on any vlan. When I bridge a guest to the Mac's "home", "iot" or "guest" vlan interfaces, nothing works. When I bridge the guest interface to the Ethernet trunk itself and configuring vlan interfaces (the same way I do on external hosts), the guests are able to ping all other vlan members except the host Mac itself.
Ping normally sends small packets. Whenever I try to do anything that uses large packets, it hangs. If I try to ssh from the guest into a remote host, or try to run software updates (sudo apt update), the network connection hangs as soon as a large packet is sent. I think something isn't setup to handle the 1518 byte MTU that a 802.1q trunk requires (18 bytes for vlan id + 1500 bytes of Layer 2 ethernet packet).
If the Mac's ethernet has a static IP assigned, and you bridge to it, the guest and the host can communicate. If it's a trunk with no IP, and both OSs have to setup VLANs to communicate on the network, the guest cannot communicate properly. The host works fine with external servers, the guest can only ping external servers.
Anyone else know to configure Parallels to use 802.1q VLANs?
whistl