The network interface veth…
in the host shouldn't have an IPv4 address. Those virtual interfaces work in pairs:
- One interface will be in the container, it will be named
eth0
, and will have an IPv4 address. For all purposes, it looks like a normal interface. - The other half of the pair is the
veth…
interface. It will be in the host, and won't have an IPv4 address.
Those two interfaces are connected together: any packet sent on an interface will appear as being received by the other. You can imagine that they are connected by a cross-over cable, if that helps :-)
The fact that the veth…
interface has an IPv6 address is just because when IPv6 is enabled, all interfaces receive at least a link-local address. But this address is essentially useless in that case.