Skip to main content

All Questions

2 votes
1 answer
3k views

Is it possible to send packets between network namespaces using only TUN/TAP interfaces?

I am trying to understand the difference between different types of (virtual) interfaces (e.g. TUN/TAP, veth etc.) and was studying some of these types within the context of containers. Is it ...
dippynark's user avatar
  • 327
2 votes
1 answer
2k views

Detecting that a network interface is "physical" or "virtual" using only RTNETLINK on Linux?

I would like to detect whether a network interface is "physical" or "virtual", where "physical" means that the interface has hardware attached, even if that "hardware" is virtualized by a hypervisor. "...
TheDiveO's user avatar
  • 1,337
7 votes
1 answer
71k views

How to properly configure a tun/tap Interface in linux?

Basically I am trying to create a custom TCP Stack. As you might know I cant use eth0 because linux kernel TCP stack uses that, Due to that I need to create a tun/tap interface and use it for my ...
Mr. Nobody's user avatar
6 votes
1 answer
4k views

Is it possible to implement IPv6 on a virtual interface (eth0:1 interface) in Linux?

If I assign an IPV6 address to the virtual interface created like eth0:1, then it gets automatically assigned to its real interface eth0. It's all working fine on IPv4, but I need IPv6 on the ...
Kushal's user avatar
  • 357
16 votes
2 answers
79k views

How can we create multiple dummy interfaces on Linux?

To Create a Fake Ethernet dummy Interface On Linux we First initialize the dummy interface driver using the below command: /sbin/modprobe dummy. Then we Assign Ethernet Interface alias To Dummy Driver ...
Kushal's user avatar
  • 357