Files
server/usr/share/doc/cloud-init/examples/network-config-v1-subnet-routes.yaml
2026-01-07 20:52:11 +01:00

21 lines
527 B
YAML

network:
version: 1
config:
- type: physical
name: interface0
mac_address: '00:11:22:33:44:55'
subnets:
- type: dhcp
metric: 200
- type: static
metric: 100
address: 10.184.225.122
netmask: 255.255.255.252
routes:
- gateway: 10.184.225.121
netmask: 255.240.0.0
destination: 10.176.0.0
- gateway: 10.184.225.121
netmask: 255.240.0.0
destination: 10.208.0.0