-
Notifications
You must be signed in to change notification settings - Fork 0
/
50-macvlan.yaml
38 lines (38 loc) · 1.11 KB
/
50-macvlan.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
ens3:
dhcp4: true
match:
macaddress: fa:16:3e:26:49:38
set-name: ens3
ens4:
addresses:
- 10.202.0.2/16
match:
macaddress: fa:16:3e:8b:61:89
mtu: 1500
nameservers:
addresses:
- 10.0.0.2
search: []
routes:
- to: 10.204.0.0/16
via: 10.202.0.1
set-name: ens4
ens5:
addresses:
- 10.203.0.2/16
match:
macaddress: fa:16:3e:7c:7a:cc
mtu: 1500
nameservers:
addresses:
- 10.0.0.2
search: []
set-name: ens5