Network Traffic Generation
Daniel Feiglin
dilogsys at inter.net.il
Fri Mar 13 14:49:39 IST 2009
Hello folks!
I'm trying to use a Linux box as a packet traffic generator. It has two
NICs configured with fixed IP addresses, 192.168.2.100/101. For testing
purposes, I connected the two NICs to each other with a crossed network
cable (hardware loopback). For what it's worth, they can both be pinged
from the host and the ifconfig output looks fine.
Later, the crossed cable will be replaced by a radio link (which relates
to the purpose of all this).
To carry out the packet generation, I downloaded and built the iperf
program (http://sourceforge.net/forum/forum.php?forum_id=808751).
I'd like to sent stuff from .100 to .101 using the client and server
instances of iperf in two console sessions and (later) monitor what's
happening with tcpdump from a third session.
For various reasons, it's not working. (I have successfully done it
using two machines on either side of the radio link, which is the
"standard" method.)
Has anyone on the list done this (using iperf or something similar)
using a single box with two NICs?
Regards,
Daniel
P.S. I'll supply further background material if there is interest in
this subject.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dilogsys.vcf
Type: text/x-vcard
Size: 297 bytes
Desc: not available
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090313/fd4ed7d4/attachment.vcf>
More information about the Linux-il
mailing list