Questions tagged [virtual-interface]

19 questions
25
votes
8 answers

What's the best way to actually "type" special UTF-8 chars?

Everything on my system (that needs it) supports UTF-8 just fine. That's all nice when you want output... But what if you want easy input ? At the moment the only non-ASCII chars I can easily type are chars like é by using AtlGr.But for chars like ₂…
Garo
  • 2,023
  • 9
  • 15
15
votes
4 answers

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 just use ifconfig, ip a, or similar; but no…
voices
  • 1,252
  • 3
  • 15
  • 30
14
votes
2 answers

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 we just initialized above. But it gives the…
8
votes
2 answers

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 hw ether
. Then We can Set two different access points (SSIDs) to each of these inetrfaces using Network…
Mohammad Etemaddar
  • 12,227
  • 7
  • 24
  • 35
7
votes
1 answer

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 Custom TCP Stack. /etc/network/interfaces: auto…
Mr. Nobody
  • 71
  • 1
  • 1
  • 3
5
votes
2 answers

Unable to connect vm to IPv6 internet via virtual tap interface

I'm having trouble connecting a vm to the IPv6 internet through a virtual tap device on the host. I.e., I cannot ping ipv6.google.com or the public IPv6 host global primary interface address. Ex: -bash-4.2$ ping6 ipv6.google.com PING…
waffles
  • 123
  • 7
5
votes
1 answer

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 virtual interface as well. I tried everything that…
Kushal
  • 327
  • 1
  • 4
  • 9
3
votes
7 answers

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 interfaces starting with s1 (in our example, it must give…
2
votes
1 answer

docker interface tears down wifi internet

I see this problem on my laptop: when I docker run a Docker container, then after a few seconds my WiFi internet stops working. I don't have an Ethernet connection to test that side of things. I don't know how to troubleshoot this, I see I have 2…
2
votes
2 answers

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 veth0 type veth peer name veth1 ip addr add…
mg3
  • 23
  • 1
  • 4
2
votes
1 answer

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 possible to send packets between a container (in its own…
2
votes
1 answer

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. "Virtual" then means that it's one of the Linux…
TheDiveO
  • 1,187
  • 1
  • 10
  • 24
1
vote
2 answers

Cannot ping second IP address on another machine's interface

I have an OpenVPN client connected to an OpenVPN server. The server has the following routes: default via 10.109.185.65 dev eth0 proto dhcp src 10.109.185.84 metric 100 10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.1 10.109.185.64/27 dev…
pacoverflow
  • 278
  • 3
  • 15
1
vote
1 answer

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 IP to a different application. For example, I have…
sojim2
  • 143
  • 5
0
votes
1 answer

Understanding packet flow through iptables rules for docker container bridge network?

Background I want to understand the relationships between docker container networks and iptables, and generally understand how packets flow from the eth0 interface (in a container), through the default bridge docker0 interface, and to the network…
1
2