Hello, this is my first time posting here. I’ve been testing LXD for a couple months now, and the experience is great.
Still, I need to achieve something, which I’m not sure can be completed with LXD (or in general with the infra at my disposal). I want to link the network (10.0.2.0/24
) to my lan network (10.0.0.0/24
), where I have a host media2 at 10.0.2.5
(I’ll eventually put this on a mgmt subnet, but I want to manage the routing first before moving to the next step). That hosts runs a single-node k8s cluster where it’s services would be deployed on 10.0.2.0/24
subnet.
My general network architecture looks like this:
[Home Modem/Router (10.0.0.1)]
-> [Wireless Bridged Router (10.0.0.50)]
--> [Switch]
---> [LXD Host (10.0.0.223)]
----> [Media2 (10.0.2.5)]
My routing table looks like this:
root@potaaato-01:~# ip r
default via 10.0.0.1 dev enp2s0f0 proto static
10.0.0.0/24 dev enp2s0f0 proto kernel scope link src 10.0.0.223
10.0.1.0/24 dev lxcbr0 proto kernel scope link src 10.0.1.1 linkdown
10.0.2.0/24 via 10.0.2.1 dev sub-1 scope link
10.115.247.0/24 dev lxdbr0 proto kernel scope link src 10.115.247.1
I’m able to reach media2 from LXD host, and I’m receiving ARP request inside my LXD host, but it never replies. I don’t understand since a route to 10.0.2.5
exists, so ARP requests should flow through? Probably I’m not grasping routing enough and the configuration is wrong. Anyhow, any help would be greatly appreciated.
Thank you.