[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Network/IP (raw IP) agent in emulation



Hi

I am trying to get the Network/IP agent to send out
packets out on the local ethernet interface on
ns-version 2.1b7a . Is this possible? The
documentation says the interface does not have to be
specified, and the IP Routing tables will do the job
of sending the packet out of whichever interface is
given by the kernel routing tables.

The (partial) netstat -rn output on my RedHat Linux
6.2 machine is given below:

Destination	Gateway        GenMask         Iface
9.184.208.0     0.0.0.0        255.255.255.0    eth0
127.0.0.0       0.0.0.0        255.0.0.0        lo
0.0.0.0         9.184.208.254  0.0.0.0          eth0

However, a packet sent out by the IP agent destined
for 9.184.208.127 is sent on the loopback
interface(lo), and not on eth0(as observed by tcpdump)

I will be grateful if someone can help me with the
problem, or point out any mistake I am making.The ns
script that I have attached here is based on the
script given in Kevin Fall's paper on 'Network
Emulation in the Vint/NS Simulator'.I have used
Proxy-ARP on the pinging client
machine(9.184.208.127).

Regards
Anurag Goel

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

echo.tcl