netlink icon indicating copy to clipboard operation
netlink copied to clipboard

add a route by RouteAdd().otherwise, the route is disappears when host reboots,how to solve?

Open Boruson opened this issue 1 year ago • 1 comments

Boruson avatar Apr 21 '23 09:04 Boruson

I'm not sure that I understand what's your question mean, if you want to persistent your routes, you should write them to some files like route.conf on your system. If you only add routes by netlink.RouteAdd, of course it will disappear when your host reboots.

chengzhycn avatar May 09 '23 07:05 chengzhycn