On Mon, Oct 17, 2011 at 10:19:32PM +0000, Grant Edwards wrote

> My current configuration works:
> 
>   modules_eth0=( !plug )
>   config_eth0=( "192.168.8.4/16" )
>   routes_eth0=( "default via 192.168.0.254" )
> 
>   modules_eth1=( !plug )
>   config_eth1=( "10.0.0.1/8" "192.168.250.1/24" )

  Reaching for straws here... did you update /etc/conf.d/net when
switching over to openrc?  Your config looks like the previous style,
that has been deprecated.  Mine, which has 2 addresses for eth0, is...

config_eth0="
192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255"
routes_eth0="
default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0"

  Note the opening quote in 'config_eth0="' and 'routes_eth0="', and
the closing quote at the end of each stanza.  There is one address per
line.  This is the new way of doing it.  See
/usr/share/doc/openrc-0.8.3-r1/net.example.bz2 for more details.
Replace "0.8.3" with whatever version of openrc you're running.

  The overlapping routes are for handling dialup, on those rare
occasions my broadband ISP is down.  It allows me to connect to the net
via dialup, while my TV tuner (169.254.1.3/16)  and the local lan
(192.168.123.248/29) stay connected.

-- 
Walter Dnes <waltd...@waltdnes.org>

Reply via email to