From: Amos Jeffries <squid3@treenet.co.nz>
To: Andrew Beverley <andy@andybev.com>
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: Fri, 30 Dec 2011 00:27:28 +1300 [thread overview]
Message-ID: <4EFC4EA0.9010403@treenet.co.nz> (raw)
In-Reply-To: <1325067714.1672.691.camel@steve-pc>
On 28/12/2011 11:21 p.m., Andrew Beverley wrote:
> On Tue, 2011-12-27 at 23:36 -0600, Lloyd Standish wrote:
>>> Have you tried *not* using ifconfig to set up your interfaces? You
>>> should only be using iproute2.
>> I've seen that mentioned before, and I'm confused. iproute2 means, for
>> firewall code, "ip" and "tc" - is that right?
> Yes, and "ip" can do everything that all the various net-tools commands
> do.
>
>> 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
:)
AYJ
next prev parent reply other threads:[~2011-12-29 11:27 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 [this message]
2011-12-29 15:39 ` Andrew Beverley
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=4EFC4EA0.9010403@treenet.co.nz \
--to=squid3@treenet.co.nz \
--cc=andy@andybev.com \
--cc=lloyd@crnatural.net \
--cc=netfilter@vger.kernel.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 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.