From: Alexander Aring <alex.aring@gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: linux-wpan@vger.kernel.org
Subject: Re: handling multiple MAC instances (multiple address filters)
Date: Sun, 16 Jul 2017 19:09:07 +0200 [thread overview]
Message-ID: <20170716170905.dwauxdblssthonsn@omega> (raw)
In-Reply-To: <20170716090806.oy6a6aoibtrsovas@omega>
Hi,
took a shower again and detected issues.
On Sun, Jul 16, 2017 at 11:08:06AM +0200, Alexander Aring wrote:
> On Fri, Jul 14, 2017 at 12:21:52PM +0200, Michael Richardson wrote:
> >
> > Alexander Aring <alex.aring@gmail.com> wrote:
> > > So this is for me "we can only have a non-changing _source_ PAN". But
> > > you could run more than one 802.15.4 MAC instances on one 802.15.4 PHY.
> > > Which allows to run multiple wpan interfaces with different source PANs.
> >
> > I'm not parsing the difference.
> >
>
> ok.
>
> > > In short: You cannot handle multiple pan support on the same interface,
> > > you need create other interfaces to run on other pans then. Is that what
> > > you are looking for? I know unstrung need to have support to deal with
> > > multiple interfaces then...
> >
> > What does "same interface" mean here?
> > Differrent hardware is needed, or just different lowpanX interfaces?
> >
>
> just different lowpanX interfaces.
>
> ____PHY0____
> | ... |
> wpan0 ... wpanX <---- can have different source pan settings,
> | | destination can also be different over
> | | af802154 socket communication.
> | | (it's for setting the source pan)
> | ,,, |
> lowpan0 ... lowpanX <---- can have different destination pan as
> ``default destination pan''. _Maybe_ you
> could change overwrite default destination
> pan by CMSG attribute.
I think we cannot change the destination pan while interface running, so
handle only one different destination pan per interface and while it's
up.
The reason is simple: There is no address option for the destination pan
per neighbor cache - there is only one for short address and for this
reason we need always need to know on which pan the neighbor operates.
When doing ifdown on ipv6 capable interface - neighbor cache will be
flushed so we can change destination pan then.
Maybe 6lo working group will write something about handle destination
pan right. Don't know - maybe extract the info from received mac header?
But this sounds weird - because we don't do that for short address,
maybe there will be some PAN address option field come for ndisc
handling.
I mean we cannot handle anyway multiple destination pans on one
interface, because we save the short address only per neighbor and it's
not unique without the right pan. I don't see right now that this can
be working. :-/
So forget to change destination pan per CMSG attribute or per runtime
(interface is up).
> At least we need CMSG attribute I think,
> because 0xffff pan which is broadcast pan.
> We should only allow "unicast" pans in
> lowpanX generation as destination.
yea, forget to handle 0xffff ever - I don't know how this can be useful, see
above.
- Alex
prev parent reply other threads:[~2017-07-16 17:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-12 17:10 handling multiple MAC instances (multiple address filters) Alexander Aring
2017-07-12 20:00 ` Michael Richardson
2017-07-13 14:41 ` Alexander Aring
2017-07-14 10:21 ` Michael Richardson
2017-07-16 9:08 ` Alexander Aring
2017-07-16 17:09 ` Alexander Aring [this message]
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=20170716170905.dwauxdblssthonsn@omega \
--to=alex.aring@gmail.com \
--cc=linux-wpan@vger.kernel.org \
--cc=mcr+ietf@sandelman.ca \
/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