title: “Network Configuration CoreOS”
date: 2016-03-24T12:21:58
slug: network-configuration-coreos
Network configuration is stored in:
/etc/systemd/network
Create a bridge:
vi 5.netdev
[NetDev]
Name=docker0
Kind=bridge
Configure ens3 as bridge interface
vi 10-ens3.network
[Match]
Name=ens3
[Network]
Bridge=docker0
Configure Bridge Interface
vi 15-br.network
[Match]
Name=docker0
[Network]
Address=10.86.0.27/23
Gateway=10.86.0.250
[Route]
Gateway=10.86.0.1
Destination=10.0.0.0/8
[Route]
Gateway=10.86.0.1
Destination=172.16.0.0/12
[Route]
Gateway=10.86.0.1
Destination=192.168.0.0/16
Configure static Nameserver
vi resolved.conf
[Resolve]
DNS=8.8.8.8
#FallbackDNS=
#LLMNR=yes
