Subject: RE: IPv6 routing with non-ppp interfaces
To: 'Richard Braun' <tech-net@NetBSD.org>
From: Konstantin KABASSANOV <Konstantin.Kabassanov@lip6.fr>
List: tech-net
Date: 09/28/2004 12:03:21
This is a multi-part message in MIME format.
------=_NextPart_000_03D9_01C4A553.2462F470
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
> -----Original Message-----
> From: tech-net-owner@NetBSD.org [mailto:tech-net-owner@NetBSD.org] On
> Behalf Of Richard Braun
> Sent: mardi 28 septembre 2004 11:42
> To: tech-net@NetBSD.org
> Subject: Re: IPv6 routing with non-ppp interfaces
>
> On Tue, Sep 28, 2004 at 11:36:59AM +0200, Konstantin KABASSANOV wrote:
> > >
> > > /sbin/route -q add -inet6 2001:7a8:432d:1:: -prefixlen 64
fe80::%fxp1
> > >
> > > I tried with -interface too, nothing new. I'm using NetBSD/i386
> > > 1.6.2_STABLE
> > > btw.
> > >
> >
> > [KK]
> > A local-link address like "fe80::" seems a little bit strange...
> Supposing
> > that it is the next hop router address over the fxp1 interface, are
you
> > sure the address is the correct one?
> >
> > Konstantin
>
> There is a line about the fe80::%fxp1 destination in the routing table :
> fe80::%fxp1/64 link#2 UC
> 0 0 - fxp1
>
> It should be the correct address. However, I've only tested this kind of
> addresses on PPP interfaces (including gif tunnels). You said your
> configuration was working. How did you configure your routing then ?
>
> --
> Richard Braun
[KK]
This entry means only that all link-local addresses on the fxp1 interface
can be joined through this interface.
If you you have a topology like the following:
---------------------RouterA-------------------------RouterB--------------
--
2001:7a8:432d:2::/64 fe80::....(1) fe80::...(2)
2001:7a8:432d:1::/64
any you want to route packets from 2001:7a8:432d:2::/64 to
2001:7a8:432d:1::/64 between RouterA and RouterB (with link-local
addresses obly), you have to use :
/sbin/route -q add -inet6 2001:7a8:432d:1:: -prefixlen 64
fe80::...(2)%fxp1
on RouterA where fe80::...(2) is the link-local address of RouterB.
Is it what you want?
Konstantin
------=_NextPart_000_03D9_01C4A553.2462F470
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILszCCA2Qw
ggJMoAMCAQICAQAwDQYJKoZIhvcNAQEEBQAwKzELMAkGA1UEBhMCRlIxDTALBgNVBAoTBENOUlMx
DTALBgNVBAMTBENOUlMwHhcNMDEwNDI3MDU0NDM2WhcNMjEwNDIyMDU0NDM2WjArMQswCQYDVQQG
EwJGUjENMAsGA1UEChMEQ05SUzENMAsGA1UEAxMEQ05SUzCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAN13q/Hq/Hi1FKHcd2JWl4wvt1TCTFSm1H0iR3t0qffjrXxVshTwSF2YjwK9khG2
iE/EFfVvWFv3ibUn6q+g/KCOiIaPnyS2kE4k3GfQT49+Vi0bKAdysRdnoA7bQk7DfLQloviMBLGp
gl2Mj9SDe+6qn9fS2/ZbbsKBENaaq12IHDbKBWRoS4uewFCUI/22KLWvXaTdpsXT2FcrPvi1usTY
/xIiXyRpB2LkNEoId8owu+zT7XWQaKKMcXIn3hUmLCUhhCqeVxiBciO9Zh8P47e9F9oSuhlU9Bwt
j3FSM7G2KLZ6aMuaTVI4+kiMwUuJlo/GF1vLuQ4OgVwaxzQ5V70CAwEAAaOBkjCBjzAMBgNVHRME
BTADAQH/MB0GA1UdDgQWBBRW62i50lx+mLWlU8ORb2NYxPlrtzBTBgNVHSMETDBKgBRW62i50lx+
mLWlU8ORb2NYxPlrt6EvpC0wKzELMAkGA1UEBhMCRlIxDTALBgNVBAoTBENOUlMxDTALBgNVBAMT
BENOUlOCAQAwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBAUAA4IBAQA418MpvHp3ol4WR0mGXtAZ
OGregQgCuaegAqaIuA3iSTXO5qqiNNL5o4Q3mhXpWSu3vcwRrikhj4+ROfqdd+LoOersLtbKSEci
TGWx07Z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