nmstate_bond_vlan.md
... ...
@@ -1,32 +1,38 @@
1 1
---
2
- interfaces:
3
- - ipv4:
4
- enabled: false
5
- ipv6:
6
- enabled: false
7
- link-aggregation:
8
- mode: active-backup
9
- options:
10
- all_slaves_active: delivered
11
- miimon: "140"
12
- slaves:
13
- - en0s1
14
- - en1s1
15
- name: bond0
16
- state: up
17
- type: bond
18
- - ipv4:
19
- address:
20
- - ip: 192.168.143.15
21
- prefix-length: 20
22
- dhcp: false
23
- enabled: true
24
- ipv6:
25
- enabled: false
26
- name: bond0.1516
27
- state: up
28
- type: vlan
29
- vlan:
30
- base-iface: bond0
31
- id: 1516
32
- reorder-headers: true
... ...
\ No newline at end of file
0
+routes:
1
+ config:
2
+ - destination: 0.0.0.0/0
3
+ next-hop-interface: eth1
4
+ next-hop-address: 192.0.2.1
5
+
6
+interfaces:
7
+- ipv4:
8
+ enabled: false
9
+ ipv6:
10
+ enabled: false
11
+ link-aggregation:
12
+ mode: active-backup
13
+ options:
14
+ all_slaves_active: delivered
15
+ miimon: "140"
16
+ slaves:
17
+ - en0s1
18
+ - en1s1
19
+ name: bond0
20
+ state: up
21
+ type: bond
22
+- ipv4:
23
+ address:
24
+ - ip: 192.168.143.15
25
+ prefix-length: 20
26
+ dhcp: false
27
+ enabled: true
28
+ ipv6:
29
+ enabled: false
30
+ name: bond0.1516
31
+ state: up
32
+ type: vlan
33
+ vlan:
34
+ base-iface: bond0
35
+ id: 1516
36
+ reorder-headers: true
... ...
\ No newline at end of file