netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Issues] Implementation for IPv6 MIB:ipv6PrefixTable
@ 2003-10-22 20:01 Shirley Ma
  0 siblings, 0 replies; 2+ messages in thread
From: Shirley Ma @ 2003-10-22 20:01 UTC (permalink / raw)
  To: David S. Miller; +Cc: mashirle, kuznet, netdev





Hi, Dave,

I have several implementation issues about ipv6PrefixTable for IPv6 MIBs.
This table must include all prefixes' info, manually configured prefix,
addrconf prefix, dhcp prefix ... In each ipv6PrefixTable, there are 9
objects, which are Ifindex, Type, Prefix, Length, Origin(addrconf,
manually, dhcp, others), OnLinkFlag, AutonomoueFlag, AdvPreferredLiftTime
and ValidLifeTime.
There is no such a table or similar list saved in Linux kernel. Manually
configured prefix router, and on-link addrconf prefix router are saved in
routing table, but only Prefix and Lengh objects there. The off-link or
on-link flag (set to 0) prefix router are not in routing table or anywhere
else, which are using default router by RFC 2461.
I would like to hear your opinion on the implementation. I read some email
thread before about a implementation of prefix list in the kernel. At that
time, the conclusion was not implementing prefix list in the kernel, and
also the prefix list only refers to onlink prefix by RFC2461.

First, do you think it's a good idea to save all prefix objects in routing
table?
Second, where is the best location for the off-link prefix, on-link flag 0
prefix to be saved?
Third, do you think it's a good idea to implement a prefix table/per
interface in the kernel?

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone: (503) 578-7638
FAX:      (503) 578-3228

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Issues] Implementation for IPv6 MIB:ipv6PrefixTable
       [not found] <20031024044708.236f0d22.davem@redhat.com>
@ 2003-10-24 17:59 ` kuznet
  0 siblings, 0 replies; 2+ messages in thread
From: kuznet @ 2003-10-24 17:59 UTC (permalink / raw)
  To: mashirle, netdev, davem

Hello!

> First, do you think it's a good idea to save all prefix objects in routing
> table?

Those which are on-link, of course.


> Second, where is the best location for the off-link prefix, on-link flag 0
> prefix to be saved?

Do you really think off-link prefixes are to be saved? Prefix in use is onlink
by defintion, so just return 1 in these bit and ignore off-link prefixes
completely, they are meaningless, are not they?


> Third, do you think it's a good idea to implement a prefix table/per
> interface in the kernel?

Well, if SNMP is going to be used as a tool to snoop ndisc promiscuously
(which seems to be the case if it shows inforrmation about offlink prefixes),
then it is definitely not a kernel task.

Alexey

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-24 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20031024044708.236f0d22.davem@redhat.com>
2003-10-24 17:59 ` [Issues] Implementation for IPv6 MIB:ipv6PrefixTable kuznet
2003-10-22 20:01 Shirley Ma

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).