Index: [Article Count Order] [Thread]

Date: Mon, 9 May 2005 14:44:46 +0900
From: Yukiyo Akisada <Yukiyo.Akisada@jp.yokogawa.com>
Subject: [users:00007] Re: A small  bug on route.rmt
To: Lvly@nanjing-fnst.com
Cc: users@tahi.org
Message-Id: <20050509144446.558e171f.Yukiyo.Akisada@jp.yokogawa.com>
In-Reply-To: <00fe01c55435$09370dd0$6a04a8c0@lly>
References: <00fe01c55435$09370dd0$6a04a8c0@lly>
X-Mail-Count: 00007

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>