Adding static routes.
This commit is contained in:
parent
3dd36d25bc
commit
b883aaf103
1 changed files with 19 additions and 0 deletions
|
@ -25,6 +25,12 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eth0
|
- interface: eth0
|
||||||
dhcp: true
|
dhcp: true
|
||||||
|
- interface: eth1
|
||||||
|
dhcp: true
|
||||||
|
routes:
|
||||||
|
- network: 10.2.0.0/16
|
||||||
|
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
|
||||||
|
metric: 2048
|
||||||
|
|
||||||
- hostname: eonwe.hsn.dev
|
- hostname: eonwe.hsn.dev
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -35,6 +41,12 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eth0
|
- interface: eth0
|
||||||
dhcp: true
|
dhcp: true
|
||||||
|
- interface: eth1
|
||||||
|
dhcp: true
|
||||||
|
routes:
|
||||||
|
- network: 10.2.0.0/16
|
||||||
|
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
|
||||||
|
metric: 2048
|
||||||
|
|
||||||
- hostname: arlen.hsn.dev
|
- hostname: arlen.hsn.dev
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -45,6 +57,13 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eth0
|
- interface: eth0
|
||||||
dhcp: true
|
dhcp: true
|
||||||
|
- interface: eth1
|
||||||
|
dhcp: true
|
||||||
|
routes:
|
||||||
|
- network: 10.2.0.0/16
|
||||||
|
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
|
||||||
|
metric: 2048
|
||||||
|
|
||||||
controlPlane:
|
controlPlane:
|
||||||
patches:
|
patches:
|
||||||
- |-
|
- |-
|
||||||
|
|
Reference in a new issue