On Mon, 2006-05-08 at 14:34 -0500, Kevin McMahon wrote:

> 
>     eth0 - main corp network, MTU 1500, with switch
>     eth1 - private point-to-point network, MTU 9000, direct connect, no switch
> 
> 
> 
>   For example, 
> 
>   # WORKS! ...
> 
>     ping6 -I eth1 <ipv6_addr> 
> 
>   works fine.  But, my attempt to add a default route with the
> ip command did not allow the following to work...
> 
>   # FAILS! ...
> 
>     ping6 <ipv6_addr> 

I bet you are using link-local addresses (fe80::xxxx).


> vortix 112% ifconfig -a eth0
> eth0      Link encap:Ethernet  HWaddr 08:00:69:13:DF:F5  
>           inet addr:192.102.99.141  Bcast:192.102.99.255  Mask:255.255.255.0
>           inet6 addr: fe80::a00:69ff:fe13:dff5/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:359619 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:73360 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:28105748 (26.8 Mb)  TX bytes:68866550 (65.6 Mb)
>           Interrupt:62 
> 
> vortix 113% ifconfig -a eth1
> eth1      Link encap:Ethernet  HWaddr 08:00:69:12:69:92  
>           inet addr:192.168.101.1  Bcast:192.168.101.255  Mask:255.255.255.0
>           inet6 addr: fe80::a00:69ff:fe12:6992/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:0 (0.0 b)  TX bytes:612 (612.0 b)
>           Interrupt:69 
> 

Yep.  When using link-locals you have to specify the interface because
linux doesn't have the concept of default interface.  Default route
rules don't apply when using link-locals.

You need to create an address of the scope larger then link local.  You
can use site locals (fec0::/8) or ULA (fc01::/8) or even steal an a
global prefix [just for this test] (2001::/8) on that interface and then
specify a default route.

-vlad

---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to