Talk:Static Routing

iproute2 instead of ifconfig
Hello, I think we should encourage the use of sys-apps/iproute2 as it is single interface for all networking configuration. And obsoletes the route, ifconfig. openrc leverage iproute2 if exists. --Alon Bar-Lev 01:52, 19 November 2011 (UTC)


 * Added some iproute2 versions. --Nephros 10:51, 17 June 2012 (UTC)

/etc/conf.d/staticroute
this file is also provided by openrc to add static routes. Can someone add information when this is to be used instead of /etc/conf.d/net setups? --Nephros 10:51, 17 June 2012 (UTC)
 * It's true. I have not explained it since I have no experience with that file "staticroute". It is just another alternative to configure it the way explained. Under the hood it works the same way. Feel free to expand the section. Needle 17:41, 11 December 2012 (UTC)

Enable IP forwarding
Why no one mention about enabling kernel ip forwarding in order to make the static routing works?

People should check that /proc/sys/net/ipv4/ip_forward content is '1' and if not:

--KentVu 10:15, 8 December 2012 (UTC)


 * This depends on the setup, and is not true "unconditionally". I have not set it in at my hosts and still able to route. Needle 10:58, 11 December 2012 (UTC)
 * Finally found the time to test this example, no need to enable "ip_forward" Needle 23:38, 13 December 2012 (UTC)