From b883aaf1032780b0bc10ae29420c045e25cb0834 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 26 Sep 2023 17:18:36 -0500 Subject: [PATCH] Adding static routes. --- talos/talconfig.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/talos/talconfig.yaml b/talos/talconfig.yaml index d1528f9..3947df4 100644 --- a/talos/talconfig.yaml +++ b/talos/talconfig.yaml @@ -25,6 +25,12 @@ nodes: networkInterfaces: - interface: eth0 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 disableSearchDomain: true @@ -35,6 +41,12 @@ nodes: networkInterfaces: - interface: eth0 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 disableSearchDomain: true @@ -45,6 +57,13 @@ nodes: networkInterfaces: - interface: eth0 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: patches: - |-