25 lines
832 B
YAML
25 lines
832 B
YAML
---
|
|
# By defining networks here, the named networks can be used to configure
|
|
# network interfaces on the nodes. The node network definitions are
|
|
# enriched with information from this configuration.
|
|
#
|
|
# Each network can have a property "segments", containing a list of segment
|
|
# names. These are logical segements, which are used to setup firewall rules
|
|
# on the correct interfaces / IP-addresses, without requiring that every
|
|
# logical segment always uses its own network/interface (e.g. on development,
|
|
# there is no difference between the mgmt and public segment, so these
|
|
# are attached to the same network/interface.)
|
|
|
|
networks:
|
|
demo:
|
|
network: 192.168.56.0
|
|
gateway: 192.168.56.1
|
|
netmask: 255.255.255.0
|
|
dns:
|
|
- 192.168.56.1
|
|
interface: if-demo
|
|
segments:
|
|
- mgmt
|
|
- public
|
|
- hostname
|