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.
3,344
questions
0
votes
0
answers
13
views
How to correctly route the packets through host and namespaces?
I am trying to route the packets from Client [Host], through namespaces [Demo0 -> Demo1], to Server [Host]. The packets should be routed to tun device 10.0.3.2, from where the black-box process ...
0
votes
0
answers
27
views
Multiple wireguard interfaces with the same IP
Client IP: 10.1.1.100; Server IP: 10.1.1.101
Is it possible to have 1000 Wireguard interfaces on a client VM with
Same IP address attached to all interfaces
Different listening ports
Same Endpoint IP,...
1
vote
0
answers
36
views
Any way to to add more than one IP at a time using "ip addr add"?
Is there any way to do this?:
ip addr add 2b00:13d8:700d:b8cf:cd8:15da:3b72:c792/64 2b00:13d8:700d:30fb:c60:a08e:225a:7073/64 2b00:13d8:700d:30fb:c60:a08e:225a:8a23/64 dev eth0
One IP works but I can'...
0
votes
0
answers
11
views
Unstable TCP_STREAM Throughput with Netperf on Raspberry Pi - High Send-Q Values
I'm using Netperf on a Raspberry Pi to send TCP_STREAM data to a server with a message size of 1024 bytes. However, I'm experiencing irregular throughput, where it fluctuates between high and low ...
0
votes
1
answer
29
views
Netplan one NIC to access a specific IP, another NIC for the remaining traffic to the Internet
I have an Ubuntu 22.04 server with two network interfaces:
(enp0s31f6) connected to a Firewall of a private network with output only to the ip 11.162.66.209
(enp6s0) connected to a 4G router output ...
0
votes
0
answers
48
views
RTNETLINK answers: Invalid argument for IPV6 route add
My ISP provided me a leaseline with static IPV6 address, my side is A:B:C:41::2 and the oppsite side is A:B:C:41:1. And also they provided the IP set A:B:C:42:: for the users.
All users are using ...
1
vote
0
answers
58
views
Nginx Proxy, Cloudflare Full SSL, and Load Balancer Redirection Loop?
I'm facing an issue with a redirection loop when using Nginx as a reverse proxy in front of my load balancer. My setup is as follows:
Domain: aarohisilks.com DNS: Cloudflare, A record pointing to my ...
1
vote
0
answers
56
views
How to set up REDbox functionality using Parallel Redundancy Protocol on linux?
I am trying to create a Redbox functionality on a Linux box with three interfaces using PRP redundancy feature. I was able to configure the PRP and am able to verify that it works when the initiation ...
1
vote
0
answers
55
views
Poor network bandwidth on a point to point connection between 2 linux machines with Mellanox ConnectX-6 cards
For both machines:
Ubuntu 20.04
Mellanox MT28908 ConnectX-6 cards in ethernet mode
Kernel module: mlx5_core (from MLNX_OFED_LINUX-24.04-0.6.6.0-ubuntu20.04-x86_64)
The ConnectX-6 cards are directly ...
0
votes
0
answers
36
views
HTTP server is not responding From Outside although firewall is inactive
I have a VPS which has Ubuntu 20.04. When I request the server from inside(when I have active shell) using http -vv GET http://216.10.242.221 it gives proper response. But when I request from outside (...
0
votes
0
answers
56
views
icmp echo reply not sent over wireguard tunnel
I just setup a Wireguard instance on an opnsense firewall with a public IP. I set this up by following the Opnsense Road Warrior Wireguard guide.
The issue that I am running into is that icmp echo ...
7
votes
2
answers
901
views
How to temporarily disable a primary IP without losing other IPs on the same interface
Context
I am working on Centos 7 and I have a network interface eth0 configured with multiple fixed IP addresses (I am only concerned about the IPv4 addresses here, I do not care what happens to the ...
1
vote
0
answers
31
views
DHCP is adding a route to the gateway: is it necessary?
My server is configured via DHCP using the following routes:
default via 10.10.10.1 dev ens3 proto dhcp src 10.10.10.2 metric 100
10.10.10.1 dev ens3 proto dhcp scope link src 10.10.10.2 metric 100
...
0
votes
1
answer
159
views
ip6gre tunnel ignores source device?
I'm trying to set up an ip6gre tunnel on Ubuntu with kernel 6.5.0-35-generic #35~22.04.1-Ubuntu and iproute2 5.15.0-1ubuntu2.
I ran into bugs with netplan and systemd-networkd (sigh) so I figured I'd ...
0
votes
1
answer
75
views
Nat PREROUTING chain unable to route packets to loopback interface
I have a service running on 127.0.0.1:3000, I want to forward any packets arriving on eth28 to that service.
I created a dummy interface on my machine.
$ ip link add eth28 type dummy
$ ip addr add 10....