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

The next hop of the route received by the switch is incorrect. #20462

Open
hmails opened this issue Feb 25, 2025 · 0 comments
Open

The next hop of the route received by the switch is incorrect. #20462

hmails opened this issue Feb 25, 2025 · 0 comments

Comments

@hmails
Copy link

hmails commented Feb 25, 2025

What Happened?

I created a test environment using Minikube. BGP neighbors have been established between Calico and the switch, and the route10.3.239.0/24 has been advertised. The route received on the switch is 110.3.239.0/24, and the next hop is 192.168.249.2. 192.168.249.2 is the IP address of the Calico node. The next hop is incorrect. It should be the IP address of the Minikube host, which is 10.125.41.8. Is there a way to change the next hop to 10.2.252.38?

calico node(192.168.249.2,10.3.239.0/24)--snat--10.2.252.38--->switch(route 10.3.239.0/24 nexthop 192.168.249.2)

The creation command is: minikube start --kubernetes-version=v1.30.9 --force --driver='docker' --interactive=true --image-mirror-country='cn' --container-runtime=docker --cni calico

Attach the log file

log1.txt

Operating System

Other

Driver

Docker

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