[ns] Urgent: Confusion in Hierarchical Routing

55ahmad at niit.edu.pk 55ahmad at niit.edu.pk
Sun Jun 5 22:45:32 PDT 2005


Dear Michael Lee,

  I am afraid, I haven't received any answer of my questions from any NS
user yet. But i m pleased to inform my personal investigation on
question number 2. Actually the address in trace file comes in a
hierarchical format but it is stored in "int" which converts the ip
address into 7 or 8 digit number. You can correct this ambiguity by
modifing ip_format() method mentioned in cmu-trace.cc file. please
change the -Hd %d to -Hd %s and display nxt_hop for this %s. The nxt_hop
is assigning a value by:
char *nxt_hop = Address::instance().print_nodeaddr(iph->saddr());

This is the only answer that i got by my personal efforts. I am waiting
may be some expert answer my other questions. Thank you Michael for your
query. If u have any further question, please don't hesitage to ask it to
me.


Best Regards,

Ahmad Ali Iqbal
MS(IT)-4 (Network Technologies)
NUST Institute of IT, Rawalpindi
Pakistan.




> Ahmad,
>
> Could you please forward all responses to this email you got (if any).
> I had the exact same question you did.
>
> Thanks,
>
> Michael Lee
>
> Electrical & Computer Engineering
> NC State University
> melee3 at ncsu.edu
>
>
>
> 55ahmad at niit.edu.pk wrote:
>
>>Dear fellows and Researchers,
>>   I have confusion in wired-cum-wireless network's routing. I shall be
>>grateful, if you answer and help me solving my issues. The questions
>>are:
>>
>>1- In wired-cum-wireless networks, DSDV is the only protocol that can be
>>used. Please tell me that which routing protocol is working in the wired
>>portion of such networks (RIP, IGRP or OSPF etc).
>>
>>2- The addresses generated in trace files for wired nodes are in
>> numerical
>>form of upto 7 digits instead of hierarchical or IP address for wireless
>>portion traces (but in wired trace entries, it is ip address). My
>> question
>>is that which function or module converts in to a number? is there anyway
>>that hierachical (ip address) is shown?
>>
>>3- why there is only a single ip address for wired and wireless
>> interfaces
>>of base station node?
>>
>>   Your kind favour shall be highly appriciated.
>>
>>Best Regards,
>>Ahmad Ali Iqbal
>>MS(IT)-4 (Network Technologies)
>>NUST Institute of IT, Rawalpindi
>>Pakistan.
>>
>>
>



More information about the Ns-users mailing list