No Internet over Ipv4

TGHD | Elias B.

New Member
Mar 27, 2022
2
0
1
A few days ago i buyed more Ipv4 Addresses and since then, all my LXC´s and with the old and the LXC´s/on Windoof VM are without Internet. I already checked my DNS Settngs, but i found no errors. If i try to ping 8.8.8.8 or any ipv6 adress/domain i get a respond. But with ipv4 not.
I already restarted/recreated on LXC/the windoof vm and i tried to restart the node. Still same Issue.

Does anyone know, what the problem could be?
 
Hey,

* 8.8.8.8 is an IPv4 address, do you have a local DNS server set up?
* Do your VMs/CTs all have public IPs, how is your network set up?
* Could you post the output of cat /etc/network/interfaces (might contain public IPs, so blur them if necessary)?
* Does it work from PVE itself?
 
I rent a Dedicated Server with Proxmox and additional IP´s. The Proxmox Webinterface works finde. Only a small problem with apt update/upgrade. Because I forgot to change a setting. I don´t have a local DNS Server
Form the Host itself:
Bash:
root@blu2147:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 45.89.125.66/23
        gateway 45.89.124.1
        bridge-ports enp4s0
        bridge-stp off
        bridge-fd 0

Form one of the broken LXC´s:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 5.182.206.65/23
        gateway 5.182.206.1

iface eth0 inet6 static
        address 2a0f:0580:7:1::e002/64
        gateway 2a0f:0580:7:1::1

I hope this will help you.