Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
16 views

Router [ER-X] as WireGuard Client to hide Office IP on Debian Server. Cannot bind to WireGuard IP from the server

Dear ServerFault community I have a problem with my WireGuard Tunnel overall configuration. I have an OVH VPS with 4 public IPs (MY_PUBLIC) acting as a WireGuard server and forwarding all the traffic (...
user avatar
  • 11
0 votes
0 answers
8 views

routing connection trough bridge to a gsm modem

I have a linux box with gsm modem on interface wwan0 which is managed by network manager, and I want to give it a static ip, the idea is to use a bridge and a veth interface with set ip address. I'm ...
user avatar
  • 1
0 votes
0 answers
7 views

Figure out ways to forward traffic through proxy for Home network from external 3rd party

I noticed all my traffic goes through one ip address which seems a proxy and this proxy is not set up neither by me or my provider (I contacted them on this issue). I want to figure out who and how ...
user avatar
  • 1
1 vote
0 answers
22 views

VXLAN L3 over Wireguard L3, with VLAN-VNI Mapping

Hoping this is the right place - I originally posted on Network Engineering but it got closed and I was pointed to Server Fault. I am currently attempting to setup a L2 bridge between two sites using ...
user avatar
0 votes
0 answers
28 views

Can't connect ssh via wireless interface but t works using eth0

Suddenly I can't connect via ssh to a server using my wireless interface but I can do it using the eth0 interface with a cable connected directly to my router. From my wireless interface I got: $ ssh -...
user avatar
  • 101
0 votes
0 answers
22 views

nginx and httpd. (99: Cannot assign requested address)

i have a dedicated not managed server and use centos7 as OS, after a reboot and a new secondary ssd on my server, the httpd and nginx services no longer start. the ips configuration was not touched ...
user avatar
  • 101
0 votes
0 answers
31 views

ICMP TTL exceeded replies with destination IP from NAT router

I'm playing with nftables and observe strange behaviour which I cannot explain. I have three VMs, source, router and destination. All run latest Oracle EL 8.5 and are configured via nft. source has ...
user avatar
  • 1
0 votes
0 answers
25 views

Iptables redirection to main proxy after filter on local proxy

I manage a subnet linked to an Institutional network (IN). Internet access from my subnet is through a proxy with credentials (they are not related to the users of my domain) in the IN. I need to ...
user avatar
0 votes
1 answer
27 views

Setting cgroup limits to all users in network

I have a FreeIPA user authentication set up. There are many users in the system already, along with many host systems (configured IPA clients). I want to set up cgroup restrictions on the tasks these ...
user avatar
0 votes
0 answers
23 views

Netplan doesn't delete bond interface when removed from config

I have a working bond config, set via Netplan Example, netplan config: network: bonds: bond0: addresses: [10.10.10.135/26] gateway4: 10.10.10.128 interfaces: [ens1f0, ens1f1] ...
user avatar
  • 180
0 votes
0 answers
13 views

What would cause my IPv6 connectivity to keep dying, with a reboot fixing it each time?

Centos 8 Stream When I first boot my server up, ipv6 works fine. I can ping another ipv6 address without issue. A few (10?) minutes later, it stops working. Rebooting the box fixes it, but I can't ...
user avatar
  • 1,034
0 votes
0 answers
9 views

Random unexpected connection errors while fetching data

I am having a really weird problem with my VPS (Centos 7) for the last 2 days. I have an application where I fetch data from dozens of 3rd party websites. For the past 2 years everything was working ...
user avatar
  • 1
2 votes
1 answer
16 views

CentOS 7 startup error - unregistered net_device

I see these errors upon startup of my CentOS 7 server. It has a Solarflare SFN8542 adapter. How can I fix this? I am pretty new to Linux.
user avatar
  • 261
0 votes
0 answers
27 views

Use iptables and nftables together

Is it possible to use nftables and iptables together? How can I give iptables rules higer priority than nftables. As I am using nftables for nat and iptables to drop traffic by matching hex & ...
user avatar
  • 1
-1 votes
0 answers
22 views

Router Dropping Packets

I'm seeing a strange issue with a wired connection to a router on the LAN, where TCP traffic is dropped and logged as a fragmented packet. Scenario has MTU set at 1500 on network clients and on router ...
user avatar
  • 1
0 votes
1 answer
11 views

UDP broadcast with nc not received (Ubuntu)

I'm trying to understand UDP broadcasting, and running into some trouble. 1 - Running a server like this nc.traditional -l -u 10.0.0.253 -p 65001 2 - Sending stuff from the client like this - on the ...
user avatar
0 votes
2 answers
75 views

Ubuntu 22.04 - Intel X550 - Run a pre-up command to set ethtool network interface parameters at startup

Following the question at: https://askubuntu.com/questions/1406445/ubuntu-22-04-server-intel-x550-advertised-speed-not-correct I need to run a command at startup so that the necessary changes are ...
user avatar
  • 5
0 votes
0 answers
20 views

Route between two interfaces

i have two interfaces l2tp1(L2TP) and vti64 (vpn ipsec). L2TP client can not see vti64 (vpn ipsec) network. How to make route between two interfaces ?
user avatar
  • 1
0 votes
0 answers
21 views

wget timeout after updating Debian from buster to bullseye

After the update from Debian Buster to Bullseye I can't use wget anymore. Curl is working fine. I have timeouts and the file couldn't be downloaded or it takes a very long time or retries. root@...
user avatar
0 votes
1 answer
33 views

Nginx not listening at local address

When I go to localhost on my pc, I can connect, but when I go to my router's public ip on the host pc, the page gets timed out. It works on my phone and I am able to see the website. Here is my nginx ...
user avatar
-2 votes
0 answers
22 views

Does Network Card slow down when there are a lot requests

App1 makes 100k+ requests/minute. App2 on same PC/different CPU core, occasionally doing some requests. The bandwidth is 10Gb/s both NIC and network and is not a problem here. Would App2 experience a ...
user avatar
0 votes
0 answers
29 views

DNS query failed for degrading feature set?

# env $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic $ systemd-resolve --vers systemd 237 +PAM +...
user avatar
  • 101
0 votes
0 answers
22 views

booksonic-air docker container Connection reset by peer

I've just installed booksonic-air through docker compose and when running curl http://127.0.0.1:4040 i get Connection reset by peer error. Docker container looks like listening to 0.0.0.0 address so I ...
user avatar
  • 478
0 votes
0 answers
41 views

DHCP pushed route to custom table on Linux

Is there a way I can direct routes that I receive from DHCP to a specific routing table depending on what interface it was received on? E.g. eth0 and eth1 are both configured by DHCP. I would like the ...
user avatar
  • 1
1 vote
2 answers
66 views

Linux ping between 2 network namespaces

Quiet new to Linux networking and couldn't find an answer for it on similar questions Trying to create 2 namespaces and ping between them ip netns add red; ip netns add blue; ip link add dev v-red ...
user avatar
0 votes
1 answer
32 views

NetPlan: multiple IPs with multiple gateways

I'm trying to add additional IPs linked to different gateways to my server. I'm following the example for, "Using multiple addresses with multiple gateways" from netplan.io/Examples Invalid ...
user avatar
0 votes
0 answers
39 views

How to bridge only IPv6 and drop all IPv4 traffic on a Linux bridge wiith NFT?

Currently, we have a network where apps on host and VMs are connected together and all VMs are behind the NAT as below ||=> Host ISP Router => enp1s0 |--> ...
user avatar
0 votes
1 answer
49 views

Accessing a server-side VLAN through OpenVPN

I am a networking noob and could use some help. I am trying to set up a TAP connection using OpenVPN to access devices that are on a VLAN on my remote server. Right now, I can connect and ping the ...
user avatar
0 votes
1 answer
46 views

Cannot access docker container from outside the OS that is running it

I'm not an heavy user of Unix based systems. And I have some trouble opening a server's port (80) to the public and redirect it to a running container. So basically, I have a running container on a ...
user avatar
  • 103
0 votes
1 answer
35 views

Routing traffic from a bridge to a specific interface

Fundamental question about routing in Ubuntu 20.04. I have a baremetal setup in Hetzner which has an 11.22.33.44/32 IPV4 address along with 2a01:db8:30/64 subnet allocated to it. enp7s0 is the ...
user avatar
0 votes
1 answer
29 views

Firewall / Ip rule issues between two hosts via vSwitch

I have two servers in play here, one is a Qemu VM host, the other being a storage box of sorts. They are hetzner machines, and I have them connected via a vSwitch. Server1 vSwitch interface: 3: local@...
user avatar
0 votes
0 answers
12 views

Cant Acces Server

I backed up the ifcfg-em1 configuration to ifcfg-em1.old, will the system read both of them?. When I restart the network service, the old and new ip are showed in 'ip addr' command, I cant ping and ...
user avatar
  • 1
0 votes
0 answers
27 views

Preserve base URL for a proxied NGINX location

I've got an NGINX config as follows: server { listen 80; server_name _; location = / { proxy_pass https://server-2.alice.com/; proxy_redirect off; ...
user avatar
  • 101
0 votes
0 answers
21 views

No TX / RX information on bond interface

I create a bond interface with two members, eth1 and eth2. Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (round-robin) MII Status: up MII Polling Interval (ms):...
user avatar
0 votes
1 answer
54 views

systemd-resolve resolves incorrectly inside a network namespace

I have an Ubuntu machine with a network namespace (ns1) connected to the host network namespace via veth. I created a MASQUERADE rule in iptables to access the internet and I can ping 8.8.8.8 from the ...
user avatar
0 votes
1 answer
38 views

saving ip config persistent with nmcli or something equal?

I am using RocksLinux where I set up my IP addresses by hand with the standard command "IP" and "IP -6" for my IP version 4 and 6 addresses. Now I want to save with NetworkManager, ...
user avatar
  • 121
0 votes
0 answers
55 views

Cannot connect macvlan to the internet

When I tried to connect macvlan to the internet and it was not successful. I used namespace to accomplish that. I also checked the comments on this question - How to connect macvlan to the internet? I ...
user avatar
  • 1
0 votes
0 answers
52 views

Access to VM using KVM bridged network interface inside company network not working outside of room LAN

I work at an institute so as you can imagine we have the typical proxy, AD, DNS and so on in place. My group is looking into transitioning to Linux for our servers (containing several GPUs for various ...
user avatar
0 votes
0 answers
42 views

Site-to-Site VPN and Remote Access VPN with Strongswan

I've recently deployed a Strongswan IKEv2 Remote Access VPN in two different sited with two different ubuntu servers. It all works great, but now i want to "merge" the two sites with a site-...
user avatar
0 votes
0 answers
24 views

Host with bridge cannot ping other subnets

I'm having some trouble with my server. I set up a a bridge interface to use with my virtual machines, everything is working fine except for when I try to ping devices on a different subnet. I get a &...
user avatar
  • 1
0 votes
0 answers
58 views

Routing does not work

I have two interfaces wan0 and wg0. The routing table looks like this: ::1 dev lo proto kernel metric 256 pref medium 2a0c:xxx:yyy:zz00::/56 dev wg0 proto static metric 20 pref medium 2a0c:xxx::/32 ...
user avatar
-1 votes
1 answer
20 views

DNS A record host pointing itself

Ok, so I have done a really stupid thing, Basicly I pointed the A record host to itself, of course what I intended to do wasn't working doh. And I changed the host to "@". BUT i was ...
user avatar
0 votes
1 answer
52 views

Only getting 25Gb/s instead of 100Gb/s from a Mellanox switch running Cumulus Linux

I have a Mellanox 100gb/s switch (running Cumulus Linux 4.1) that I use for connecting multiple servers, each with a Mellanox ConnectX 5 100gb/s card. These servers connect to the switch via a DAC ...
user avatar
  • 485
0 votes
0 answers
50 views

Soft-RoCE (RDMA over converged ethernet) over bonded ethernet interfaces?

I am having a hard time finding any information at all about wether it's possible to use the Linux Kernel RXE driver (software RDMA over converged ethernet) with bonded ethernet interfaces (using ...
user avatar
  • 1
1 vote
1 answer
26 views

Why is traffic routed between different veth devices?

I have a problem: there is unexpected route path between virtual network devices. Let's create two independent veth-peer device pairs: $ sudo ip link add veth0 type veth peer name peer0 $ sudo ip link ...
user avatar
  • 113
1 vote
1 answer
87 views

How to refresh set element timeout in nftables?

How do I refresh a set element's timeout/expires value with nft before it is expired? Adding an existing element to the set does not reset the timeout/expires value: nft add element ip mytable myset { ...
user avatar
0 votes
0 answers
10 views

iptables, which rules do I need for a full round trip of DNATed request + reply

I am trying to understand iptables and want to make a simple test in my home network. I want to access some website running on an RPI, while accessing it through my ubuntu desktop. NOTE: I am allowing ...
user avatar
  • 133
0 votes
0 answers
35 views

NAT port to internal node

We are working with a PLC (phoenix plc next) which connects to a profinet (and profibus) network. Due to lack of tooling and being unable to rewire things to our needs (the PLC is integrated in our ...
user avatar
  • 133
0 votes
1 answer
110 views

Two tap device can't communicate over bridge

I want to exchange Ethernet Packet between two tap device(for implementing TCP/IP protocol stack in usermode). The problem I encountered is that tap1 and tap2 only can receive broadcast packet through ...
user avatar
0 votes
1 answer
27 views

NTP Traffic, but NTP not installed

I have recently started with OPNSense and have limited outgoing traffic to HTTP/s, SSH ports. When analyzing my blocked traffic i found sporadic outgoing NTP-Requests from my local Linux machine. I am ...
user avatar

1
2 3 4 5
61