We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With recent podman bundles, the gvisor-tap-vsock runs even with system networking. This is because the VM ethernet interface is named enp2s0 while the vm process stops by default when eth0, ens3 or enp0s1 are present: https://github.com/containers/gvisor-tap-vsock/blob/7d1dd1cee41e90ee92bf545fef69bf8c7b468c1b/cmd/vm/main_linux.go#L40
enp2s0
vm
eth0
ens3
enp0s1
One way of fixing this would be to set a fixed name for the interface: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/consistent-network-interface-device-naming_configuring-and-managing-networking
The text was updated successfully, but these errors were encountered:
The enp2s0 naming comes from the address node of the libvirt XML definition:
address
<interface type='network'> <mac address='52:fd:fc:07:21:82'/> <source network='crc'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </interface>
(pci bus 2 slot 0 -> p2s0)
p2s0
Sorry, something went wrong.
No branches or pull requests
With recent podman bundles, the gvisor-tap-vsock runs even with system networking.
This is because the VM ethernet interface is named
enp2s0
while thevm
process stops by default wheneth0
,ens3
orenp0s1
are present:https://github.com/containers/gvisor-tap-vsock/blob/7d1dd1cee41e90ee92bf545fef69bf8c7b468c1b/cmd/vm/main_linux.go#L40
One way of fixing this would be to set a fixed name for the interface: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/consistent-network-interface-device-naming_configuring-and-managing-networking
The text was updated successfully, but these errors were encountered: