From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: How to configure eth1:1 ?
Date: Wed, 19 Oct 2011 22:56:23 -0400 [thread overview]
Message-ID: <20111020025623.GC22953@waltdnes.org> (raw)
In-Reply-To: <j7i9lk$190$1@dough.gmane.org>
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>
next prev parent reply other threads:[~2011-10-20 2:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 21:25 [gentoo-user] How to configure eth1:1 ? Grant Edwards
2011-10-17 21:37 ` [gentoo-user] " Grant Edwards
2011-10-17 22:04 ` Grant Edwards
2011-10-17 21:42 ` [gentoo-user] " Florian Philipp
2011-10-17 21:47 ` Florian Philipp
2011-10-17 22:19 ` [gentoo-user] " Grant Edwards
2011-10-18 15:09 ` YoYo Siska
2011-10-18 16:18 ` Grant Edwards
2011-10-19 15:19 ` james
2011-10-19 15:45 ` Grant Edwards
2011-10-18 16:23 ` Grant Edwards
2011-10-20 2:56 ` Walter Dnes [this message]
2011-10-20 14:12 ` Grant Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111020025623.GC22953@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox