Questions tagged [virtual-interface]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Where are the logs for /etc/network/inferface in debian

I conclude that wpa_client + dhclient is the debian infrastructure for lightweight wireless internet. However a single typo in /etc/network/interface broke my wired + wireless networks and I could ...
-1
votes
0answers
31 views

Are there any alternatives to TUN/TAP devices?

TUN/TAP devices (Tun/Tap interface tutorial, Universal TUN/TAP device driver) provide a unique networking functionality to user space programs. They allow the creation of virtual fake network ...
0
votes
0answers
18 views

Load balancing packets from interface to many virtual interfaces

I've got a server with interface eth0. I'm using a black-box software (SNORT) that gets as input an interface and using a single thread analyze the packets' data. I wish to increase the throughput ...
0
votes
1answer
24 views

How to send ethernet frames from one veth to another?

I have two veth pairs (veth1, veth1_0) and (veth2, veth2_0). veth1_0 and veth2_0 are in the default namespace ns0, veth1 is in namespace ns1 and veth2 in namespace ns2. I want to communicate between ...
0
votes
0answers
28 views

Allow multiple simultanous connections on one ethernet interface with NetworkManager

I have an ethernet interface connected and I currently have 2 configs created for that one with NetworkManager. One with DHCP and the other with static ip addresses for ranges I want to use for local ...
2
votes
2answers
719 views

Veth interface configuration persistent

How to configure the veth interface on CentOS 7 in such a way to make it state persistent after system reboot? For example: veth configuration: # create veth pair and assing IP address. ip link add ...
0
votes
1answer
41 views

Run script when virtual interface is up

I have /sbin/ifup-local set to execute and it works but my virutal interface eth0.2 (vlan2) is the one that gets the IP address I need to run the script . How can i run a bash script when eth0.2 is ...
0
votes
0answers
94 views

configure sriov vf on i40e not in promisc

I have 3 vms on the same compute. Each vm have a vf, 2 vfs (A,B) are on the same pf (pf1), and another vf (C) on seperate pf (pf2). Somehow traffic sent from B to C in unicast arrive to A. I read ...
1
vote
1answer
560 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
173 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
255 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
1k 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
507 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
20k 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
44k 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
2k 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 ...
11
votes
2answers
38k 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
5k 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 ...