All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Beverley <andy@andybev.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: Lloyd Standish <lloyd@crnatural.net>,
	"netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: can't set default route for virtual interface
Date: Thu, 29 Dec 2011 15:39:53 +0000	[thread overview]
Message-ID: <1325173193.11172.150.camel@steve-pc> (raw)
In-Reply-To: <4EFC4EA0.9010403@treenet.co.nz>

On Fri, 2011-12-30 at 00:27 +1300, Amos Jeffries wrote:
> On 28/12/2011 11:21 p.m., Andrew Beverley wrote:
> > On Tue, 2011-12-27 at 23:36 -0600, Lloyd Standish wrote:
> >>    I usually bring up interfaces with "ifup" when I can
> > Ah, therein lies an interesting situation. ifup is pretty old too, and
> > makes calls to the ifconfig command, which is a real pain. However,
> > unless someone tells me otherwise, I'm not aware of a replacement for
> > it.
> 
> That would be ...
> 
>    ip link set dev eth0 up
>    ip link set dev eth0 down

Yes :-)

Although that only really replaces the ifconfig part. It would be nice
to have a proper replacement for ifup/ifdown that does the rest of the
networking stuff, such as setting the ip address and calling scripts, as
is contained in /etc/network/interfaces. It'll also call pppd and so on
as well.

Andy



  reply	other threads:[~2011-12-29 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 23:32 can't set default route for virtual interface Lloyd Standish
2011-12-27 23:43 ` Andrew Beverley
2011-12-28  5:36   ` Lloyd Standish
2011-12-28 10:21     ` Andrew Beverley
2011-12-29 11:27       ` Amos Jeffries
2011-12-29 15:39         ` Andrew Beverley [this message]
2011-12-29 15:53       ` Jan Engelhardt
2011-12-28  0:40 ` Brian Austin - Standard Universal
2011-12-28  0:42 ` Brian Austin - Standard Universal
2011-12-28  1:56   ` Lloyd Standish

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=1325173193.11172.150.camel@steve-pc \
    --to=andy@andybev.com \
    --cc=lloyd@crnatural.net \
    --cc=netfilter@vger.kernel.org \
    --cc=squid3@treenet.co.nz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.