Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsv

Virtual network interface

A virtual network interface is a network device implemented in software.

A virtual network interface looks like a network card to the programs that use it, but it is not a physical card. Usually there is no hardware behind it, only kernel code that hands its packets to other software on the host. Some virtual interfaces are slices of a physical card instead. The kernel treats it like any other interface, so ordinary tools give it addresses and routes of its own. A host can create one for every guest and container it runs.

The software on the host side, usually a bridge or a virtual switch, decides where the packets go next. To the guest or container on the other side, the traffic looks the same as traffic on a physical network. A bridge acts like a simple Ethernet switch. A virtual switch such as Open vSwitch follows rules programmed into it. Traffic between two guests on the same host never touches a physical card.

The host end of a virtual interface is a common place to apply network policy, outside the reach of the workload. Network address translation and egress control often attach there, so the code inside a sandbox cannot turn them off. Each sandbox or other workload has its own interface, so rules can differ per workload without affecting the neighbors. Counters on the host end also show how much each workload sends, which supports billing and rate limits.