hab die /etc/network/interfaces wie folgt abgeändert
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp1s12
iface enp1s12 inet static
address 192.168.2.0
gateway 192.168.2.1
# This is an autoconfigured IPv6 interface
iface enp1s12 inet6 auto
# The primary network interface
auto enp1s7
iface enp1s7 inet static
address 192.168.3.0
gateway 192.168.3.1
# This is an autoconfigured IPv6 interface
iface enp1s7 inet6 auto
ifconfig -a erzeugt folgende ausgabe
Code:
enp1s7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.3.0 netmask 255.255.255.0 broadcast 192.168.3.255
inet6 fe80::3e49:37ff:fe17:ea0c prefixlen 64 scopeid 0x20<link>
ether 3c:49:37:17:ea:0c txqueuelen 1000 (Ethernet)
RX packets 38358 bytes 2595218 (2.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 573092 bytes 859312843 (859.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp1s12: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.0 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 2003:e7:bd8:2e05:20b:dbff:fe41:3474 prefixlen 64 scopeid 0x0<global>
inet6 fe80::20b:dbff:fe41:3474 prefixlen 64 scopeid 0x20<link>
ether 00:0b:db:41:34:74 txqueuelen 1000 (Ethernet)
RX packets 4351 bytes 403742 (403.7 KB)
RX errors 0 dropped 376 overruns 0 frame 0
TX packets 364 bytes 50818 (50.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Lokale Schleife)
RX packets 5116 bytes 308152 (308.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5116 bytes 308152 (308.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
und es läuft. server ist aus beiden netzwerken erreichbar. Thx for help