Index: [Article Count Order] [Thread]

Date: Mon, 9 May 2005 13:53:05 +0800
From: "Lv Liangying" <Lvly@nanjing-fnst.com>
Subject: [users:00008] Re: A small  bug on route.rmt
To: "Yukiyo Akisada" <Yukiyo.Akisada@jp.yokogawa.com>
Cc: <users@tahi.org>
Message-Id: <01de01c5545b$5ecb3520$6a04a8c0@lly>
References: <00fe01c55435$09370dd0$6a04a8c0@lly> <20050509144446.558e171f.Yukiyo.Akisada@jp.yokogawa.com>
X-Mail-Count: 00008

Hi, all

"::" is unspecified address
"::/0" is default route.

So I think it should use "::/0"

Regards

----- Original Message ----- 
From: "Yukiyo Akisada" <Yukiyo.Akisada@jp.yokogawa.com>
To: <Lvly@nanjing-fnst.com>
Cc: <users@tahi.org>
Sent: Monday, May 09, 2005 1:44 PM
Subject: Re: [users:00005] A small bug on route.rmt


> Hi, all.
> Is there linux guys, here?
> 
> Linux interface is sometime changing.
> And we aren't follow it.
> 
> Please give us suggestion.
> Which should be used? "::" or "::/0".
> 
> Regards.
> 
> 
> On Mon, 9 May 2005 09:18:41 +0800
> "Lv Liangying" <Lvly@nanjing-fnst.com> wrote:
> 
>> Hello, all
>> 
>> I found a small bug on route.rmt. The version of v6eval is 2.3.1
>> 
>> I am using TAHI to test Linux IPv6, when I test pmtu#1, I encountered a problem. TN need to add route in NUT.it will call route.rmt, In which it defines the route command:
>> 
>> v6eval/bin/remotes/linux-v6/route.rmt
>> 
>> if ($rOpt_addrfamily eq "inet6") {
>>     if ($rOpt_prefix eq "default") {
>>  rCommand("$ROUTECMD ".
>>    "-A $rOpt_addrfamily ".
>>    "$NUT_cmd ".
>>    ":: ".
>>    "gw $rOpt_gateway ".
>>    "dev $rOpt_if",
>>    $rOpt_timeout) || goto error;
>>     } 
>> 
>> It says if our family equal "inet6" and prefix equal "default", then when use route add command then it will change to "::", isn't it?
>> But I think it shall change to "::/0", which means default route. 
>> What's your opinion?
>> 
>> 
>> BTW: why do you change it to "::" or "::/0"? Doesn't it just mean default?
>> 
>> Thank you in advance!!
>> 
>> B.R. Lv Liangying
> 
> 
> ----
> Yukiyo Akisada <Yukiyo.Akisada@jp.yokogawa.com>