Usually one end stays in the host and the other is moved into a network namespace.
veth
A pair of virtual Ethernet interfaces: what goes in one end comes out the other.
Usually one end stays in the host and the other is moved into a network namespace.