Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Brian Haley <Brian.Haley@nospam_hp.com>
Subject: Re: IPv6 and default gateway
Date: Mon, 09 May 2005 15:30:09 GMT	[thread overview]
Message-ID: <5mLfe.5088$VC4.284@news.cpqcorp.net> (raw)
In-Reply-To: <d5fjoe$1tll$1@news.cc.tut.fi>

Ilkka Karvinen wrote:
> My network has native IPv6 with IPv4 and I have a small IPv6 global
> subnet to use as a link to my router which I am supposed to use
> as a gateway network to IPv6 world.
> 
> However, I can't use that global subnet at all. Instead, I need to
> use link-local address fe80:... of my router as my gateway address to IPv6
> world.

Your link-local address is only valid on that link, the router will not 
forward it.

> If I try to use the addresses of the global IPv6 subnet, the IPv6 packets
> never reach the other end of the gateway. There are icmp6 packets floating
> in the network looking for an owner for these global addresses and no
> answers.

And what are these packets floating around?  A tcpdump trace would be 
helpful, for example "tcpdump -i ee0 -vv -s 1500 icmpv6".

> My question is, why do I need to use a link-local address as a gateway
> address in Tru64? I wouldn't like to because if the router's interface
> is changed, that link-local address doesn't work anymore. Is there any
> other way to do this?

What does your IPv6 routing table look like (netstat -rnf inet6) ?  By 
just bringing-up IPv6 you should see a default route something like this:

default          fe80::210:64ff:fe30:1ad3 U           0        0  ee0

This is a catch-all route with very low precedence (255).

When you receive a Router Advertisement with a non-zero lifetime, you 
will add a default route:

default          fe80::a00:2bff:fe2d:2b2 UG          0        8  ee0

That will always be "through" a link-local address since the RA is sent 
from that address.  You can verify this with tcpdump.

When the router is re-configured your system should automatically update 
the default route, you don't need to do anything.  Maybe you are adding 
routes with the route command?

-Brian


      reply	other threads:[~2005-05-09 15:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-06 11:17 IPv6 and default gateway Ilkka Karvinen
2005-05-09 15:30 ` Brian Haley [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox