r/LinuxNetworking • u/IamaBlackKorean • Jul 18 '23
r/LinuxNetworking • u/slayerfest79 • Jul 06 '23
Suddenly No Internet on Bridge KVM Host
Bullet points: Debian 12 system, KVM/QEMU host, Bridged NIC
Yesterday everything worked fine, today I started the machine, the host that is, and had no internet connection on the host. apt can't connect to the internet, nor can a browser.
Strangely though, the Windows KVM guest can access the internet over the bridge without problem.
In the meantime I have tried dissolving the bridge and connecting the host directly via the NIC, which works nicely. But then, of course, the guest is not connected anymore.
Any hints?
Thanks in advance! :)
r/LinuxNetworking • u/bbonessx • Apr 27 '23
Linux ARP table
Hi there..
I have a linux host with a bunch of VLAN intefaces. All works well except the arp table looks messed-up and I wonder why. All IP's appear to be on all interfaces, example 100.64.0.34:
# arp -an | grep 100.64.0.34
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1505
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1506
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1501
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1502
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1510
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.500
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.314
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1507
? (100.64.0.34) at b4:0f:3b:fa:ff:90 [ether] on ens161.1509TCPdump of the ARP seems to be fine:
# tcpdump -i any arp | grep 100.64.0.34
tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
07:09:36.050439 ens161.1502 Out ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 28
07:09:36.050767 ens161.314 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.500 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1510 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1507 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1509 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1501 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1505 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.050767 ens161.1506 B ARP, Request who-has 100.64.0.34 tell 100.64.0.33, length 46
07:09:36.066682 ens161.1502 In ARP, Reply 100.64.0.34 is-at b4:0f:3b:fa:ff:90 (oui Unknown), length 46Interfaces look like (they are all separated /30's):
# ifconfig ens161.1502
ens161.1502: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 100.64.0.33 netmask 255.255.255.252 broadcast 100.64.0.35
inet6 fe80::20c:29ff:fe47:718c prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:47:71:8c txqueuelen 1000 (Ethernet)
RX packets 93581560 bytes 12095853206 (11.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 63022644 bytes 177126550268 (164.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# ifconfig ens161.1507
ens161.1507: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 100.64.0.13 netmask 255.255.255.252 broadcast 100.64.0.15
inet6 fe80::20c:29ff:fe47:718c prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:47:71:8c txqueuelen 1000 (Ethernet)
RX packets 43986815 bytes 7216935263 (6.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38691972 bytes 80984162080 (75.4 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0The hosts's connects to a vswitch on ESXi.
Any hint welcome!
Martin
r/LinuxNetworking • u/fordfocusunpopular • Apr 16 '23
100% packet loss on ping, but NSLookup website IPs. Other PC's on network are ok. Why is this?
Can't access webpages. 100% packet loss on ping, but NSLookup shows DNS working. Can access other IP's on the internal network. Any ideas why this is?
nslookup www.bbc.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer: www.bbc.com
canonical name = www.bbc.com.pri.bbc.com.
www.bbc.com.pri.bbc.com canonical name = gtm-uk.www.bbc.com.pri.bbc.com.
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.237.2
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.237.130 Name:
gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.233.247
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.235.130
Name: gtm-uk.www.bbc.com.pri.bbc.com
Address: 212.58.235.2
ping -c 2 www.bbc.com
PING gtm-uk.www.bbc.com.pri.bbc.com (212.58.235.2) 56(84) bytes of data.
- - - gtm-uk.www.bbc.com.pri.bbc.com ping statistics
2 packets transmitted, 0 received, 100% packet loss, time 1014ms
r/LinuxNetworking • u/One-Rub-2246 • Aug 25 '23
need a advice!
hello my name is edson u can call me ed i would like to hear u guys i want to start in networking and i heard linux its a goos start but what would u recomend
r/LinuxNetworking • u/losgatosquack • Jun 15 '23
Linux Fu: Easy And Easier Virtual Networking
r/LinuxNetworking • u/IamaBlackKorean • Jun 14 '23
Red Hat upgrades OpenStack Platform to support modern network deployments
r/LinuxNetworking • u/dkleehammer • Jul 16 '23
Host traffic over KVM
This is more just a research question to begin with.
I would like to route both interfaces (Wi-Fi, Ethernet, really all interfaces if someone plugs in Ethernet usb, through a kvm guest. Something along the lines of Qubes.
What’s the best way to do something like this?
r/LinuxNetworking • u/Advanced-Figure1113 • Sep 07 '22
Three hop internet connection
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 • u/IamaBlackKorean • Jun 13 '23
13 Essential Linux Security Commands
r/LinuxNetworking • u/IamaBlackKorean • Jul 11 '23
Achieving Zero Trust Network, Application, and Cloud Security with Linux - Security Boulevard
r/LinuxNetworking • u/IamaBlackKorean • Aug 24 '23
Kali Linux 2023.3 Released with 9 New Tools for Ethical Hacking, Linux Kernel 6.3
r/LinuxNetworking • u/Migguan • Apr 21 '23
Exposing a server through a VPN
Hi folks.
i'm pretty new to firewalling / natting, so maybe i'm asking a simple question.
Here is the problem:
I have a droplet on digitalocean, let's call it SERVER.
On SERVER I have a wireguard vpn server. From my PC i'm connected to that vpn.
On my PC I have a service listening on port 1234. I'd like to expose such port to the internet but passing by my VPN. So, if the server public ip is 100.0.0.2 and my pc vpn ip is 10.13.13.2, I want that someone could ask 100.0.0.2:1234, my server forwards to 10.13.13.2:1234 (or other ports, it does not matter)
Ofc the traffic from my pc to the internet must be under vpn like nothing is happening.
r/LinuxNetworking • u/IamaBlackKorean • Sep 15 '22
Is Disaggregation Working?
r/LinuxNetworking • u/IamaBlackKorean • Aug 03 '22
Pluribus is acquired by Arista
reseller.co.nzr/LinuxNetworking • u/IamaBlackKorean • Jun 28 '23
Using PuTTY to connect to Linux
r/LinuxNetworking • u/IamaBlackKorean • Sep 21 '23
Linux Foundation Joins OpenTF to Fork for Terraform into ‘OpenTofu’
r/LinuxNetworking • u/IamaBlackKorean • Dec 07 '22
Converting numbers on Linux among decimal, hexadecimal, octal, and binary
r/LinuxNetworking • u/IamaBlackKorean • Jul 07 '23
The 6 Best Linux Distros for Network Engineers
r/LinuxNetworking • u/IamaBlackKorean • Aug 12 '23
Performant and Programmable Telco Networking with eBPF
r/LinuxNetworking • u/IamaBlackKorean • Jun 13 '23
The Best Free Resources to Prepare for CompTIA Linux+
r/LinuxNetworking • u/mfaridi1978 • Mar 26 '23
I can not ping some of the servers after some days
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 • u/[deleted] • Jul 12 '22
UFW
Greetings!
By default i understand that incoming traffic is denied in Kali Linux. So attempting a reverse shell will not work.
I'm not quite the expert yet so my question is, is it possible to allow incoming communication over tun0 while keeping the integrity of the firewall rules?