From 23bfc4b97ad7e862939f32b0baf4e9686cc0674f Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 28 Apr 2021 14:24:37 +0000 Subject: [PATCH] Use static IP address for dna-gw hosts These are running DHCP server for home.foo.sh network so prevent chicken/egg problems. --- host_vars/dna-gw01.home.foo.sh.yml | 4 ++++ host_vars/dna-gw02.home.foo.sh.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/host_vars/dna-gw01.home.foo.sh.yml b/host_vars/dna-gw01.home.foo.sh.yml index 5023553..d7c25b9 100644 --- a/host_vars/dna-gw01.home.foo.sh.yml +++ b/host_vars/dna-gw01.home.foo.sh.yml @@ -4,5 +4,9 @@ network_interfaces: - device: vio0 vlan: 20 mac: 52:54:00:ac:dc:01 + ipaddr: 172.20.21.1 + netmask: 255.255.252.0 + proto: static - device: vio1 vlan: 103 + proto: none diff --git a/host_vars/dna-gw02.home.foo.sh.yml b/host_vars/dna-gw02.home.foo.sh.yml index 880c054..fae4c34 100644 --- a/host_vars/dna-gw02.home.foo.sh.yml +++ b/host_vars/dna-gw02.home.foo.sh.yml @@ -4,5 +4,9 @@ network_interfaces: - device: vio0 vlan: 20 mac: 52:54:00:ac:dc:02 + ipaddr: 172.20.21.2 + netmask: 255.255.252.0 + proto: static - device: vio1 vlan: 103 + proto: none