VirtualBox

Opened 10 years ago

Closed 10 years ago

#12309 closed enhancement (fixed)

NAT should preserve TOS field => Fixed in SVN

Reported by: Ralph Schmieder Owned by:
Component: network/NAT Version: VirtualBox 4.3.2
Keywords: Cc:
Guest type: all Host type: all

Description

When using NAT as the network interface, traffic initiated by the VM where the application will set the TOS field for QoS or where the VM acts as a router and the traffic is initiated by a e.g. phone with the TOS field set will be re-marked with TOS=0 when going through the NAT process.

Examples:

VoIP App running on VM -- NAT on VM Host -- Router

Phone -- VM/Router -- NAT on VM Host -- Router

Assuming the phone or the VoIP app set voice and signaling traffic to some specific value (typically RTP is marked with DSCP EF and SIP signaling with DSCP CS3) the NAT process on the VM host will zeroize the TOS field so that the router at the right handling the traffic can not differentiate between important voice traffic and e.g. bulk data anymore resulting in degradation of voice / video quality.

When the traffic is bridged (in both above cases) the TOS field is preserved. When the traffic is NATed, the TOS field is set to zero regardless what it has been set to before.

Ideally, the VBox NAT process would look at the incoming TOS field of each packet and create the outgoing packet with that TOS field, typically using RAW BSD sockets.

Change History (2)

comment:1 by Valery Ushakov, 10 years ago

Summary: NAT should preserve TOS fieldNAT should preserve TOS field => Fixed in SVN

This should be fixed in the forthcoming 4.3.16.

comment:2 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

Fix is part of VBox 4.3.16.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use