public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Re: How to configure eth1:1 ?
  @ 2011-10-20  2:56 99%       ` Walter Dnes
  0 siblings, 0 replies; 1+ results
From: Walter Dnes @ 2011-10-20  2:56 UTC (permalink / raw
  To: gentoo-user

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 <waltdnes@waltdnes.org>



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-10-17 21:25     [gentoo-user] How to configure eth1:1 ? Grant Edwards
2011-10-17 21:42     ` Florian Philipp
2011-10-17 21:47       ` Florian Philipp
2011-10-17 22:19         ` [gentoo-user] " Grant Edwards
2011-10-20  2:56 99%       ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox