Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How to configure eth1:1 ?
Date: Thu, 20 Oct 2011 02:57:21
Message-Id: 20111020025623.GC22953@waltdnes.org
In Reply to: [gentoo-user] Re: How to configure eth1:1 ? by Grant Edwards
1 On Mon, Oct 17, 2011 at 10:19:32PM +0000, Grant Edwards wrote
2
3 > My current configuration works:
4 >
5 > modules_eth0=( !plug )
6 > config_eth0=( "192.168.8.4/16" )
7 > routes_eth0=( "default via 192.168.0.254" )
8 >
9 > modules_eth1=( !plug )
10 > config_eth1=( "10.0.0.1/8" "192.168.250.1/24" )
11
12 Reaching for straws here... did you update /etc/conf.d/net when
13 switching over to openrc? Your config looks like the previous style,
14 that has been deprecated. Mine, which has 2 addresses for eth0, is...
15
16 config_eth0="
17 192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
18 169.254.1.3/16 broadcast 169.254.255.255"
19 routes_eth0="
20 default via 192.168.123.254 metric 2
21 192.168.123.248/29 via 192.168.123.254 metric 0
22 169.254.0.0/16 via 169.254.1.3 metric 0"
23
24 Note the opening quote in 'config_eth0="' and 'routes_eth0="', and
25 the closing quote at the end of each stanza. There is one address per
26 line. This is the new way of doing it. See
27 /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 for more details.
28 Replace "0.8.3" with whatever version of openrc you're running.
29
30 The overlapping routes are for handling dialup, on those rare
31 occasions my broadband ISP is down. It allows me to connect to the net
32 via dialup, while my TV tuner (169.254.1.3/16) and the local lan
33 (192.168.123.248/29) stay connected.
34
35 --
36 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
[gentoo-user] Re: How to configure eth1:1 ? Grant Edwards <grant.b.edwards@×××××.com>