Replies: 12 comments 3 replies
-
Try |
Beta Was this translation helpful? Give feedback.
-
Same problem here on an Ubuntu 20.04 server with frr 8.2.2 as well. The routes from the kubernetes cluster are visible via
I've tried this, but doesn't work |
Beta Was this translation helpful? Give feedback.
-
Wow, very fast. That solves the problem. Now another problem appear. I'm trying to curl 126.26.26.1 ip but it stays pending with no response. I've tryied to add static routes on frr.conf as next but having same behaviour, additionally "show ip routes" doens't show static routes:
Previous stats from zebra and system now are the next: On vtysh:
On vtysh:
On system:
|
Beta Was this translation helpful? Give feedback.
-
@JustInVTime I don't have any data around your situation, so I have no idea if the same suggestion would be relevant for you. Can you open a new issue with details from your environment? Then we can follow up there without getting things confused between the original issue and yours |
Beta Was this translation helpful? Give feedback.
-
@pantxisto can you ping the IP you're trying to curl? Can you run a traceroute against it? What SIP is being used for this traffic? ( If the RIB and kernel routing table look fine, you're probably having an issue with resolving ARP for the next-hop or there's an issue with return traffic. Let's try to find where the packets are getting lost |
Beta Was this translation helpful? Give feedback.
-
Ping is not working:
Traceroute gives me some nexthops but I don't know what it means 😟 :
Used SIP:
If I'm having an issue resolving ARP for the next-hop or there's an issue with return traffic how can I find where the packets are getting lost? Thank you |
Beta Was this translation helpful? Give feedback.
-
You're seeing multiple hops so it doesn't look like an ARP issue. Multiple hops in traceroute means you have a route to get to the remote device, there are multiple intermediate routers that know how to get to the remote device (and back to yours), but some device after the last hop you see doesn't know how to get back to your device or isn't sending TTL expired ICMP errors back. In any event, unless you haven't advertised the router-ip and there's no less specific route to get to the router-ip, the issue likely isn't on this side. I'd try adding |
Beta Was this translation helpful? Give feedback.
-
@taspelund
Does this mean that BGP speakers on each kubernetes node are the ones who are giving the problem and don't know how to get back to my device or aren't sending TTL expire ICMP errors back? Despite the speaker are on each kubernetes node is not the same to traceroute the node-ip or the advertised-ip on that node and each one have different intermediate routers? |
Beta Was this translation helpful? Give feedback.
-
I don't know how your network is setup, so I can't really comment on the specifics. What I see is that we have installed the routes into the kernel and they are being used by the kernel to forward the ICMP packets via the gateway you've specified -- so FRR is working correctly. I don't know anything about your network, so I don't know if the path beyond the first hop is expected for your environment or which hop along the way may be the issue. What I do know is that every device between us and the IP you're pinging needs to have a route to our IP and their IP. I would probably start there to make sure they all have a way to get to each of the IPs in this ping flow, or work your way backwards from the other device -- perhaps run a traceroute from the curl IP to the router-ip and see how far it gets. That should help you isolate where the issue is within your network. |
Beta Was this translation helpful? Give feedback.
-
You mean doing traceroute or a ping from router to all the ips gotten when tracerouting 126.26.26.1? On metallb slack suggest that all cloud providers don't work with metallb because some of them may filter ip addresses that don’t belong to their cloud servers and recommended to use some encapsulation like GRE. Could this give problems with FRR? |
Beta Was this translation helpful? Give feedback.
-
No, I meant logging into 126.26.26.1 and doing a traceroute to the router IP. If you're not getting anything beyond your first hop, then I'd say either that first hop doesn't have a route to the router-ip or there's some kind of filter in place. If there isn't end-to-end reachability between 126.26.26.1 and the router-ip then you'd need some way of crossing the network via some IPs that can be forwarded, e.g. via tunneling (like GRE) or NAT. |
Beta Was this translation helpful? Give feedback.
-
I'm installing frr version 8.4.1 on ubuntu server 22.04. Actually when I'm configuring bgp peer with frr to another bgp peer, I check it receive received route but in show ip bgp doesn't show any route. Same In the kernel ip route show. I read the documentation, you should add line "net.ipv4.conf.all.forwarding="1 in /etc/sysctl.conf. By default, the command is not configured. It works for me |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
BGP routes are not updated on kernel, when prompted from vtysh with "show ip bgp" the are aadvertised but when cheking zebra routes database with "show ip route" are not showed.
[ x] Did you check if this is a duplicate issue?
[ ] Did you test it on the latest FRRouting/frr master branch?
To Reproduce
Expected behavior
Routes advertised from kubernetes speakers should be updated on kernel, but are not updating. "show ip route" should show BGP advertised routes but not happening.
Screenshots
On vtysh:
On vtysh:
On system:
Versions
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
5.4.0-104-generic
frr-stable 8.2.2
Additional context
It's a IBGP session between this router and a kubernetes cluster with 5 nodes using metallb.
Beta Was this translation helpful? Give feedback.
All reactions