[ns] After destination address translation

zhen at cs.dal.ca zhen at cs.dal.ca
Tue Apr 12 08:11:04 PDT 2005


yeah, you are right, I tested it by myself, the wired packets don't go
through DSDV.

Then I tried to just intercept the packets at HierClassifier and translate
addresses and release them to let them go along normal course, i.e. go up
along hierclassifier, hoping they will be deliverred to the right place
automatically. But I kept getting errors, telling me "no-slot". So do I
need to populate the hier-classifier using the route to the new
destination? I assume all the nodes in the simulation've already known the
routes to each other.

This's been a real headache..

best


> did u check the example for wired cum wireless scenaro? Whenever BS
> recices a packet which is destined out of its domain BS route the packet
> in wired network
>
>
> I think routing agent is present only in mobile nodes not in wired
> nodes.
>
> Packet is routing is happening using links in wired nodes.
>
> On Tue, 2005-04-12 at 06:04, zhen at cs.dal.ca wrote:
>
>> in a Base Station node, I tried to translate the dst address of received
>> packets (from MN) to another address, hoping they can be forwarded to
>> another router(on wired network, vs. wireless network). but I got all
>> the
>> packets being dropped due to IFQ ARP error.
>>
>> I tried to intercept packets in HierClassifier.recv() and then called
>> default_target_->recv() to forward translated packets to DSDV routing
>> agent. I doubt it's the routing agent, which is DSDV. How can DSDV agent
>> route packets to routers in a wired domain since it's an ad-hoc routing
>> protocol?
>>
>>
>> Any help will be appreciated.
>>
>> Zhen
>>
> --
>
> Beginners guide to ns2
> http://www.geocities.com/rajesh_s_george/ns-beg.html
>
>




More information about the Ns-users mailing list