Linux

 

 

 

 

Virtual Network Interface

 

 

 

 

Virtual Network Interface without any Physical Interface

 

Following is the system environment that I used for this tutorial. I have created the virtual interface in the Ubuntu running within a Virtual Box.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Virtual Network Interface based on a existing Interface via MAC layer

 

Following is the system environment that I used for this tutorial. I have created the virtual interface in the Ubuntu running within a Virtual Box.

I had only one physical network interface (physical network card) on this system. It is WiFi interface (WiFi card) that is used by the host PC (Windows 10 PC). The main network interface on Ubuntu (named enp0s3) is sharing the WiFi card in Bridge mode and the virtual interface that I will create in this tutorial will be derived from enp0s3. It mean that one Physical Interface (WiFi card) will be shared by three different interface (Windows WiFi + enp0s3 on Ubuntu + veth0 on Ubuntu) after this tutorial.

NOTE : After the virtual interface is created in this tutorial, the ping became unreliable. A lot of ping packet loss happened. It may be because one physical network card is shared by too many interface. But I decided to keep this tutorial since it is good enough to show the procedure itself for virtual interface creation.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reference :

 

[1] Ubuntu Manual page