From: Frank van Maarseveen <frankvm@frankvm.com>
To: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: netdev@vger.kernel.org
Subject: Re: 2.6.19/2.6.20 BUG in inet_rtm_newaddr()/__inet_insert_ifa()
Date: Sat, 10 Mar 2007 14:55:39 +0100 [thread overview]
Message-ID: <20070310135539.GB30620@janus> (raw)
In-Reply-To: <20070310131917.GA25794@2ka.mipt.ru>
On Sat, Mar 10, 2007 at 04:19:17PM +0300, Evgeniy Polyakov wrote:
> On Fri, Mar 09, 2007 at 07:22:36PM +0100, Frank van Maarseveen (frankvm@frankvm.com) wrote:
> > Ok that worked.. not as I expected. I don't understand the EINVAL and
> > "ip addr" shows no broadcast address for eth0 when a classless address is
> > added as the primary (and only) address like in the above example. That's
> > why I tried to set it manually in the second "ip" command.
>
> Because you might want not
>
> ip addr add 172.18.12.99/21 dev dummy0
> ip addr add broadcast 172.18.15.255 dev dummy0
>
> but
>
> ip addr add 172.18.12.99/21 broadcast 172.18.15.255 dev dummy0
>
> Magic of local/global adresses is hidden here.
thanks!
--
Frank
next prev parent reply other threads:[~2007-03-10 13:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 10:33 2.6.19/2.6.20 BUG in inet_rtm_newaddr()/__inet_insert_ifa() Frank van Maarseveen
2007-03-09 12:30 ` Evgeniy Polyakov
2007-03-09 18:22 ` Frank van Maarseveen
2007-03-10 13:19 ` Evgeniy Polyakov
2007-03-10 13:55 ` Frank van Maarseveen [this message]
2007-03-09 21:43 ` David Miller
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=20070310135539.GB30620@janus \
--to=frankvm@frankvm.com \
--cc=johnpol@2ka.mipt.ru \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).