mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-24 22:54:34 +02:00
fix(qemu): open the adapter TAP without a vnet header
The TAP netdev kept QEMU's default vnet_hdr, so virtio-net, e1000e, igb and vmxnet3 guests offload TCP/UDP checksums (and TSO) to the TAP: their frames carry only the pseudo-header sum in the checksum field. A kernel bridge link finishes them, but the uBridge relay (cloud, NAT, hub, ...) reads the TAP with libpcap and forwards the frames as they are, so DNS and TCP through a cloud fail while ICMP and DHCP work. With vnet_hdr=off QEMU stops offering the offloads and the guest (or the emulated NIC) sends finished frames, as with the 2.x socket netdev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2c10782635
commit
156b77000c
3 files changed
+34
-3
No files matched your search
@@ -11,7 +11,7 @@ binary, the real IOS CLI behind the server's telnet console), driven through
|
||||
the controller REST API. QEMU is the node type whose guest leg *is* the
|
||||
anchor: uBridge creates one persistent TAP per adapter before launch and
|
||||
hands it to this user, and QEMU opens it by ifname as its netdev
|
||||
(``-netdev tap,ifname=...,script=no,downscript=no``) — no userspace hop, no
|
||||
(``-netdev tap,ifname=...,script=no,downscript=no,vnet_hdr=off``) — no userspace hop, no
|
||||
port bridge, the anchor is the NIC's host side.
|
||||
|
||||
* two QEMU nodes on one compute report ``kernel_datapath`` when the
|
||||
|
||||
Reference in new issue
Block a user