Questions tagged [linux-networking]

Linux Networking refers to any networking function performed by a server running Linux. A Linux server operating as a router or firewall are the most common applications.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

Set static IP addresses Ubuntu and CCentOS Internet connection is not working

I want setup webserver with Ubuntu 20.04 LTS, but when I set static IP addresses, my Internet connection isn't working I use this configuration in sudo nano /etc/netplan/00-installer-config.yaml [00-...
0
votes
0answers
14 views

Failed to display ens5 interface

I performed the interface name change, but now it no longer appears in the system. My config interface ifconfig When running /etc/init.d/networking restart i recive: restarting networking (via ...
2
votes
0answers
19 views

Asymmetry in Linux VM transfer rate

I have two Linux VMs, let's call them VM1 and VM2. I have on VM1 an 80 Gb file. When I try to transfer this file from VM1 to VM2 the transfer rate is almost 256 Mb/s. scp 80Gblargefile VM2:/home/...
-2
votes
0answers
33 views

HP Server and the other interface is SW

I perform ethtool as below and found the speed is 100Mb/S on HP Server. and I want to change it to 1000Mb/s I already tried too change it manually but the eth goes down and returned back only when I ...
0
votes
0answers
15 views

Intermittent stalling when transferring a large file

I'm trying to transfer a large file from one machine (Linux) to another (macOS) over a LAN. One machine only has a 100 Mbps NIC, so that's what I'm using. I first tried rsync, which would give ~10 MB/...
-1
votes
0answers
14 views

How can I set up a layer 3 bridge using Proxy ARP such that http requests can be made to the inside/proxied host's IP successfully?

Currently I am using a Raspberry Pi to bridge an ethernet connected printer to wireless internet and have used DNAT successfully to give the printer internet access, manually forwarding the printer's ...
0
votes
0answers
34 views

Influence source address selection to same destination with multiple interfaces

I have a system with two network interfaces, both connecting to same default gateway. I want to load balance the connections to the same destination IP made from the system across both interfaces and ...
0
votes
1answer
33 views

veth does not respond to other veth ping requests on same bridge

I created two veth pairs and connected them to the same bridge. However, they do not respond to ping requests. This is ubuntu 20.04. # create the interfaces and bridge sudo ip link add br0 type ...
-1
votes
0answers
17 views

one of two GET requests can't reach the web hook

there is external system which sends two different GET requests one by one to my web hook. One of the requests reaches the web hook and another one - not. I can't understand why one of the GET ...
-1
votes
0answers
31 views

computer has multiple ip addresses on the network (but one in ifconfig)

One of my ubuntu machines seems to have two IP addresses despite only being configured with one. bagend has one IP address configured 192.168.86.56 (DHCP, nothing fancy going on with eth0:0, proof ...
0
votes
1answer
33 views

How do I block incoming traffic from Google Cloud IPs?

I'd like to block ALL incoming traffic from Google Cloud IPs. I don't know how to do this, and I don't know how to know what the Google Cloud IPs are. I have a dedicated server running Ubuntu 20.04 ...
0
votes
0answers
27 views

How to setup multiple external gateways for Dante sock5 proxy

I have a Dante proxy server setup on my ubuntu machine, which has 4 NICs, one ethernet (eth0) and three usb modems (usb1,usb2,usb3). All with their own internet connection. I am trying to setup in ...
-1
votes
0answers
24 views

Why would a particular network card only work with certain IP blocks?

I have a proxmox (debian based) cluster and there are 4 network ports in the nodes, two 10GbE ports and two 1Gbs. One node is behaving in a way I can't explain. When I set a 172.16.0.0/29 block ip ...
1
vote
1answer
80 views

Does IPTable/Netfilter eat up ephemeral ports

I wanted to understand more about Netfilter architecture. Let's say I have a machine with 3 IPs. I configure one IP to SNAT to all 3 IPs in round robin. Can I open more than 64k connections from that ...
-1
votes
0answers
18 views

Public IP address received when load-balanced on Kubernetes service

We have an issue with our load balancer service in Kubernetes. Here is our setup: We have a custom build Kubernetes cluster with Calico. All nodes have 2 interfaces. These are eth0 (public network) ...
0
votes
1answer
44 views

How to route openvpn traffic through a second network adapter, to access the internet

I am running an ubuntu server with two network adapters eth0 and usb0, both with separate internet connections. The openvpn server is listening on eth0, and client can connect to the vpn using the ...
0
votes
0answers
21 views

add an asp .net core application to a ruby on rails site hosted on a linux server

I am new to web hosting, and please forgive my ignorance. my company has a website, and the site is an Ruby on Rails application with Passenger hosted on a linux server. I would like to know if it is ...
1
vote
0answers
25 views

network interfaces are deleted after issuing a virsh shutdown on VM

I tried to instantiate a VM using virt-install command with few interfaces as needed. The exact command is as follows: virt-install \ --name VM \ --noautoconsole \ --input keyboard \ --...
1
vote
1answer
109 views

Ubuntu: netplan disable dhcp

system ip configuration b4 netplan edit: root@pro-rpi-02:/# ip a sh 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:...
2
votes
1answer
52 views

What is the difference between ip link “add link” vs “add dev” commands

I've seen examples of the ip link command where some are shown as ip link add dev xxx type devtype and sometimes its of the form ip link add link xxx type devtype I looked at the documentation and ...
0
votes
0answers
19 views

docker w. multiple host network interfaces

So, I'm rather new to this container lark but a fair bit of googling(?) hasn't really helped at all :-/ I'm trying to figure out how to combine a bunch of RADIUS containers on to 2 hosts. The current ...
-1
votes
0answers
24 views

Set interface-name to net0 instead of ens18 during unattended installation

I am struggling with a problem I can not solve at the moment. Using PXE-boot to run an automated installation of Debian 10, the installer is setting the interface's name to ens18, which follows https:/...
0
votes
0answers
15 views

virsh domifaddr and net-dhcp-leases show no results

running CentOS 8, virsh 4.5.0, and libvirt. when i run either virsh domifaddr <domain> or virsh net-dhcp-leases default, i get no results whatsoever: Name MAC address Protocol ...
0
votes
1answer
168 views

Ubuntu 20.04 forward traffic between two interfaces (wlan0 and eth0) using NetworkManager

Running Ubuntu 20.04 on a Pi with netplan disabled and using NetworkManager only. Have wlan0 running in AP mode and an ethernet cable connected to the Pi. I want connections made to the wifi AP on ...
-1
votes
1answer
26 views

Can I get ip lease from DHCP router for linux virtual interface?

I have a mikrotik router that acts as a DHCP server. I created some virtual interface on my raspberry pi using : interface eth0:1 static ip_address=192.168.88.5/24 static routers=192.168.88.1 static ...
0
votes
0answers
8 views

Dot1x and Ubuntu on a non-dot1x wired interface

I am the administrator on a corporate network. I have set up dot1x, with MAB if dot1x fails efter 6 seconds, on the corporate network and everything works perfectly with Windows 10 and MacOS. Some of ...
1
vote
0answers
19 views

Attempting to drop packets to simulate a network failure

I have a switch running Linux with multiple devices on it. I'm attempting to simulate a network outage on one of the devices. I've attempted to drop the packets with both netem and iptables using ...
0
votes
0answers
8 views

Ways to limit FastCGI listeners count with one script in Linux

I start my script in terminal of Linux: $ cgi-fcgi -start -connect 127.0.0.1:9000 script.fcgi Then, I list my connections: $ sudo netstat -napo | grep :9000 and see tcp 0 0 127.0.0.1:...
0
votes
1answer
25 views

How to use curl and telnet instead of cgi-fcgi?

I am using this script.c: #include <fcgi_stdio.h> #include <stdlib.h> int main (void) { while (FCGI_Accept() >= 0) { printf("Status: 200 OK\r\n"); printf("Content-...
1
vote
0answers
14 views

Packet Loss with NIC Teaming and Independent Switches

I've got several Linux hosts (CentOS 7, x86_64) configured with NIC teaming for redundancy and load balancing. Two 10 GBit ports on the host are connected to two 10 GBit switches and configured to ...
1
vote
0answers
76 views

Cannot create an instance due to failed binding

I'm deploying openstack on 3 nodes (controller, compute and block storage). Each of my nodes have 2 attachements eno1 on the management network and eno2 on a provider network (192.168.3.0/24). I'm ...
0
votes
0answers
9 views

OpenVPN routing only some ports while others use connectors IP

I've setup OpenVPN on server and configured it so it relays IP of the server for access. But I've done it so that IP is for everything. I checked with tracert and hops indeed go thorgh server and on ...
1
vote
0answers
50 views

Suddenly ipforwarding uses local ip adresses for forwarded packages in ubuntu 16.04

I had two ubuntu servers (LB1 and LB2) which are directly connected to the internet. The servers both had ipv4 forwarding active. These two servers share their internet connection to some other ...
0
votes
1answer
52 views

LXD Container IPv4 Interface Management

Ubuntu 18.04.4 lxd 3.0.3 lxc 3.0.3 I have had several containers running without issue for a long time. Today I was making changes to my network and one of the containers picked up a DHCP address. ...
0
votes
0answers
14 views

TC Filter - Port ranges u32

I have created the following tc filter: tc filter add dev tun0 parent 1:0 protocol ip u32 match ip sport 17056 0xffff flowid 1:2 however instead of just targeting port 17056 I want to target the ...
0
votes
0answers
35 views

Forcing the wlan0 interface to send the router solicitation message

I have a small linux system which connects to the wifi router via wireless network. I am trying to enable ipv6 on wlan0 interface. Using SLAAC. Everything is working fine except that whenever I ...
0
votes
1answer
89 views

Apache2 react app + laravel REST api on same domain

So my goal is I have my domain named example.com conf for example.com <VirtualHost *:80> ServerName example.com ServerAlias www.example.com ServerAdmin webmaster@...
2
votes
0answers
46 views

WireGuard Failover for MySQL Galera Cluster

I'm setting up four servers across four locations in an attempt to create a geo-redundant MySQL Galera cluster. Two of the servers are behind NAT, and I'm currently attempting to use WireGuard to ...
1
vote
0answers
9 views

what is intel omnipath topology error?

I have lustre setup and connected with intel omnipath. the metadata server is getting rebooted often. in logs, i can see the opa topology error. what is this error means?. will it cause the server to ...
0
votes
1answer
76 views

Is there a way to disable TCP segmentation offloading to prevent packets greater than the MTU from being captured from the loopback interface?

I'm trying to create some captures on my linux box. The problem I have is that any captures I take from the loopback interface will contain massive packets that are much larger than the MTU. This ...
1
vote
1answer
32 views

Use proxy for entry Ubuntu system [closed]

I'm using Lantern as my VPN service. When I connect to Lantern it configures itself as system proxy. The problem is the proxy sometimes doesn't get detected by some programs or scripts and I have to ...
0
votes
1answer
62 views

Preserving source IP behind double-NAT network

I have a network scenario where double NAT-forwarding is happening. Public Firewall and Internal Firewall are doing NAT forwarding. I have only control of the Internal Firewall. Client: X.X.X.X Public ...
4
votes
0answers
76 views

Linux VXLAN Hardware offloading

When looking at several guides to setup VxLAN networks on Linux there seems to be 2 options: Open vSwitch (OVS) Native Linux VxLAN device. When using OVS there is an option to use vxlan encap/decap ...
0
votes
1answer
132 views

Linux server as an unmanaged switch

I have a small Ubuntu x64 server, which provides dhcp, naming, file and such services to my home network. It's simply connected to unmanaged SOHO switch laying next to it and just works. But, it has ...
1
vote
0answers
12 views

proto static metric for overlapping prefixes

Can someone please clarify how the route metric is set by Centos 8 in the following situation. I have two vlans on the system, each of which has a matching route prefix defined in /etc/sysconfig/...
0
votes
0answers
61 views

Q: Configuring dnsmasq to filter A or AAAA queries

Can I configure dnsmasq to respond to either ipv4(A) or ipv6(AAAA) queries only? I am using dnsmasq to forward queries from an internal subnet to a WAN connection. Unfortunately, sometimes I will only ...
0
votes
0answers
19 views

Rule for policy based routing not applying

My ISP doesn't give me a static public IP, so I've setup an openvpn connection to get one on my homeserver, and that is working fine for services running directly there. I'd also like to have a few ...
0
votes
0answers
38 views

Drupel 9, GD not enabled

I have for hours been attempting to set up a Drupel database, but have been stumped on this error message: "PHP extensions Disabled Drupal requires you to enable the PHP extensions in the ...
0
votes
0answers
14 views

Samba Network drive files corrupted

I have samba network share configured on AmazonLinux, With S3 as a backend storage for the drive, Samba drive path For ex: 192.0.0.1\Share\ (Path inside server /samba) S3 Bucket mount path (/samba/...
0
votes
0answers
210 views

ping: example.org: No address associated with hostname

I am facing a problem I cannot explain: If I do ping example.org I am getting the result ping: example.org: No address associated with hostname dig returns an empty result: dig example.org ; <&...

1
2 3 4 5
56