netlink notification for veth interface/ipaddress not working

Devanath S s.devanath at gmail.com
Mon Oct 24 17:16:06 PDT 2016


Hi *,

I am using netlink to get the notification for "veth"
interface/ipaddress addition/updation, below are the netlink
constructs I am using

rtnl_link_alloc_cache() => to allocate cache

 nl_cache_foreach() => to register my func for the updation

Problems I am facing are -
-  rtnl_link notification that I get does not seem to have ipaddress
details whenever I try to configure  ipaddress to the interface
-  rtnl_route notification seem to have INVALID table number, whenever
I try to add a route.

The same seem to work for normal interface but not for veth. Please suggest.


Regards,
Dev



More information about the libnl mailing list