Re: Simulating a network on linux.

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

 



On Fri, 2003-09-19 at 09:44, DavidHo@nanometrics.ca wrote:
> Hi,
> 
> I am currently given the task to hook up a proprietory bus to the IP stack.
> What this amounts to is having to replace the hardware driver and the
> ethernet header to use our own hardware and our own (nmxbus) header to
> carry the IP/ARP payload.  The next hurdle I'm running into is testing ARP
> with the new header.  The first idea I have come up with is creating two
> nmxbus interfaces on the same machine that will simple read and write to
> memory to give a virtual connection between the two interfaces.  The two
> interface will be given addresses in the same subnet to be able to exchange
> ARP messages.  What I'm struggling with is whether there is a way I can
> force the packet to go out a specific interface to the other interface.
> The natural behaviour of the kernel is simply directing the packet to the
> loopback interface.
> 
> Anyone has any insight on this?
> 
> Regards,
> 
> David Ho
> Nanometrics Inc.
> 
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Eight yrs back, when I was at USC's Information Sciences Institute
(www.isi.edu), a part of the work I did involved writing the RTP and
RTCP modules for a protocol testbed known as VINT (Virtual InterNetwork
Testbed @ http://www.isi.edu/nsnam/vint/).

Its a mixture of C++ and Tcl: C++ to model the network elements,
including protocols, and Tcl to control the simulations. If you are
looking at modelling/studying your proprietary bus and its behaviour,
VINT might be useful. For me, VINT was a good tool cos it let me focus
on the protocol behaviour rather than bit level device driver behaviour.

I am sure it has morphed into something more substantial since when I
last worked on it.

-- 

Ranjeet Shetye
Senior Software Engineer
Zultys Technologies
Ranjeet dot Shetye2 at Zultys dot com
http://www.zultys.com/
 
The views, opinions, and judgements expressed in this message are solely
those of the author. The message contents have not been reviewed or
approved by Zultys.


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux