Problem mit Internet Verbindung meim VM

DjBomberpilot

Member
May 24, 2021
44
1
8
37
Guten Tag zusammen,
ich habe ein kleines Problem.

Ich habe einen Linux Root Server bei Server4you

Proxmox ist installiert und ich kann darauf auch zugreifen .

Die VM bekommt nur kein Internet ich weis nicht warum könnt ihr mir vielleicht helfen?

wenn ihr weitere Informationen braucht von mir versuche ich die natürlich so schnell wie möglich zu beantworten ;-)
 
Wäre erst einmal wichtig was cat /etc/network/interfaces, cat /etc/resolv.conf und ip addr sagen.
Und was dir der Hoster für ein Gateway und eine öffentliche IP zugeteilt hat.
 
  • Like
Reactions: DjBomberpilot
ok kein problem ;-)

Infaces

# 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!

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 85.93.89.20
netmask 255.255.255.0
broadcast 85.93.89.255
gateway 85.93.89.1


# The primary network interface
iface eth0 inet static
address 85.93.89.20
netmask 255.255.255.0
broadcast 85.93.89.255
network 192.168.10.0
gateway 85.93.89.1

auto lo
iface lo inet loopback

auto ens33
iface ens33 inet static
address 192.168.0.45/24
gateway 192.168.0.1
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A PREROUTING -i ens33 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.0.0.2
post-up iptables -t nat -A PREROUTING -i ens33 -p udp -j DNAT --to 10.0.0.2

auto vmbr0
iface vmbr0 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/30' -o ens33 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/30' -o ens33 -j MASQUERADE

auto vmbr2
iface vmbr2 inet static
address 192.168.55.2/24
bridge-ports none
bridge-stp off
bridge-fd 0
#VM-Netzwerk

resolv

options rotate
options timeout:3
nameserver 80.237.128.56
nameserver 80.237.128.57
search startdedicated.de



die ip ist 85.93.89.20
Gateway 85.93.89.1
 
Wäre erst einmal wichtig was cat /etc/network/interfaces, cat /etc/resolv.conf und ip addr sagen.
Und was dir der Hoster für ein Gateway und eine öffentliche IP zugeteilt hat.
ok kein problem ;-)

Infaces

# 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!

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 85.93.89.20
netmask 255.255.255.0
broadcast 85.93.89.255
gateway 85.93.89.1


# The primary network interface
iface eth0 inet static
address 85.93.89.20
netmask 255.255.255.0
broadcast 85.93.89.255
network 192.168.10.0
gateway 85.93.89.1

auto lo
iface lo inet loopback

auto ens33
iface ens33 inet static
address 192.168.0.45/24
gateway 192.168.0.1
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A PREROUTING -i ens33 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.0.0.2
post-up iptables -t nat -A PREROUTING -i ens33 -p udp -j DNAT --to 10.0.0.2

auto vmbr0
iface vmbr0 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/30' -o ens33 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/30' -o ens33 -j MASQUERADE

auto vmbr2
iface vmbr2 inet static
address 192.168.55.2/24
bridge-ports none
bridge-stp off
bridge-fd 0
#VM-Netzwerk

resolv

options rotate
options timeout:3
nameserver 80.237.128.56
nameserver 80.237.128.57
search startdedicated.de



die ip ist 85.93.89.20
Gateway 85.93.89.1