Manipulating the Networking Environment Using RTNETLINK
RTNETLINK is a simple, yet versatile way of manipulating the networking environment of a Linux host. User-space network protocol handlers are ideal candidates for using RTNETLINK. The advanced IP routing command suite, referred to as IPROUTE2, is based on RTNETLINK. More information about the different operations and flags of RTNETLINK can be found at NETLINK(7) and RTNETLINK(7).
The sample code for this article is available at ftp.ssc.com/pub/lj/listings/issue145/8498.tgz.
Asanga Udugama (firstname.lastname@example.org) is a researcher/software developer for ComNets, University of Bremen, Germany. He currently works on implementing and improving the IETF standards for mobility-related network layer protocols. He has a few reference implementations to his credit. At the moment, he is awaiting the arrival of his dream wheelchair (Meyra X3 with Servomatic).
- Geek Guide: The DevOps Toolbox
- Download "The DevOps Toolbox: Tools and Technologies for Scale and Reliability"
- Nmap—Not Just for Evil!
- March 2015 Issue of Linux Journal: System Administration
- Real-Time Rogue Wireless Access Point Detection with the Raspberry Pi
- Resurrecting the Armadillo
- High-Availability Storage with HA-LVM
- Days Between Dates: the Counting
- Localhost DNS Cache
- A Comparison of Xemacs and Gnu Emacs