Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: improved routing #16

Closed
oskarirauta opened this issue Nov 28, 2021 · 1 comment
Closed

Proposal: improved routing #16

oskarirauta opened this issue Nov 28, 2021 · 1 comment

Comments

@oskarirauta
Copy link

My problem is that my host system (OpenWrt) cannot reach container(s)/pod(s) properly and eventually I was able to fix this by changing the route.. route coming from cni is:

10.129.0.0/24 dev cni-podman0 proto kernel scope link src 10.129.0.1

I can fix this with following:

ip route del 10.129.0.0/24
ip route add 10.129.0.0/24 dev cni-podman0 proto kernel scope link via 10.129.0.1 src $LAN_IP

10.129.0.0/24 is my cni network subnet, and gw is 10.129.0.1

so I am wondering if we could have optional fields to route with via and src - netlink go module used already does support it.
I have requested this change also from containernetworking/plugins

Adding optional fields for src and via shouldn't be that difficult..

@oskarirauta
Copy link
Author

It turned out to be a firewalling issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant