[Ns-bugs] [Bug 400] Wifi Muti-Hop Network not forwaring packets (atleast ARP)

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Nov 5 21:34:55 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=400


Tom Henderson <tomh at tomh.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #5 from Tom Henderson <tomh at tomh.org>  2008-11-06 00:34:55 EDT ---
(In reply to comment #4)
> I think my explanation was too complicated. So here is what I think it should
> do.
> 
>      WIRED CSMA             WIRELESS CHANNEL
>    ______________
>    O            O  ))          (( O ))           (( O
>    N3           N0                N1                N2  
> 
> When N2 is going to Tx to N3, it sends his packets to the next hop which is N1,
> with final destination N3.N2 does this by broadcasting an ARP for N1. N1
> replies, and gets the packet, and knows that to get to N3, it needs to use the
> next hop N0. Again ARP is sent from N1. N0 replies, gets the packet and knows
> it has to send it to N3 through interface 0. It broadcasts an APR and N3
> responds. 
> 
> Is this correct? that is the only way I see this works on real networks, since
> ARP is broadcast. 

I agree.

> 
> Mathieu, setting the nodes up with different /32 address makes the global
> routing crash. I changed
> 
>   Ipv4InterfaceContainer wifiInterfaces;
>   wifiInterfaces = address.Assign (wifiDevices);
> 
> To
> 
>   address.Assign (wifiDevices.Get(0));
>   address.NewNetwork();
>   address.Assign (wifiDevices.Get(1));
>   address.NewNetwork();
>   address.Assign (wifiDevices.Get(2));
> 
> and Global routing crashes...
> 

I will try to debug the global routing problem tomorrow.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list