network/salt-pillar/vlans/init.sls

26 lines
534 B
Plaintext
Raw Normal View History

2016-11-06 02:49:56 +01:00
vlans:
2016-12-12 23:01:49 +01:00
# switches and CPE only have IP addresses configured in the management vlan
2016-11-13 03:19:54 +01:00
mgmt: 1
2016-12-12 23:01:49 +01:00
# routers, OSPF area 0
2016-11-13 03:19:54 +01:00
core: 2
2016-12-12 23:01:49 +01:00
# servers...
2016-11-13 03:19:54 +01:00
serv: 3
2016-12-12 23:01:49 +01:00
# ZW public
2016-11-13 03:19:54 +01:00
pub: 4
2016-12-12 23:01:49 +01:00
# C3D2 home network
c3d2: 5
2021-03-07 20:16:03 +01:00
cluster: 6
2020-04-05 00:36:57 +02:00
bmx: 7
2016-12-12 23:01:49 +01:00
# Modems
{%- for i in range(1, 5) %}
2021-02-10 18:14:06 +01:00
up{{ i }}: {{ i + 9 }}
{%- endfor %}
2016-12-12 23:01:49 +01:00
# Neighbor subnets
2021-02-10 18:14:06 +01:00
{%- for i in range(1, 62) %}
priv{{ i }}: {{ i + 39 }}
{%- endfor %}
2016-12-12 23:01:49 +01:00
# Isolated neighbors directly connection with their modems
2021-02-10 18:14:06 +01:00
{%- for i in range(1, 17) %}
iso{{ i }}: {{ i + 100 }}
{%- endfor %}