Alex,

See in line below between <hs> and </hs>.
 

-----Original Message-----
From: Alexandru Petrescu [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2008 5:17 PM
To: Hemant Singh (shemant)
Cc: Silviu VLASCEANU; [email protected]
Subject: Re: [NDP] Router autoconfiguration with RS/RA

Hemant Singh (shemant) wrote:
> Silviu,
> 
> A router can receive an RA on the router's upstream

Yes it can.  It uses it to report whether some things went wrong, log
stuff, but don't act.

> and use this RA to autoconfigure the ipv6 address on interface(s) of  
> the router.

Usually no, it can not.  A particular case of a Mobile Router away from
home can auto-configure an address on its egress interface with
stateless autoconf.  But a non-mobile router (not implementing rfc3963)
can't and it shouldn't.

A router is something that forwards packets.  A linux router can't
auto-configure an address once one sets the forwarding=1.  A Cisco
router I have doubts, but it doesn't mean it follows rfc.

<hs> I said in my first reply, I am talking about RFC4861 and 4862 -
core ND RFC's. The questions raised
     were discussing core ND RFC's, not any mobility or RFC3963.
Further, a router has to be configured for data
     forwarding/routing before the router forwards packets - it is this
router configuration that is the point 
     of discussion.
</hs>

> Such a router interface configuration is no different from how a host

> interface statelessly autoconfigures as per ND RFC 4861 and 4862.
> However, ND RFC's do not mandate what does a router implementation do

> for sending RA, configuring network prefixes in the router downstream 
> direction - these are conceptual variables that a router vendor is 
> left to do what they want to do.

Not sure what you mean left to vendors? 

<hs>
I was referring to conceptual router variables from section 6.2.1 of
RFC4861. A router is supposed to provide
such variables as external configuration means, but how a router
implements the variables internally is left
to router vendors. 
</hs>

there are some precisely defined corner cases for configuring routers
downstreams like DHCPv6-PD followed eventually by Router Renumbering.

And, in most cases, assigning addresses to routers is part of a network
planning procedure performed by humans on paper, designed and redesigned
before being deployed; some call it architecting the network.  That's a
good reason for manually (or via SNMP, or other proprietary tool) to
configure addresses on routers, and not with stateless autoconf.

<hs>Ole also replied in this regard. An interface, in host mode, on a
router is legal to autoconfigure its IPv6 address 
    using stateless autoconfiguration. If the upstream RA advertised a
prefix and prefix length to the 
    interface, then interface is also legal to forward packets to that
prefix subnet. The reason is because a host 
    has to add the prefix to Prefix List if on-link L-bit was set in the
received RA. Traffic to host addresses
    that fall within the prefix for on-link is forwarded out by the
interface. Even traffic to an off-link address 
    is legal to send out this interface because the traffic is sent to a
default router. 
</hs>

> 
> As to answering your question which was:
> 
> "Why wouldn't a router be authorized to send Router Sollicitation 
> messages?"
> 
> here is my reply.
> 
> As far as the interface on the router has no RA configured, and the 
> interface is configuring an IPv6 address using stateless 
> autoconfiguration or even manual configuration, this interface is OK  
> to send an RS in the router downstream. However, soon as any RA 
> configuration for router downstream is configured on the network 
> interface, then ND prohibits a router to send any RS.
> 
> Furthermore, I totally agree with Remi on his reply to this question  
> of yours:
> 
> "The same question for autoconfiguring the prefix it advertises on its

> subnets."
> 
> You cannot mix router upstream and downstream operations in random 
> fashion. IPv6 stateless autoconfiguration does not support prefix and

> router configuration of an upstream router. One should be careful 
> discussing router downstream vs. router upstream directions for 
> address configuration, routing configuration, and IPv6 ND RA 
> configuration.

Well I wouldn't even talk upstream/downstream, just routers and maybe
default-free routers are very special.

<hs>The subject of this original discussion is configuration. 
The original discussion also asked a question as to why when a router
downstream sends RA's to hosts
to configure themselves, why couldn't such RA mechanisms be used for
router upstream direction to configure the
router or interface(s) on the router. That is why I raised (and Ole
commented on too) the router upstream vs.
downstream directions. Also, notice that ND RFC4861 and 4862 specify
details for router behavior for sending RA's
in router downstream and how hosts configure themselves on receiving
such RA's. RFC4861 is silent (and rightfully
so) about router behavior related to interactions between ipv6 address
configuration, routing configuration, and IPv6 ND 
RA configuration.
</hs>

Hemant

Alex


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--------------------------------------------------------------------
IETF IPv6 working group mailing list
[email protected]
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Reply via email to