-
Connect to CoreOS shell then type:
sudo vi /etc/systemd/network/static.network
-
Set the static IP
[Match] Name=eth0 [Network] Address=10.0.0.16/24 Gateway=10.0.0.1 DNS=10.0.0.1
-
Apply the new network configuration:
sudo systemctl restart systemd-networkd
No comments:
Post a Comment