Recently I have been looking at the basic knowledge of routers and switches and found that the concept of a connection must be clarified. Otherwise, it is easy to get lost in the complicated network. That is, the network interface and the network exchange interface.
A network interface refers to an external interface of a vro or a PC Nic, which is connected to a network chip with a MAC address. This interface is an object, and IP addresses can be set.
A network switching interface refers to the external interface of a vswitch. This interface does not connect to a network chip or has no MAC address. It is used to connect a vro or a PC Nic. The interface itself cannot set IP addresses.
Note that in a layer-3 Switch, some interfaces are network interfaces, while some interfaces are network exchange interfaces. Therefore, you must clarify these two types of interfaces before connecting to the network.