You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you help me understand why it happens and how to make it work without calling ff_route manually?
Symptom
My test app was only able to connect() to a TCP host when using DPDK port0. connect() call with a non-zero DPDK port will return errno 113 "No Route to Host".
Debug Steps
The packet capture showed that the F-Stack won't send an ARP request for a gateway IP address. It is possible that the TCP stack does not know a MAC address for the default gateway.
ff_netstat -rn showed that there is no default gateway.
Workaround
connect() works after manually adding the default gateway using ff_route.
Comments
It worked fine in F-Stack 1.23.
Each DPDK port has an IP address within the same subnet and the same gateway.