Description
First of all, load dummy kernel module (if not existing).
modprobe dummy
Then, create a TUN/TAP device for the network traffic.
ip tuntap add dev eth0 mode tap
Configure the MAC address of your license in that recently created TAP device.
ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
Give an IP address to the TAP device.
ip addr add 192.168.198.198/24 dev eth0;
Register the device in the system.
ip link set eth0 up;