-
|
Hello, I am using Talos OS 1.11.1 on my raspberry pi 4 cluster. I plan on using Cilium to offer VIPs/L2Advertisement IPs on the VLAN interface (I'm still not sure how that will work). I have RFC1918 addresses on the default network interface (no VLAN tag). 172.25.1.0/24. I have public IPs available on VLAN 3. 1.2.3.248/29 I have attempted to use the VLAN config block on my network interface. I don't think it's working. Below will be my Has anyone gotten VLANs to work on Talos without assigning an address to the VLAN interface?network block of machineconfig: network:
hostname: my-cluster-srv-1a
interfaces:
- interface: enabcm6e4ei0
addresses:
- 172.25.1.20/24
routes:
- network: 0.0.0.0/0
gateway: 172.25.1.1
vlans:
- vlanId: 3
routes:
- network: 1.2.3.249/32
- network: 0.0.0.0/0
gateway: 1.2.3.249
mtu: 1500
dhcp: false
nameservers:
- 172.25.1.1and when removing the extra 1.2.3.249/32 network from my vlans route list, i get this error: Additionally, when adding an address to the VLAN interface, I get the following error... "file exists"? network:
hostname: my-cluster-srv-1a
interfaces:
- interface: enabcm6e4ei0
addresses:
- 172.25.1.20/24
routes:
- network: 0.0.0.0/0
gateway: 172.25.1.1
vlans:
- vlanId: 3
addresses:
- "1.2.3.250/29"
routes:
- network: 0.0.0.0/0
gateway: 1.2.3.249
mtu: 1500
dhcp: false
nameservers:
- 172.25.1.1error: And trying a different network config block, this time with everything on VLANs, yields a "file exists" error again. network:
hostname: my-cluster-srv-1a
interfaces:
- interface: enabcm6e4ei0
vlans:
- addresses:
- 172.25.1.20/24
routes:
- network: 0.0.0.0/0
gateway: 172.25.1.1
vlanId: 5
- vlanId: 3
addresses:
- 1.2.3.250/29
routes:
- network: 0.0.0.0/0
gateway: 1.2.3.249
mtu: 1500
dhcp: false
nameservers:
- 172.25.1.1error |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
It's more of a networking configuration question rather than a Talos question.
|
Beta Was this translation helpful? Give feedback.
Don't set addresses and routes, and you will have a VLAN without it.