Replies: 2 comments 17 replies
-
Your setup works exactly as you configured default gateway is 10.0.0.1 only. Why would packet to 1.2.3.4 be routed to 5.6.7.14 via eth0 untagged? You need to figure out what should be the path for public outbound, if it's eth0, it should be a default route on eth0, and eth0.101 should only route to 10/8 ? |
Beta Was this translation helpful? Give feedback.
16 replies
-
Yes, I think it would help if you posted your actual machine config, showing the route for the 1.2.3.4 address/network. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following setup: a cluster of mulitple servers at OVH where I want to run Talos. Each have access to a private network (VLAN based), with DHCP and a gateway for internet access. This works perfectly fine. There is a second network interface that can route public ips to the servers. You get a range and a associated gateway.
For the example, let's use following ips:
1.2.3.4
→ my ip address10.0.0.10/24
→ the ip in the private network, configured through dhcp, on eth0.101 (so using vlan tag 101)5.6.7.8
→ a public ip in the /28 subnet leased from OVH, on eth0 (so same parent interface, untagged). The instructions from OVH are to use the second to last ip as Network Gateway: https://help.ovhcloud.com/csm/en-ca-dedicated-servers-ip-block-vrack?id=kb_article_view&sysparm_article=KB0043335 → Let's use 5.6.7.14/32 as the example.This setup works great on a non-Talos Linus (Ubuntu or Debian), so it should be able to work on Talos as well.
When configuring a node as follows:
eth0
has00:93:65:69:3d:bb
as MAC address in this example.When looking with tcpdump I can see package are reaching the Talos server fine, but the response seems to have the VLAN tag applied, so the reply is not routed correctly back.
Even when using
metric: 0
for the public ip gateway route, it still has the VLAN tag applied.Does someone has an idea if there is something missing from the config? Or what I can do to get the 5.6.7.8 ip address to respond?
Beta Was this translation helpful? Give feedback.
All reactions