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.