From: Andrew Beverley <andy@andybev.com>
To: Lloyd Standish <lloyd@crnatural.net>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: can't set default route for virtual interface
Date: Tue, 27 Dec 2011 23:43:01 +0000 [thread overview]
Message-ID: <1325029381.1672.38.camel@steve-pc> (raw)
In-Reply-To: <op.v654qjz3x1lyi3@debiandesk2.net>
On Tue, 2011-12-27 at 17:32 -0600, Lloyd Standish wrote:
> + ip route add default via 192.168.2.1 table T1
> RTNETLINK answers: No such process
This normally means that the kernel doesn't think that 192.168.2.1 is a
valid address. Is that IP address definitely set up by that point in the
script?
Have you tried *not* using ifconfig to set up your interfaces? You
should only be using iproute2.
> Similarly, I was unable to use "ip" to set a "nexthop via" default route for virtual interfaces.
>
Same probably applies to this.
Andy
next prev parent reply other threads:[~2011-12-27 23:43 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 [this message]
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
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=1325029381.1672.38.camel@steve-pc \
--to=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.