Hi all,I am having some success and some difficulty with iproute2.We have a few separate entities all going via a single CentOS 6.4 box that manages the routing across a few inter... [by Wernervdmerwe]
I didnt find any reference for this basic question
Im porting a router application to linux and I will use iproute2 to configure the kernel with router-interfaces/addressee/nbrs etc.
Ive installed iproute2 pkg. and I want to reuse it as much as possible
What are the APIs of the iproute2 that my application can use? for example for 'ip route' commands , is the API is 'do_iproute' ?
We are about to start SW Design Reviews related to moving from VxWorks to Linux. During our researches we found out that most powerful and supported "tool" for Networking in LINUX is iproute2 where in most cases underlaying layer is NETLINK sockets. From most searches I could discover that iproute2 has no direct APIs. It should be called from various exec..().
I have home router with Arch Linux. I'm using systemd-networkd for static configuration, netctl for wi-fi. I have my own units like macspoof and something like this. But now I need use iproute2 policy routing (many tables with rules) and so I need some unit. But I think that unit is monkey code and this functional must be in netctl/systemd-networkd. Maybe I'm bad at reading wiki/man?
I have a Raspberry Pi (running Raspbian) with three network interfaces (one ethernet and two USB wifi nics). What I want to achieve is this: I have two WAN connections to the internet (DSL + Cable), and I want to set up the RasPi in such a way that it offers two default gateways.
Is there any way to use a wildcard or other matching criteria when using iproute2? I have multiple tunnel interfaces that follow a naming convention. Something like ip tunnel del blah-* (which gives the error: ioctl: No such device) would be great without having to resort to creating custom scripts.
For various ip manipulation activities, what is the difference/relationship between iproute2 and modifying the distro's config files?
For instance, some sources recommend ip address del for deleting an address on a network interface, and some sources recommend modifying /etc/sysconfig/network-scripts/ifcfg-eth0 . Does iproute2 modify the distro's config files?