<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Hi all,<BR>
<BR>
As I'm going on holidays for the next 2 weeks, here is the first step of my work about generating IPv6 using TG. I achieve to do that, but the code you can find attached is not yet clean and well documented. I will do that when I'll come back to work.<BR>
<BR>
Anyway, here is an example of IPv6 traffic generation (all the files can be found attached):<BR>
<BR>
°°°°°°°°°°°°°°°°<BR>
CLIENT:<BR>
**********<BR>
<TT>[root@pc06 root]# cat </TT><TT><B>udp_client.tg</B></TT><BR>
<TT>on 0:15 udp 2005:0:0:2::2.40000</TT><BR>
<TT>at 5 setup</TT><BR>
<TT>at 6 arrival constant 0.01 length constant 576</TT><BR>
<TT>time 20</TT><BR>
<TT>[root@pc06 root]# tgv6 -f -i </TT><TT><B>udp_client.tg</B></TT><TT> -o </TT><TT><B>udp_client.tg.out</B></TT><TT></TT><BR>
<TT>[root@pc06 root]# dcatv6 </TT><TT><B>udp_client.tg.ou</B></TT><TT>t > </TT><TT><B>udp_client.tg.txt</B></TT><BR>
<TT>[root@pc06 root]# cat </TT><TT><B>udp_client.tg.txt</B></TT><BR>
<TT>(...)</TT><BR>
<TT>Event Time Type Address Id Length</TT><BR>
<TT>------------------------------------------------------------------------</TT><BR>
<BR>
<TT>5.005877 Setup</TT><BR>
<TT>6.016049 Transmit 2005:0:0:2::2.40000 0 576</TT><BR>
<TT>6.025924 Transmit 2005:0:0:2::2.40000 1 576</TT><BR>
<TT>6.035927 Transmit 2005:0:0:2::2.40000 2 576</TT><BR>
<TT>(...)</TT><BR>
<TT>25.976571 Transmit 2005:0:0:2::2.40000 1996 576</TT><BR>
<TT>25.986556 Transmit 2005:0:0:2::2.40000 1997 576</TT><BR>
<TT>25.996576 Transmit 2005:0:0:2::2.40000 1998 576</TT><BR>
<TT>26.006568 Teardown</TT><BR>
<BR>
And, on an other terminal:<BR>
<BR>
<TT>[root@pc06 root]# tcpdump -i eth0 host 2005:0:0:2::2 -w </TT><TT><B>cap.cap</B></TT><BR>
<TT>tcpdump: listening on eth0</TT><BR>
<BR>
<TT>1999 packets received by filter</TT><BR>
<TT>0 packets dropped by kernel</TT><BR>
<BR>
SERVER:<BR>
************<BR>
<TT>[root@pc08 root]# cat </TT><TT><B>udp_server.tg</B></TT><BR>
<TT>on 0:15 udp 2005:0:0:2::2.40000 server</TT><BR>
<TT>at 1.1 wait</TT><BR>
<TT>[root@pc08 root]# tgv6 -f -i </TT><TT><B>udp_server.tg</B></TT><TT> -o </TT><TT><B>udp_server.tg.out</B></TT><TT></TT><BR>
<BR>
<TT>[root@pc08 root]# killall -9 tgv6</TT><BR>
<TT>[root@pc08 root]# dcatv6 </TT><TT><B>udp_server.tg.out</B></TT><TT> > </TT><TT><B>udp_server.tg.txt</B></TT><TT></TT><BR>
<TT>[root@pc08 root]# cat </TT><TT><B>udp_server.tg.txt</B></TT><BR>
<TT>(...)</TT><BR>
<TT>Event Time Type Address Id Length</TT><BR>
<TT>------------------------------------------------------------------------</TT><BR>
<BR>
<TT>4294967287.228750 Setup</TT><BR>
<TT>6.037133 Receive 2005::6.45306 0 576</TT><BR>
<TT>6.046847 Receive 2005::6.45306 1 576</TT><BR>
<TT>6.056839 Receive 2005::6.45306 2 576</TT><BR>
<TT>(...)</TT><BR>
<TT>25.997967 Receive 2005::6.45306 1996 576</TT><BR>
<TT>26.007976 Receive 2005::6.45306 1997 576</TT><BR>
<TT>26.017968 Receive 2005::6.45306 1998 576</TT><BR>
°°°°°°°°°°°°°°°°<BR>
<BR>
See you soon on the mailling list :<BR>
<BR>
H<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Hugues VAN PETEGHEM
Computer Science Institute - FUNDP
--------------------------------------
Web : <A HREF="http://www.info.fundp.ac.be/~hvp">http://www.info.fundp.ac.be/~hvp</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>