Discussion:
IPv6 Router Solicitation Send
(too old to reply)
Dutta Dwaip
2008-02-29 12:52:35 UTC
Permalink
Hi All,

I am working on a IPv6 project and trying to find code for Router
solicitation for hosts in NetBSD source code as per RFC 2461.

However I couldn't find source code for sending router solicitation
when interface comes UP. Is this not implemented in NetBSD?


Thanks,
DD

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-02-29 20:25:43 UTC
Permalink
Post by Dutta Dwaip
Hi All,
I am working on a IPv6 project and trying to find code for Router
solicitation for hosts in NetBSD source code as per RFC 2461.
However I couldn't find source code for sending router solicitation
when interface comes UP. Is this not implemented in NetBSD?
Try the Google search "router solicitation netbsd", without the quotation
marks.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
JINMEI Tatuya / 神明達哉
2008-02-29 19:08:03 UTC
Permalink
At Fri, 29 Feb 2008 18:22:35 +0530,
Post by Dutta Dwaip
I am working on a IPv6 project and trying to find code for Router
solicitation for hosts in NetBSD source code as per RFC 2461.
However I couldn't find source code for sending router solicitation
when interface comes UP. Is this not implemented in NetBSD?
I'd think /usr/sbin/rtsold does the job you described, but do you mean
it doesn't meet your requirement?

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Ignatios Souvatzis
2008-03-01 08:38:42 UTC
Permalink
Post by JINMEI Tatuya / 神明達哉
At Fri, 29 Feb 2008 18:22:35 +0530,
Post by Dutta Dwaip
I am working on a IPv6 project and trying to find code for Router
solicitation for hosts in NetBSD source code as per RFC 2461.
However I couldn't find source code for sending router solicitation
when interface comes UP. Is this not implemented in NetBSD?
I'd think /usr/sbin/rtsold does the job you described, but do you mean
it doesn't meet your requirement?
I thought I answered already, but don't see the copy - the one-off
variant of rtsold, rtsol, would do the job if called from an ifwatchd
"up" (or "carrier up") script.

-is
--
seal your e-mail: http://www.gnupg.org/

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Dutta Dwaip
2008-03-01 07:29:17 UTC
Permalink
Yes, I was looking for some function like rs_output() which would be
called when interface comes up (or other conditions as described in
RFC). But looks like, such
implementation is not there.
Is there any specific reason for not having it as part of Kernel? RFC
marks router solicitation requirement as "SHOULD" .
Does this mean that most of the IPV6 implementation at hosts doesn't
send router solicitation by default when interface comes UP?


Thanks,
DD
Post by JINMEI Tatuya / 神明達哉
At Fri, 29 Feb 2008 18:22:35 +0530,
Post by Dutta Dwaip
I am working on a IPv6 project and trying to find code for Router
solicitation for hosts in NetBSD source code as per RFC 2461.
However I couldn't find source code for sending router solicitation
when interface comes UP. Is this not implemented in NetBSD?
I'd think /usr/sbin/rtsold does the job you described, but do you mean
it doesn't meet your requirement?
I think he was looking for it in kernel. Having basic functionality
like that implemented as a userland application is not really
intuitive for many people.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Trevor Talbot
2008-02-29 23:50:37 UTC
Permalink
Post by JINMEI Tatuya / 神明達哉
At Fri, 29 Feb 2008 18:22:35 +0530,
Post by Dutta Dwaip
I am working on a IPv6 project and trying to find code for Router
solicitation for hosts in NetBSD source code as per RFC 2461.
However I couldn't find source code for sending router solicitation
when interface comes UP. Is this not implemented in NetBSD?
I'd think /usr/sbin/rtsold does the job you described, but do you mean
it doesn't meet your requirement?
I think he was looking for it in kernel. Having basic functionality
like that implemented as a userland application is not really
intuitive for many people.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
JINMEI Tatuya / 神明達哉
2008-03-01 07:40:06 UTC
Permalink
At Sat, 1 Mar 2008 12:59:17 +0530,
Post by Dutta Dwaip
Yes, I was looking for some function like rs_output() which would be
called when interface comes up (or other conditions as described in
RFC). But looks like, such
implementation is not there.
Is there any specific reason for not having it as part of Kernel?
Just like DHCP or routing daemons are running in the user space. In
general, we wanted to implement as many things as possible there,
rather than making the kernel super rich. We actually wanted to
implement the processing of incoming RAs in the user space, too, but
we ended up leaving it in the kernel because it's so tightly to layer
2 information, which is hard to access from normal applications.
Post by Dutta Dwaip
RFC
marks router solicitation requirement as "SHOULD" .
Does this mean that most of the IPV6 implementation at hosts doesn't
send router solicitation by default when interface comes UP?
You seem to be confused about implementation issues and operational
issues. In general, and in my understanding, RFCs'
SHOULD/MUST/whatever are implementation requirements. And whether
it's implemented in the kernel or in the user space is just a matter
of design choice (where different people often have different
opinions, of course). Whether the implemented feature is enabled or
not is an operational issue, for which IETF basically has no business.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Hubert Feyrer
2008-03-01 19:45:29 UTC
Permalink
Post by JINMEI Tatuya / 神明達哉
I'd think /usr/sbin/rtsold does the job you described, but do you mean
it doesn't meet your requirement?
You want rtsol(8) to send a single router solicitation.
rtsold(8) is to do this repeatedly, which -- I suppose -- is intended
for roaming situations.


- Hubert
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...