[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 15:34:02 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=400
--- Comment #4 from Luis <cortes at gatech.edu> 2008-11-05 18:34:02 EDT ---
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.
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...
--
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