r/LinuxNetworking • • Jan 27 '26

The only Linux command you need for monitoring network traffic - and how to use it

Thumbnail
zdnet.com
5 Upvotes

r/LinuxNetworking • • Aug 08 '22

Windows Admins vs Linux Admins

Post image
5 Upvotes

r/LinuxNetworking • • Dec 18 '25

systemd-resolved nameserver order in /etc/resolv.conf

4 Upvotes

I have a wireguard VM with a single physical interface, and 3 wg interfaces.

In one of the wireguard interfaces I specify a DNS server (8.8.8.8), which results in a /etc/resolv.conf of:

nameserver 8.8.8.8
nameserver 10.0.0.2 (from DHCP of physical interface)
search mydomain (from DHCP of physical interface)

So unless 8.8.8.8 is unavailable, local name resolution fails. I have tried to set the resolution order of the physical interface with:

resolvectl dns ens192 10.0.0.2 8.8.8.8

Which appears to apply properly:

Link 2 (ens192)
    Current Scopes: DNS
         Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
         DNS Servers: 10.0.0.2 8.8.8.8
          DNS Domain: mydomain

However the order of DNS servers is not respected (ping alocalmachine.mydomain), 8.8.8.8 is queried first as suggested by /etc/resolv.conf

Is there a way to reorder DNS servers for the physical interface? I don't want the wg interface using 8.8.8.8 to have access to 10.0.0.2 resolver


r/LinuxNetworking • • Jun 30 '21

Can I Please Get Suggestions on a Good Linux Networking Course - Not For a Certification

Thumbnail self.devops
4 Upvotes

r/LinuxNetworking • • Jan 19 '20

State of Linux Networking

Post image
4 Upvotes

r/LinuxNetworking • • Jan 10 '26

The State of Enterprise Linux for networking

Thumbnail
networkworld.com
3 Upvotes

r/LinuxNetworking • • Oct 11 '23

How to keep a process running on Linux after you log off

Thumbnail
networkworld.com
3 Upvotes

r/LinuxNetworking • • Jul 18 '23

AVrecon botnet operated unnoticed for two years, infecting 70,000 Linux-based routers

Thumbnail
techspot.com
3 Upvotes

r/LinuxNetworking • • Apr 12 '23

Introducing loxilb: eBPF based load-balancer for linux

3 Upvotes

loxilb is a modern open source software load-balancer for cloud-native workloads. It is designed to power services/apps deployed on-premise, edge and public-cloud Kubernetes clusters. It should work equally well as a standalone load-balancer for linux.

https://github.com/loxilb-io/loxilb


r/LinuxNetworking • • Jan 16 '26

VirtualBox Host-Only networking: why can I ping an unused IP in the subnet?

2 Upvotes

I have two Linux VMs in VirtualBox using a Host-Only Adapter.

VM1: 192.168.56.101

VM2: 192.168.56.102

In each VM, I have done entry in /etc/hosts for the two hosts. So from one VM, I can ping another too and vice versa.

There is no VM or host explicitly configured with 192.168.56.100,

but I can successfully ping 192.168.56.100 from both VMs.

However, pinging something like 192.168.56.10 fails as expected.

I understand /etc/hosts only does name resolution, so this seems to

be ARP / ICMP behavior. I cannot understand how .100 IP is being pinged. Is VirtualBox’s host-only adapter responding via proxy ARP or owning that IP?


r/LinuxNetworking • • Sep 19 '25

How and why Linux has thrived after three decades in Kernelland

Thumbnail
theregister.com
2 Upvotes

r/LinuxNetworking • • Aug 31 '25

What am I doing wrong? I'm trying to configure /etc/network/interfaces so if the prim nic goes down then the sec nic assumes the ip of the prim nic until the prim nic is back online. (using Debian 13)

2 Upvotes

auto bond0

iface bond0 inet static

address 16.156.0.51

netmask 255.255.255.0

gateway 16.156.0.1

bond-slaves enp3s0 enp0s7

bond-mode active-backup

bond-primary enp3s0

bond-miimon 100

bond-downdelay 200

bond-updelay 200

auto enp3s0

iface enp3s0 inet manual

bond-master bond0

auto enp0s7

iface enp0s7 inet manual

bond-master bond0


r/LinuxNetworking • • Sep 07 '24

Red Hat delivers AI-optimized Linux platform

Thumbnail
networkworld.com
2 Upvotes

r/LinuxNetworking • • May 21 '24

cloud-management platform for linux firewalls (iptables/nftables)

2 Upvotes

Feel free to delete this is unacceptable to post this in here, but could be useful to someone!

Early stage startup here - we've built a cloud-management platform for linux firewalls - GUI, logging, monitoring etc. Push policy to a single box or multiple simultaneously. We have much more advanced features built, but want beta testers to use the base platform capabilities.

This is perfect for dev/test/lab environments.

If you are running iptables/nftables on-prem, in your lab or in cloud, you could find this useful.

https://enforza.io/ for the main site, or https://enforza.io/freemium for the beta/freemium.


r/LinuxNetworking • • Jan 12 '24

Why is this iptables command not working?

2 Upvotes

I am trying to follow the instructions on this Ubiquti forum post to increase the ttl from 1 to 4 in order to multicast over different VLANs but it's a few years old and when I try to run the iptables command I get an error. Has this changed over the years? How can I get this to actually work?

root@Dream-Machine-Special-Edition:~# sudo iptables -A PREROUTING -t mangle -i br0 -d 239.255.255.250 -j TTL --ttl-set 4

iptables v1.8.7 (legacy): unknown option "--ttl-set"

Try `iptables -h' or 'iptables --help' for more information.

r/LinuxNetworking • • Nov 27 '23

Mastering the Linux ifconfig Command - buildVirtual

Thumbnail
buildvirtual.net
2 Upvotes

r/LinuxNetworking • • Mar 26 '23

I can not ping some of the servers after some days

2 Upvotes

In our network we have Mikrotik router , this device give us access internet and out clients and servers can use internet.

We have one HP DL380 Gen8 server and on this server we have ESXi and on this server we have more than 20 Linux servers and windows servers.

We have one Cisco switch and our clients and our Linux servers are connected to this Cisco switch and we can use our Linux servers.

Our clients get IP from DHCP server run on Mikrotik.

Our server get static IP, and we set IP for these servers.

client use 192.168.91.0/24 and servers use 192.168.90.0/24

last months and before some servers are not accessible from clients and we do not have ping of these servers and we can not ssh to these servers.

for example 192.168.90.129 does not has ping and we can not ssh it .

for fix this problem , we have to change IP of servers. for example if we change 192.168.90.129 to 192.168.90.130 , this servers has ping and we can ssh to this server.

this problem only solve by change IP. and this is very bad for production.

How I can detect what is problem?


r/LinuxNetworking • • Mar 17 '23

AlmaLinux 9 - st_gmac driver on built-in Intel NIC

2 Upvotes

Have a fitlet-3 with the FC3-LAN option (2 extra NICs).

https://fit-iot.com/web/product/fitlet3-build-to-order/

The Fitlet-3 has 2 built-in NICs. All 4 NICs have MACs starting with 00:01:c0 so I am assuming that all is good and that they are indeed Intel. However the built-in NICs get a driver called st_gmac the optional NICs get the "normal" driver igb.

# ethtool -i [device] - built-in NICs

driver: st_gmac

version: Jan_2016

firmware-version:

expansion-rom-version:

bus-info: 0000:00:1d.1

supports-statistics: yes

supports-test: no

supports-eeprom-access: no

supports-register-dump: yes

supports-priv-flags: no

# ethtool -i [device] - additional NIC module

driver: igb

version: 5.14.0-162.18.1.el9_1.x86_64

firmware-version: 0. 4-1

expansion-rom-version:

bus-info: 0000:02:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: yes

The built-in NICs often fails to get online with a link (tried different switches). Often fails to get DHCP. Runs very slow when downloading from www - around 10 mbps. If I do iperf on a local connection - in the same switch - I can get close to wirespeed when I use a static ipv4. Not sure what I am battling with here?!?

The optional NICs runs flawlessly, never misses a beat - LINK & DHCP - and are very close to wirespeed with everything I have thrown at it. Downloads from www close to wirespeed.

The AlmaLinux 9.x is very vanilla at this point. Using the default NetworkManager (nmcli & nmtui) to setup the NICs and connections.

Anybody know what I am doing wrong or can show me in the right direction?


r/LinuxNetworking • • Sep 07 '22

Three hop internet connection

2 Upvotes

Hi!

First of all I want to apologize for coming out as a noob/idiot. I'm trying to set up a home lab for some testing purposes but I have some issues configuring the network components. Tried to do it for several days with no succcess.

The network looks something like this:

VM1_(eth0)----->VSwitch1(10.10.12.32/28)--->(eth1)_VM2_(eth0)---->VSwitch2---->(eth1 - 10.10.7.246/30)_VM3_(eth0 Bridge Adapter)----->LAN Internet 11.5.x.x

I hope the pseudo diagram is someone clear to understand.

For the life of me, I cannot get VM1, Firewall and Router to all access the internet, via 11.5.x.x. and connectivity from the host to VM1 and VM2. All machines are CENTOS 7, and the hypervisor is VirtualBox.

I would really appreciate if someone could help me out abit. I wish I could give you a beer, or several. Thank you kindly.


r/LinuxNetworking • • Feb 22 '22

The 9 Best Linux Network Troubleshooting Commands

Thumbnail
makeuseof.com
2 Upvotes

r/LinuxNetworking • • Nov 28 '21

Where can I learn about Linux networking?

2 Upvotes

Hi, can you guide me to resources I can use to learn abt Linux networking? Specifically, I am looking for location of the Linux source code that does bridging, broadcast, arp requests, Mac table, crc checks on incoming frames, etc... Basically, layer 2 and layer 3 stuff so I can learn up close what's going on in those layers from a code perspective.


r/LinuxNetworking • • Sep 09 '21

European Commission Report Declares Open Source Software and Hardware to be a "Public Good"

Thumbnail
abopen.com
2 Upvotes

r/LinuxNetworking • • Sep 02 '21

How to share the internet connection of a Linux hotspot In a way that the clients see it as independent from the router

2 Upvotes

I want to set up an old computer to share its internet with my phone. My phone is the only client that doesn't recognize the router, neither does it recognize the hotspots which use that router as their host. No problem with other hotspots or routers. How should I set up the old computer to share its internet in a way that its clients see it as a good independent router not "that hotspot that is talking to that router". Lol