Questions tagged [interface]

333 questions
1
vote
0 answers

How to route between two interfaces?

I use a wireguard (a VPN) to connect to a server. This server has two interfaces (of interest for my problem - all the others are virtual ethernet links to connect to containers, no problem with these): root@srv ~# ip a (...) 6: br0:…
WoJ
  • 3,607
  • 9
  • 49
  • 79
1
vote
2 answers

Disable SMB on specific interface windows

I've got an smb share on a computer connected to a 10.0.0.0 network and an 192.168.0.0 network, and I only want smb to listen on the 10 network. Not just setting up a firewall or something like that, simply close it off. Ideally something in…
lmal
  • 11
  • 2
1
vote
1 answer

simple bash script to check if tunnel exists [catching stdout and stderr]

i'm trying to write a simple bash script for a cronjob to check if some interfaces (tunnels) exsisting. if not i'd like to start another script that (re)starts them. my problem is: i don't get the "IF" working: #!bin/bash for i in tun1 tun2 tun3…
Kjellson
  • 85
  • 6
1
vote
1 answer

Efficient Python lib to query the RUNNING state of given network interface on Linux?

I want to monitor the RUNNING state of a certain network interface in an efficient way, without constantly calling ifconfig every second, or so, and parsing its output. So I'm asking if someone knows a way to efficiently get this state information…
TheDiveO
  • 561
  • 1
  • 6
  • 17
1
vote
0 answers

Interface combinations implementation without firmware update wireless linux networking

I am working with the Qualcomm WiGig (60GHz) chipsets supported by the Linux networking wil6210 driver. I use Linux kernel 4.12. In my use case, I would like to use concurrent usage of the WiGig interface. That means one interface is…
1
vote
2 answers

Using multiple internet connections?

I have two connections at work. One that I use to get to the Internet and the other to the company related stuff. The problem is that when I want to connect to the work related stuff, I need to switch off my wifi connection so that the browser…
Legend
  • 147
  • 3
  • 8
1
vote
1 answer

Connecting to same router over multiple ethernet ports

I have a Debian Stretch server with a network card. I want it to connect to my (normal configured standart DHCP) Router. So normaly i would say something like iface eth0 inet dhcp. But i have a network Card installed with two additional ethernet…
mac.1
  • 149
  • 2
  • 5
  • 10
1
vote
2 answers

How to Change a VLAN Assignement for an Interface on a Cisco 3750

I'm having some trouble trying to figure out how to Change a VLAN Assignement for an Interface on a Cisco 3750. I want to change: ! interface GigabitEthernet1/0/3 switchport access vlan 2 switchport mode access spanning-tree…
salonMonsters
  • 129
  • 1
  • 2
  • 5
1
vote
2 answers

Creating more than 20 VXLAN interfaces on linux

How can I create more than 20 vxlan interfaces in Ubuntu/Debian? In Linux kernel 3.16 I found that I can create more than 20 vxlan interfaces but they will not work properly as in sending arp messages does not work. in Linux Kernel 4.4 I get this…
Karim
  • 33
  • 6
1
vote
0 answers

Maintain Internet Access after Bridge Creation

Simple Issue: I cannot ping the Internet after creating a bridge on a mesh node. A Raspberry Pi mesh node, part of a batman-adv mesh network and set up as an access point with hostapd, cannot access internet after its batman-adv interface is bridged…
1
vote
1 answer

I'm unable to change network interfaces' metrics in Linux

I am trying to change the priority of network interfaces on my server using ifmetric. When I execute the command it looks like it worked (exit code 0), but it simply won't affect the interfaces - in ifconfig it shows Metric:1 for all…
eden881
  • 215
  • 1
  • 2
  • 10
1
vote
1 answer

Assign Entire IPV6 /64 Subnet to Network Interface

So i just purchased a linux (centos) server with /64 IPV6 subnet. I want to use these IP's for outgoing requests especially. How on earth can we add that many IP addresses to the network interface? Are there any workarounds for this?
1
vote
1 answer

How can I see what is utilizing my localhost interface?

I have a webserver that has almost 4mbps of sustained traffic on the localhost interface. How can I tell what is causing that?
Frank Barcenas
  • 605
  • 6
  • 18
1
vote
0 answers

Safely restart network via ssh to set static ip

In my /etc/network/interfaces.d/eth0 I have set: auto eth0 iface eth0 inet static address 10.0.0.25 netmask 255.255.255.0 gateway 10.0.0.1 dns-nameservers 8.8.8.8 8.8.4.4 Which shall assign my local machine a static IP from the…
Flatron
  • 318
  • 2
  • 5
  • 19
1
vote
1 answer

force dnsmasq to bind an interface for DHCP

I want to use dnsmasq with two configs on two interfaces, which should be bound locally. If you read the manpage, it looks like interface=wlan0 bind-interfaces should do the trick. But it always binds the dhcp server to all interfaces: udp 0 …
allo
  • 1,620
  • 2
  • 22
  • 39