What are the functions performed by tun/tap interface ?
TUN/TAP are virtual network devices. TUN device works at the layer 3 (IP layer) while TAP device works at the layer 2. I am very much familiar with TAP device, it is used by my virtual machine to connect to virtual bridge/switch exists in my host machine. Broadcast of package is supported by TAP device but TUN device is point to point connection and does not support of broadcast.
Reference: http://www.naturalborncoder.com/virtualization/2014/10/17/understanding-tun-tap-interfaces/
One server may have support of limited number of physical interfaces. What if there is need of more Ethernet interfaces but physical slots are not available ?
I heard TUN and TAP interfaces and have seen TAP interfaces many times when a virtual machine is created within a host machine. I am looking for examples of TUN interfaces, any use case would help me a lot to understand this. Thanks in advance.
What is the use of TFTP and where exactly it becomes necessary to use it ?