Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [virtual-interface]

The tag has no usage guidance.

0
votes
1answer
107 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 ...
0
votes
2answers
95 views

Why I cannot initialize dummy interface at bashrc?

I did try to initialize a dummy interface in shell manually without no problem. In order to bring up this interface at every boot up process, then i tried to add it to /etc/bashrc or /etc/profile as ...
2
votes
1answer
60 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. "...
3
votes
5answers
867 views

How to show only interfaces starting with a certain pattern

Open-Vswitch creates virtual interfaces, they all have this pattern: s[digit]-eth[digit] For example: s1-eth1, s1-eth2, s12-eth3, s2-eth3 ... I want to show information of -for example- all ...
1
vote
1answer
344 views

How to use different virtual network interfaces for different processes?

The solution to non-virtual network interfaces is here: https://unix.stackexchange.com/a/210992 But the problem is I have multiple IPs on one network interface and I'd like to be able to assign each ...
2
votes
1answer
9k 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 ...
6
votes
3answers
31k views

How to find IP of virtual machine?

If I have a VM (using VirtualBox, for instance) running inside my main OS; how can I identify the virtual interface and IP address (of the VM) from within the original (host) OS? I thought I could ...
4
votes
1answer
1k 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 ...
12
votes
2answers
25k 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 ...
7
votes
2answers
3k views

Single wifi card, Connect to multiple access points simultaneously

As we know, We can create virtual wireless interface using iw dev (1). Also, We can change it's MAC address using ifconfig <ifname> hw ether <Address>. Then We can Set two different access ...