Leonid Podolny wrote:
> What is a standard way to add static routes at gentoo? I tried to google
> around and have found some refereneces to /etc/conf.d/routes, but
> nothing about its expected format.
>
with =sys-apps/baselayout-1.11.12-r3 documentation live into
/etc/conf.d/net.example
using iproute2 (emerge -av sys-apps/iproute2)
a two interfaces /etc/conf.d/net look like this:
<net>
modules=( "iproute2" )
config_eth0=(
"192.168.0.0/24"
)
routes_eth0=(
"192.168.55.0/24 via 192.168.0.2"
)
config_eth1=(
"123.123.123.123/29"
)
routes_eth1=(
"default via 123.123.123.124"
)
</net>
HTH francesco
--
....................................................................
. These pages are best viewed by coming to my house and looking at .
. my monitor. [S. Lucas Bergman (on his website)] .
....................................................................
--
[email protected] mailing list