[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zebra
Subject:    [zebra 20808] Re: Problem about OSPF6 routing table-->Linux kernel
From:       "Zhang haofeng" <zhanghf () blrcsv ! china ! bell-labs ! com>
Date:       2003-11-28 2:47:07
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


 Yes, OSPF6d runs well on my machine. I know the fault now: when ospf6d redistributes \
IPv6 routes to linux kernel, it just sets the metric value to 0 (but ospfd does it as \
a correct way.). To revise the bug, you have to modify some functions, both in OSPF6d \
and Zebra.  
  ----- Original Message ----- 
  From: XuLijian 
  To: zebra@ml.zebra.org 
  Sent: Friday, November 28, 2003 10:18 AM
  Subject: [zebra 20807] Re: Problem about OSPF6 routing table-->Linux kernel


  Yes, I have the same problem,but the ospf6d can work well. I configured the ospf6d \
                almost using the default parameter.
    ----- Original Message ----- 
    From: Zhang haofeng 
    To: zebra@ml.zebra.org 
    Sent: Wednesday, November 26, 2003 2:58 PM
    Subject: [zebra 20772] Problem about OSPF6 routing table-->Linux kernel


    Dear all,
        You know I am running Zebra-0.93b on a Linux machine. But there is a strange \
phenomenon when I am using OSPF6d routing:  Zebra can calculate the metric value for \
each OSPFv3 route correctly, which I can check from the "telnet localhost 2606" \
console. But after Zebra redistributes these OSPFv3 routes to Linux kernel, the \
metric is always set to 0. And Linux kernel displays as "1024" when I using "route -A \
inet6". But OSPFv2 has not this strange behavior.   And I checked the source code, in \
function "rib_add_ipv6()" of file "./zebra/rib.c", I found the metric value is always \
to 0, when Zebra redistributes IPv6 routes to Linux kernel (See function \
rib_process()). Is this behavor correct? How can I get the correct metric value of \
                IPv6 routes in Linux kernel?
        I will really appreciate if you can give me, a layman to Zebra, some help. \
:-)  Thanks,

    Lyon
    Bell-Labs, Lucent Technologies.
    2003-11-26


----------------------------------------------------------------------------


    _______________________________________________
    Zebra mailing list
    Zebra@ml.zebra.org
    http://ml.zebra.org/mailman/listinfo/zebra



------------------------------------------------------------------------------


  _______________________________________________
  Zebra mailing list
  Zebra@ml.zebra.org
  http://ml.zebra.org/mailman/listinfo/zebra


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.3809.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Times New Roman">&nbsp;Yes, OSPF6d runs well on my machine. I 
know the fault now: when&nbsp;ospf6d redistributes&nbsp;IPv6 routes to linux 
kernel, it just&nbsp;sets the metric value to&nbsp;0 (but ospfd does it as a 
correct way.). To revise the bug, you&nbsp;have to modify some functions, both 
in OSPF6d and Zebra.</FONT></DIV>
<DIV><FONT face="Times New Roman">&nbsp; </FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; \
PADDING-LEFT: 5px; PADDING-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:xulj@scut.edu.cn" title=xulj@scut.edu.cn>XuLijian</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:zebra@ml.zebra.org" 
  title=zebra@ml.zebra.org>zebra@ml.zebra.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, November 28, 2003 10:18 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [zebra 20807] Re: Problem about 
  OSPF6 routing table--&gt;Linux kernel</DIV>
  <DIV><BR></DIV>
  <DIV><FONT color=#000080 face=Ð ËÎÌå size=2>Yes, I have the same problem,but the 
  ospf6d can work well. I configured the ospf6d almost using the default 
  parameter.</FONT></DIV>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; \
PADDING-LEFT: 5px; PADDING-RIGHT: 0px">  <DIV style="FONT: 9pt ËÎÌå">----- Original \
Message ----- </DIV>  <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 9pt ËÎÌå; font-color: black"><B>From:</B> <A 
    href="mailto:zhanghf@blrcsv.china.bell-labs.com" 
    title=zhanghf@blrcsv.china.bell-labs.com>Zhang haofeng</A> </DIV>
    <DIV style="FONT: 9pt ËÎÌå"><B>To:</B> <A href="mailto:zebra@ml.zebra.org" 
    title=zebra@ml.zebra.org>zebra@ml.zebra.org</A> </DIV>
    <DIV style="FONT: 9pt ËÎÌå"><B>Sent:</B> Wednesday, November 26, 2003 2:58 
    PM</DIV>
    <DIV style="FONT: 9pt ËÎÌå"><B>Subject:</B> [zebra 20772] Problem about OSPF6 
    routing table--&gt;Linux kernel</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face="Times New Roman">Dear all,</FONT></DIV>
    <DIV><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp; You know I am running 
    Zebra-0.93b on a Linux machine. But there is a strange phenomenon when I am 
    using OSPF6d routing:</FONT></DIV>
    <DIV><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp; Zebra can calculate the 
    metric value for each OSPFv3 route correctly, which I can check from the 
    "telnet localhost 2606" console. But after Zebra redistributes these OSPFv3 
    routes to Linux kernel, the metric is always set to 0. And Linux kernel 
    displays as "1024" when I using "route -A inet6". But OSPFv2 has not this 
    strange behavior. </FONT></DIV>
    <DIV><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp; And I checked the 
    source code, in function "rib_add_ipv6()" of file "./zebra/rib.c", I found 
    the metric value is always to 0, when Zebra redistributes IPv6 routes to 
    Linux kernel (See function rib_process()). Is this behavor correct? How can 
    I get the correct metric value of IPv6 routes in Linux kernel?</FONT></DIV>
    <DIV><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp; I will really 
    appreciate if you can give me, a layman to Zebra, some help. 
> -)</FONT></DIV>
    <DIV><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp; Thanks,</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Times New Roman">Lyon</FONT></DIV>
    <DIV><FONT face="Times New Roman">Bell-Labs, Lucent 
    Technologies.</FONT></DIV>
    <DIV><FONT face="Times New Roman">2003-11-26</FONT></DIV>
    <P>
    <HR>

    <P></P>_______________________________________________<BR>Zebra mailing 
    list<BR>Zebra@ml.zebra.org<BR>http://ml.zebra.org/mailman/listinfo/zebra<BR></BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Zebra mailing 
  list<BR>Zebra@ml.zebra.org<BR>http://ml.zebra.org/mailman/listinfo/zebra<BR></BLOCKQUOTE></BODY></HTML>




_______________________________________________
Zebra mailing list
Zebra@ml.zebra.org
http://ml.zebra.org/mailman/listinfo/zebra


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic