Open miyo opened 4 years ago
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses:
- 192.168.2.200/24
gateway4: 192.168.2.1
nameservers:
addresses: [192.168.2.1]
search: [local]
netplan generate
The command generates the followings.
networking
and enable systemd-networkd
$ systemctl disable networking
$ systemctl enable systemd-networkd.service
In order to access ZYBO Z7-20 without setting IP address manually, it is better to add a static IP address for eth0 as default in creating root file system.