ich habe ein IP-Adressenproblem. Vorweg, meine IP-Adressen sind in diesem Artikel nicht die Echten, die Fehlermeldung aber sind die Tatsächlichen. Ich habe dieser Tage meinen Server (eine VM auf einem KVM-Host mit einer externen IP-Adresse 176.59.170.141) nach Bookworm geupgradet. Intern innerhalb des Host-Netzwerk hat er die IP-Adresse 192.168.1.141.
Die Netzkonfiguration sieht so aus:
Code: Alles auswählen
cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp1s0
iface enp1s0 inet static
address 176.59.170.141
netmask 255.255.255.255
pointopoint 78.6.75.155
gateway 78.6.75.155
dns-nameservers 192.168.1.1 213.133.100.100 9.9.9.9
dns-search example.com
# The intern network interface
allow-hotplug enp7s0
iface enp7s0 inet static
address 192.168.1.141/24
gateway 192.168.1.1
dns-nameservers 192.168.1.1 213.133.100.100 9.9.9.9
Code: Alles auswählen
ping 176.59.170.141
PING 176.59.170.141 (176.59.170.141) 56(84) bytes of data.
...
Code: Alles auswählen
root@mx ~ # ping 176.59.170.141
PING 176.59.170.141 (176.59.170.141) 56(84) bytes of data.
From 176.9.170.1: icmp_seq=2 Redirect Host(New nexthop: 176.59.170.141)
From 176.9.170.1: icmp_seq=4 Redirect Host(New nexthop: 176.59.170.141)
From 176.9.170.1: icmp_seq=7 Redirect Host(New nexthop: 176.59.170.141)
Code: Alles auswählen
root@mx ~ # ping 192.168.1.141
PING 192.168.1.141 (192.168.1.141) 56(84) bytes of data.
64 bytes from 192.168.1.141: icmp_seq=1 ttl=64 time=0.372 ms
64 bytes from 192.168.1.141: icmp_seq=2 ttl=64 time=0.645 ms
64 bytes from 192.168.1.141: icmp_seq=3 ttl=64 time=0.792 ms
64 bytes from 192.168.1.141: icmp_seq=4 ttl=64 time=0.897 ms
64 bytes from 192.168.1.141: icmp_seq=5 ttl=64 time=0.769 ms
^C
Viele Grüße
MPenzi