netdev
[Top] [All Lists]

Re: IPv6 next hop routing by static host routes

To: Jürgen Nagler <juergen.nagler@xxxxxxxxxxxxxxxxxx>
Subject: Re: IPv6 next hop routing by static host routes
From: "Venkata Jagana" <jagana@xxxxxxxxxx>
Date: Mon, 29 Oct 2001 12:18:36 -0800
Cc: Pekka Savola <pekkas@xxxxxxxxxx>, netdev@xxxxxxxxxxx
Importance: Normal
Sender: owner-netdev@xxxxxxxxxxx


Hello Juergen,

>> When configuring routes:
>>
>> node_left:
>> ifconfig eth1 add fec0::202:2dff:fe02:6f3
>> route -A inet6 add fec0::202:2dff:fe0d:b94a dev eth1
>> route -A inet6 add fec0::202:2dff:fe05:400c gw fec0::202:2dff:fe0d:b94a
>>                                                ^^^^
>>
>> please try using fe80 instead; next-hops should be link-local addresses.

> I knew and tried before but always with the same result:

># route -A inet6 add fec0::202:2dff:fe0 gw
> fe80::202:2dff:fe0d:b94a
> SIOCADDRT: Invalid argument

I guess the problem is not the link-local address, you can specify
site-local addresses too and I had created route entries statically
earlier for site-local addresses without any problem.

Have you ever tried providing the prefix for the destination address
(or network) in your route command?

Not sure what the length of your network prefix is but here is the example

For eg. route -A inet6 add fec0::202:2dff:fe0/<prefix len>
 gw fe80::202:2dff:fe0d:b94a <dev name>

Thanks,
Venkat

----------------------------------------------------------------
Venkata R Jagana
IBM Linux Technology Centre, Beaverton
jagana@xxxxxxxxxx
Tel: (503) 578 3430 T/L 775-3430


<Prev in Thread] Current Thread [Next in Thread>