public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexandre Rostovtsev <tetromino@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: rfc: only the loopback interface should provide net
Date: Tue, 07 Feb 2012 13:31:40 -0500	[thread overview]
Message-ID: <1328639500.8348.114.camel@rook> (raw)
In-Reply-To: <20120207173342.GB4579@linux1>

On Tue, 2012-02-07 at 11:33 -0600, William Hubbs wrote:
> On Tue, Feb 07, 2012 at 04:46:58PM +0000, Duncan wrote:
> > 1) Separate net.lo service for stuff that doesn't have to have an 
> > external connection at all.
>  
>  This can be easily done. I'll just make net.lo* not provide net.
> 
> > 2) A default net (or net*) service that is is composed of all non-net.lo 
> > services, with a default any-one-of-them policy.
> > Two reasons for this:
> > 
> > 2a) It'll "just work" in the simple case.
> > 
> > 2b) It's the easiest to automatically preconfigure without getting into 
> > lots of "detect all the networks and magically figure out whether they're 
> > lan-only or inet" hairballs.
> 
> As soon as you add a second interface, this default "net" service
> breaks. That is why I think we should add an "internet" service that
> consists of interfaces the user says provide a connection to the
> internet. Then we could make our services that need real
> internet connections need that service instead of net.

As I discussed in #gentoo-dev, it breaks if some of your interfaces are
lan-only. That might be not uncommon in the server room, but for the
typical gentoo user with a desktop or laptop, all interfaces are
generally expected to allow internet connections, and if more than one
is up (e.g. both eth0 and wlan0), the kernel will do the intelligent
thing and choose the best one to route through.

-Alexandre.




  reply	other threads:[~2012-02-07 18:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-06 21:04 [gentoo-dev] rfc: only the loopback interface should provide net William Hubbs
2012-02-06 21:36 ` Zac Medico
2012-02-06 23:15 ` Alexandre Rostovtsev
2012-02-07  1:41   ` William Hubbs
2012-02-07  2:33     ` Alexandre Rostovtsev
2012-02-07  3:21       ` [gentoo-dev] " Duncan
2012-02-07  6:43   ` [gentoo-dev] " William Hubbs
2012-02-07  8:28     ` Alexandre Rostovtsev
2012-02-07 14:39       ` Ian Stakenvicius
2012-02-07 16:44         ` William Hubbs
2012-02-07 16:58           ` Alec Warner
2012-02-07 16:46         ` [gentoo-dev] " Duncan
2012-02-07 17:12           ` Ian Stakenvicius
2012-02-07 17:33           ` William Hubbs
2012-02-07 18:31             ` Alexandre Rostovtsev [this message]
2012-02-22 21:19   ` [gentoo-dev] " William Hubbs

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=1328639500.8348.114.camel@rook \
    --to=tetromino@gentoo.org \
    --cc=gentoo-dev@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