Update network structure in prep for playbook overhaul

This commit is contained in:
Ethan Paul 2019-09-27 03:00:07 -04:00
parent dca25832c4
commit 1caa880cc1
3 changed files with 52 additions and 5 deletions

View File

@ -1,6 +1,33 @@
---
description: EN1 Core Router
ansible_network_os: edgeos
targets:
- admin
- network
network:
ethernet_eth0:
address: dhcp
description: UPLINK
extra:
- duplex auto
- speed auto
ethernet_eth1:
address: 10.42.100.1/24
description: PUBLIC
extra:
- duplex auto
- speed auto
ethernet_eth2:
address: 10.42.101.1/24
description: PRIVATE
extra:
- duplex auto
- speed auto
ethernet_eth2_vif_10:
address: 10.42.102.1/24
description: SECURE
extra:
- mtu 1500

View File

@ -1,3 +1,4 @@
[network]
router.net.enp.one
[servers]

View File

@ -1,8 +1,27 @@
---
domain: net.enp.one
gateway: router.net.enp.one
router:
address: router.tre2.local
static_dhcp:
server: DOMAIN
dhcp:
- name: PUBLIC
subnet: 10.42.100.1/24
dns: 10.42.100.1
domain: tre2.local
lease: 21600
start: 10.42.100.26
stop: 10.42.100.254
- name: DOMAIN
subnet: 10.42.101.0/24
dns: 10.42.101.1
domain: net.enp.one
lease: 21600
start: 10.42.101.100
stop: 10.42.101.254
- name: SECURE
subnet: 10.42.102.0/24
dns: 10.42.102.1
domain: net.enp.one
lease: 3600
start: 10.42.102.50
stop: 10.42.102.254