-
[CoreOS] 네트워크 설정CoreOS 2017. 1. 28. 13:16
Network Configuration
네트워크 설정 가이드
https://coreos.com/os/docs/latest/network-config-with-networkd.html
https://github.com/coreos/docs/blob/master/os/network-config-with-networkd.md
Static IP Configuration
#cloud-config coreos: units: - name: 00-eth0.network runtime: true content: | [Match] Name=eth0 [Network] DNS=1.2.3.4 Address=10.0.0.101/24 Gateway=10.0.0.1
Multi IP Configuration
#cloud-config coreos: units: - name: 20-multi_ip.network content: | [Match] Name=eth0 [Network] DNS=8.8.8.8 Address=10.0.0.101/24 Gateway=10.0.0.1 Address=10.0.1.101/24 Gateway=10.0.1.1