[CUWiN-Dev] question about HSLS

=?EUC-KR?B?wNO/tbrz?= ovinee at gmail.com
Wed Mar 11 00:49:31 CDT 2009


Thank you for your help.
But I got the same result with -o and -O option.

==== with -o option ====
# cat hsls_out
4-ref foreign router lsa interface 10.0.186.28 type bcast masklen 32 index 2
neighbor 10.0.186.60 seqno 345 flags 0x1<UP> metrics [(etx, 65535)]
6-ref original router lsa interface 10.0.154.123 type ptmp masklen 32 index
1 neighbor 10.0.186.28 seqno 66 flags 0x1<UP> metrics [(etx, 65535),
(hopcount, 1), (backplane-hopcount, 0), (network-radius, 1)]
5-ref foreign backplane lsa primary 10.0.186.60 index 2 seqno 0
4-ref foreign router lsa interface 10.0.186.60 type bcast masklen 32 index 2
neighbor 10.0.154.123 seqno 1 flags 0x1<UP> metrics [(etx, 65535)]
4-ref foreign router lsa interface 10.0.186.60 type bcast masklen 32 index 2
neighbor 10.0.186.28 seqno 242 flags 0 metrics [(etx, 65535)]
4-ref foreign router lsa interface 10.0.186.28 type bcast masklen 32 index 2
neighbor 10.0.154.123 seqno 1 flags 0x1<UP> metrics [(etx, 65535)]
5-ref foreign backplane lsa primary 10.0.186.28 index 2 seqno 0
5-ref original backplane lsa primary 10.0.154.123 interface 10.0.154.123
index 1 seqno 0
6-ref original router lsa interface 10.0.154.123 type ptmp masklen 32 index
1 neighbor 10.0.186.60 seqno 9 flags 0x1<UP> metrics [(etx, 65535),
(hopcount, 1), (backplane-hopcount, 0), (network-radius, 1)]

==== with -O option ====
# cat hsls_out
6-ref original router lsa interface 10.0.154.123 type ptmp masklen 32 index
1 neighbor 10.0.186.60 seqno 11 flags 0x1<UP> metrics [(etx, 65535),
(hopcount, 1), (backplane-hopcount, 0), (network-radius, 1)]
5-ref original backplane lsa primary 10.0.154.123 interface 10.0.154.123
index 1 seqno 0
6-ref original router lsa interface 10.0.154.123 type ptmp masklen 32 index
1 neighbor 10.0.186.28 seqno 67 flags 0x1<UP> metrics [(etx, 65535),
(hopcount, 1), (backplane-hopcount, 0), (network-radius, 1)]
4-ref foreign router lsa interface 10.0.186.60 type bcast masklen 32 index 2
neighbor 10.0.186.28 seqno 242 flags 0 metrics [(etx, 65535)]
5-ref foreign backplane lsa primary 10.0.186.60 index 2 seqno 0
4-ref foreign router lsa interface 10.0.186.60 type bcast masklen 32 index 2
neighbor 10.0.154.123 seqno 1 flags 0x1<UP> metrics [(etx, 65535)]
4-ref foreign router lsa interface 10.0.186.28 type bcast masklen 32 index 2
neighbor 10.0.186.60 seqno 345 flags 0x1<UP> metrics [(etx, 65535)]
4-ref foreign router lsa interface 10.0.186.28 type bcast masklen 32 index 2
neighbor 10.0.154.123 seqno 1 flags 0x1<UP> metrics [(etx, 65535)]
5-ref foreign backplane lsa primary 10.0.186.28 index 2 seqno 0

2009/3/10 Bill Comisky <bcomisky at pobox.com>

> On Tue, Mar 10, 2009 at 4:49 AM, 임영빈 <ovinee at gmail.com> wrote:
>
>> Hello
>> I'm testing HSLS routing protocol on my mesh testbed.
>> What I want to do is to bring etx values from hslsd. So using -R option
>> hslsd dumps routing table periodically.
>> Following is an example.
>>
>> 10.0.154.123/32 nexthop 10.0.154.123, ath0, gen 8, [(etx, 0), (hopcount,
>> 0), (backplane-hopcount, 0), (network-radius, 0)]
>> 10.0.186.28/32 nexthop 10.0.186.28, ath0, gen 8, [(etx, 65535),
>> (hopcount, 1), (backplane-hopcount, 0), (network-radius, 1)]
>> 10.0.186.60/32 nexthop 10.0.186.60, ath0, gen 8, [(etx, 65535),
>> (hopcount, 1), (backplane-hopcount, 0), (network-radius, 1)]
>>
>> The problem is that the etx value for one hop neighbor is always 65535
>> which is not reasonable.
>> Even after a long time, it does not change.
>>
>> I couldn't find the version of hslsd, but my main.c code shows some
>> information about the version.
>> $Id: main.c 4756 2007-08-04 06:36:38Z dyoung
>> I run hslsd with this command.
>> hslsd -f inet -t ptmp -i ath0 -m -M etx,hopcount -R /home/root/hsls_out
>>
>> Is there any option needed to get the actual etx values, or am I missing
>> something?
>>
>
> Try dumping the link-states; via the README:
>
> -o viz-dumpfile tells hslsd where to dump link-states in the viz
>>    format when it receives a SIGUSR2 signal (also, dump them
>>    periodically)
>>
>> -O ls-dumpfile tells hslsd where to dump link-states in their
>>    "native" ASCII format when it receives a SIGUSR2 signal (also,
>>    dump them periodically)
>>
>
>  Bill
>
> --
> Bill Comisky
> bcomisky at pobox.com
>



-- 
YoungBin Im
Master Course Student
Multimedia & Mobile Communications Lab.
School of Computer Science and Engineering
Seoul National University, Republic of Korea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.chambana.net/mailman/archive/cu-wireless-dev/attachments/20090311/1b616468/attachment.html


More information about the CU-Wireless-Dev mailing list