Danke. Ich hab das jetzt mal probiert:
Server 1:
Code
1:
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses:
- 202.61.xx.xx/22
- …./64
gateway4: 202.61.xx.x
gateway6: ...
match:
macaddress: xx:xx:xx:xx:aa:d3
eth1:
addresses:
- 10.x.x.10/24
match:
macaddress: xx:xx:xx:xx:aa:d4
1: …
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether xx:xx:xx:xx:aa:d3 brd ff:ff:ff:ff:ff:ff
inet 202.61.xx.xx/22 brd 202.61.xx.xx scope global eth0
valid_lft forever preferred_lft forever
inet6 …./64 scope global
valid_lft forever preferred_lft forever
inet6 …/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether xx:xx:xx:xx:aa:d4 brd ff:ff:ff:ff:ff:ff
inet 10.xxx.xxx.10/24 brd 10.xxx.xxx.xxx scope global eth1
valid_lft forever preferred_lft forever
inet6 …./64 scope link
valid_lft forever preferred_lft forever
Display More
Server 2:
Code
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses:
- 202.61.xx.xx/22
- .../64
gateway4: 202.61.xx.x
gateway6: ...
match:
macaddress: xx:xx:xx:xx:a0:3b
eth1:
addresses:
- 10.xxx.xxx.20/24
match:
macaddress: xx:xx:xx:xx:a0:3c
1: ….
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether XX:XX:XX:XX:a0:3b brd ff:ff:ff:ff:ff:ff
altname enp0s3
altname ens3
inet 202.61.XX.XX/22 brd 202.61.XX.XXX scope global eth0
valid_lft forever preferred_lft forever
inet6 …./64 scope global
valid_lft forever preferred_lft forever
inet6 …./64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether XX:XX:XX:XX:a0:3c brd ff:ff:ff:ff:ff:ff
altname enp0s4
altname ens4
inet 10.xx.x.20/24 brd 10.xx.x.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 …./64 scope link
valid_lft forever preferred_lft forever
4:...
...
5...
...
...
---
** (generate:67382): WARNING **: 15:15:11.387: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.
** (generate:67382): WARNING **: 15:15:11.387: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
** (generate:67382): WARNING **: 15:15:11.387: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (generate:67382): WARNING **: 15:15:11.388: `gateway6` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.
** (process:67380): WARNING **: 15:15:11.787: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:67380): WARNING **: 15:15:11.788: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:67380): WARNING **: 15:15:11.788: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:67380): WARNING **: 15:15:11.788: `gateway6` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:67380): WARNING **: 15:15:12.135: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:67380): WARNING **: 15:15:12.135: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:67380): WARNING **: 15:15:12.135: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:67380): WARNING **: 15:15:12.135: `gateway6` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:67380): WARNING **: 15:15:12.135: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:67380): WARNING **: 15:15:12.135: Permissions for /etc/netplan/50-cloud-init.yaml are too open. Netplan configuration should NOT be accessible by others.
** (process:67380): WARNING **: 15:15:12.136: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:67380): WARNING **: 15:15:12.136: `gateway6` has been deprecated, use default routes instead.
Display More
Pings gehen durch
S1: Ubuntu 20.0.4
S2: Ubuntu 22.0.4