summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/netplan/r3-with-lan.yaml.j2
blob: 275ef95310b2c7cb87cfdc68d861702b1d08cb4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
network:
  version: 2
  renderer: networkd
  ethernets:
    {{ network.primary.interface }}:
      addresses: [ {{ (network.primary.ip + '/' + network.primary.mask) | ipaddr('address/prefix') }} ]
      accept-ra: false
  vlans:
    {{ network.primary.interface }}.{{ network_zones.ccinet.vlan }}:
      id: {{ network_zones.ccinet.vlan }}
      link: {{ network.primary.interface }}
      addresses: [ 89.106.211.61/27 ]
      gateway4: 89.106.211.33
      accept-ra: false
      nameservers:
        search: [ elevate.at ]
        addresses:
          - "89.106.211.33"