junxnone / linux

Linux wiki
https://junxnone.github.io/linux/
0 stars 0 forks source link

Linux Yocto SetStaticIP #85

Open junxnone opened 5 years ago

junxnone commented 5 years ago

设置静态IP

Reference

Brief

# vi /etc/systemd/network/20-wired.network
[Match]
Name=enp1s0

[Network]
Address=10.1.10.9/24
Gateway=10.1.10.1
DNS=10.1.10.1
#DNS=8.8.8.8