Problem adding a new route

Cedric Bosdonnat cbosdonnat at suse.com
Fri Aug 8 08:19:32 PDT 2014


Hi all,

I'm trying to netlinkify libvirt a bit more... and I'm having a problem
with the route adding function.

The code is here:
https://github.com/cbosdo/libvirt/commit/b661e278c3dbbff84c9424b4ce56976153c18297

Starting a container with a gateway seems to add it as I can see it
in /proc/net/route and with the route tool. However the route doesn't
work and 'ip route' doesn't list it.

Is there anything obvious I have forgotten? I'm not using the
libnl-route, only libnl since I guess we'll have platforms with old
versions of libnl.

Thanks for the help,

--
Cedric




More information about the libnl mailing list