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

Questions tagged [networking]

Managing and using network connectivity on a unix system

5
votes
0answers
172 views

What network connections are not seen by netstat/lsof/ss?

Network monitoring tools ss, lsof -i, netstat -ltupw and similar have limitations like namespace and thus they don't show the whole machine connections. (for namespace created with ip we can see other ...
5
votes
0answers
1k views

Resolve NetBIOS Names via Samba >= 4.4

Through StackExchange, we know how to configure Linux to resolve NetBIOS names with older versions of Samba, and I have configured my system in those ways. (I have installed winbind, configured my /...
5
votes
0answers
337 views

Wifi cuts out after some time

I recently installed Debian on my laptop (after playing around with dozens of distros in VMs for a year or so), and while most everything has gone quite swimmingly I'm having some issues with my wifi. ...
5
votes
0answers
2k views

AppArmor Profile: Deny internet access

I want to deny the internet permission for some applications. Therefore, I tried first to deny the internet permission for ping, but it doesn't work. Here is the profile of /etc/apparmor.d/bin.ping /...
4
votes
0answers
601 views

Entries order in /etc/network/interfaces

I have a device with two interfaces, eth0 and eth1. One should get its IP from a DHCP server and the other should get its IP statically. If my /etc/network/interfaces file is configured as follows: ...
4
votes
0answers
2k views

Can't connect to a network, getting 2=PREV_AUTH_NOT_VALID

Validated the network works fine with cell phone and another computer. Using Lenovo with "Centrino Advanced-N 6205 [Taylor Peak]". Not sure where to go with this. Any ideas? Yes, the wifi card in ...
4
votes
0answers
524 views

Vagrant configure eth0

I started using Vagrant recently to quickly install virtual machines. I noticed that my network configuration isn't perfect, but I can't get it right. This is my Vagrantfile: ENV['...
4
votes
0answers
650 views

Ping from VRF VLAN interface

I'm working on configuring multiple VRFs on Ubuntu Server 16.10 and having trouble using ping to validate the configuration. I've been using https://www.kernel.org/doc/Documentation/networking/vrf.txt ...
4
votes
0answers
616 views

Linux netconsole with bridged interface

I'm attempting to enable netconsole on my home PC, however encountering some trouble with my bridged LAN and Wi-Fi. If I don't specify an interface name, it fails as follows: $ sudo modprobe ...
4
votes
0answers
1k views

Persistent network namespace configuration

When creating a namespace with ip netns add <namespace> the namespace and it's related config is deleted on reboot along with created interfaces like veth pairs. What is the correct way to: ...
4
votes
0answers
441 views

How do I get Consul to work so I can get Docker Overlay to work?

I am running CentOS 7 with Docker. I am trying to install Consul on the Docker server. Consul is unzipped. The binary file works for showing the version. I ran this: echo $CONSUL_RPC_ADDR This ...
4
votes
0answers
4k views

Is it possible to throttle upload bandwidth per `IP` basis using `tc`, `htb` and `iptables` ? (Download limitation not required)

Problem I've searched internet like anything but couldn't find much about limiting upload. The solutions given are not limiting IP basis like this one but LAN as a whole. +-----+ +------...
4
votes
0answers
126 views

Disable networking only inside of a single terminal

I want to run a command in the terminal to disable networking, just in that terminal. How can that be accomplished? I'm running OSX. Note: I only want to disable the networking in that terminal. ...
4
votes
0answers
390 views

Is there a thing like “veth”, but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
4
votes
0answers
8k views

Unable to start network, <IP> is already in use for device eth0, but its not

A weird issue after we migrated some of our servers to a new DC. We assigned new IPs to all the machines and all the servers are working fine except one. It is not picking up the new IP address and ...
4
votes
0answers
18k views

Ping command results in packet loss

Whenever I ping on my personal computer, nothing gets displayed other than a single statement. Upon stopping execution, I see that several packets were transmitted in the statistics. On top of all ...
4
votes
0answers
2k views

Linux - Only first virtual interface can ping external gateway

I created 3 virtual interfaces with different MAC addresses all linked to the same physical interface. I see that they can successfully arp for the gateway (gw) and they can ping (the request is ...
4
votes
0answers
520 views

AIX NIM Master replicate / sync fails to an Alternate Master

I am getting a error when I try to replicate / sync my NIM database and resources to an Alternate NIM Master newly created in my environment: error replicating resources: unable to /usr/lpp/bos....
4
votes
0answers
389 views

Raspbian: how ifplugd works on lo and other interface

On my raspbian, I'm wondering why ifplugd (link detection daemon for ethernet devices) is also running on the lo the loopback interface. The ps command displays: /usr/sbin/ifplugd -i lo -q -f -u0 -...
4
votes
0answers
95 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
4
votes
0answers
542 views

No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine

Im using QEMU 1.4.0 Ubuntu 13.04 distribution. Im trying to make the virtrual machine part of the host network so Im ussing this command: sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
4
votes
0answers
1k views

How to setup networking for Linux Mint - VM when host machine uses a PAC file?

My host is a Windows 7 x64 machine. The office network uses a PAC file for the LAN settings. So, under Internet Options -> Connections -> LAN Settings, I have Use automatic configuration script with ...
4
votes
0answers
285 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= 00:16:3e:24:26:...
4
votes
0answers
4k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 -P ...
4
votes
0answers
811 views

tunneling FON traffic via Tor

I would like to tunnel the traffic of my FON router through Tor. For that I added a second network card to a local server and connected the FON router to it. Then I set up a DHCP server and configured ...
3
votes
0answers
52 views

Why is my client getting two IP addresses when connecting to WiFi?

A sub-question: why is my client requesting a specific IP address without a dhclient running? I have two access points. One is serving up two SSIDs, the other just one SSID. When I connect to the two-...
3
votes
0answers
88 views

Add interface that is up to a bridge

I'm trying to compose /etc/network/interfaces that would combine two ethernet interfaces in a brdige. The problem is that the system boots using PXE loader and NFS root, and one of the interfaces ...
3
votes
0answers
162 views

how to prioritize udev-rules over the driver/kernel (network interfaces names)?

I have an ubuntu server 14.04 virtual machine with 2 network interfaces eth0 - for web management, SSH eth1 - for incoming span network analysis I've configured the machine with udev rules (to ...
3
votes
0answers
132 views

Why IPv6 connectivity on OpenVPN network failed after short time?

I use OpenVPN TUN network. IPv4 works fine. But I have added support for IPv6. I have a problem with IPv6 connections. IPv6 works fine only for short time. When I ping tun0 IPv6 address on my VPN ...
3
votes
0answers
142 views

FreeBSD/OVS equivalent of ESXi vSwitch VLAN config

I'm trying out FreeBSD with bhyve hypervisor and trying to replicate VMware ESXi vSwitch config in FreeBSD so that pfSense VM gets network traffic properly. VLANs: 111 = LAN, 192.168.101.0/24 333 = ...
3
votes
0answers
78 views

Is there a way to route interrupts from two Ethernet interfaces to separate cores?

I have a 10G ethernet adapter from Intel with two ethernet ports (x550-T2) installed in PCIe port of a Xilinx FPGA board running petalinux. I am testing network bandwidth by running simultaneous ...
3
votes
0answers
247 views

How to disable a processes' internet access but allow localhost?

In Ubuntu 17.04, I've been trying to use IP tables to block a processes' internet connection but allow localhost, particularly 127.0.0.1:5500 (a server the process creates). Whilst the process can't ...
3
votes
0answers
100 views

Fast lossless, compressed streaming of packet capture between two servers?

Suppose I am capturing packets on a remote host with tcpdump (more precisely, I'm doing it with an Endace card, which exposes a tcpdump-like utility called dagsnap). What would be a fast way to ...
3
votes
0answers
1k views

Active Directory Windows share folder from Debian samba

This is what I have: Group of computers under DOMAIN.LOCAL and all users provided by Active Directory in Windows Server Debian server Windows AD, DC server What I need: Share a folder from my ...
3
votes
0answers
4k views

RTNETLINK answers: File exists on Ubuntu Server 16.04

I have a fresh new install of Ubuntu Server 16.04. After installation, network connectivity was fine. I installed QuickBox, it's a seeding/torrent server software (https://quickbox.io). After the ...
3
votes
0answers
39 views

Sending all network traffic from a VM?

One VM is set the network card as internal in Vbox. I'm trying to send all it's network traffic to another VM with same internal card, transparently. Can iptables help? Here is the internal network ...
3
votes
0answers
1k views

Stop wget reusing existing connection?

so I am trying to wget a specific webpage using this command in bash scripting: wget --no-cookies --header="Accept: text/html" --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) ...
3
votes
0answers
2k views

Why is my `net.ipv4.ip_forward = 1`?

I just discovered accidentally that cat /proc/sys/net/ipv4/ip_forward returns 1. I can't remember having enabled net.ipv4.ip_forward anytime ago, but since my system runs for several years now, I can'...
3
votes
0answers
385 views

Route subnet traffic through OpenVPN tunnel

i have a linux machine set up as a gateway between an isolated subnet and the rest of my network. NAT is done via iptables and works fine. # Generated by iptables-save v1.6.1 on Mon Nov 27 10:22:22 ...
3
votes
0answers
262 views

Something is killing my wired network, what that could be?

I am using Fedora 26 x64 and for some reason - and randomly - the wired network is being killed by something. I did know because I am seeing the message saying the wired network does not exists ...
3
votes
0answers
209 views

Map DNS requests coming from specific client MAC with dnsmasq

I'm using dnsmasq on OpenWRT. Is it possible to map certain hostnames for DNS requests coming from a specific client? The ultimate goal in my case is to map certain hostnames to 127.0.0.1 to block ...
3
votes
0answers
1k views

No buffer space available - ICMP

I'm trying to set up a Heartbeat client on a linux machine (CentOS Linux release 7.3.1611) which is sending ICMP echo requests to roughly 1300 hosts. However, in future this number will be higher. The ...
3
votes
0answers
644 views

Two network interfaces with same metric and with gateway. Which one is used?

Suppose I have a system with two network interfaces. These are in different subnets and have a different local IP address. Both have a gateway defined, and both have the same metric value in the ...
3
votes
0answers
67 views

Origin of different network timeouts?

Linux uses 20 seconds as default tcp connect timeout. What is the reason for this specific timeout value? Note: I'm researching a data-driving approach to configuring socket timeouts in a specific ...
3
votes
0answers
702 views

“Read-only file system error” on Samba share, alternative share with identical options working (Linux client)

I'm experiencing a very strange problem which I've been trying to solve in the past few days and I already tried various methods of resolution to which I will get to in a moment. My home network ...
3
votes
0answers
51 views

different MTU on a single link

What should be the correct behaviour in Linux, when the same link has different MTUs, e.g. [HostA eth0 MTU 1500] <--> [eth0 MTU 500 HostB] When I do ping -s 1460 HostB from HostA, I don't see ...
3
votes
0answers
5k views

I'm unable to create a static ip route. error says: RTNETLINK answers: Network is unreachable

Im trying to setup a test network with VMs to practice how static routing works, so what I thought to do is to setup two internal networks and one box with two interfaces to work as a router, here's ...
3
votes
0answers
1k views

LXC NAT forward host port to container

I've installed LXC on a debian/sid and created a jessie/amd64 container sudo apt-get install lxc debootstrap libvirt-clients \ libvirt-daemon-system ebtables dnsmasq sudo lxc-create -...
3
votes
0answers
34 views

Is there a common way to provision network profiles?

I need to provision a number of Linux systems with credentials for wireless networking. At the very minimum, I need to install a site CA cert. Ideally, it would also install a unique (signed) client ...
3
votes
0answers
2k views

Docker could not find an available, non-overlapping IPv4 address pool

I'm using Docksal for CI with Jenkins. Docksal is docker-compose client, and for every git branch I have, there is separate docker-compose network. Problem is that I got following error when try to ...