From graith@hotmail.com Fri Jan 16 10:48:56 2004 From: graith@hotmail.com (D. G) Date: Fri, 16 Jan 2004 10:48:56 +0000 Subject: [tg] traffic via multiple interfaces Message-ID:
hi all.
 
i was wonddering if it is possible to specify which network interface is used when tg is activated.
 
ie I want to send 2 streams.
 
the first via NIC1 and the second via another network card on the same computer.
 
 
any help much apreciated.
 
regards
dp
 
 


Add photos to your messages with MSN 8. Get 2 months FREE*. From b_a_denny@yahoo.com Fri Jan 16 20:55:26 2004 From: b_a_denny@yahoo.com (Barbara Denny) Date: Fri, 16 Jan 2004 12:55:26 -0800 (PST) Subject: [tg] traffic via multiple interfaces In-Reply-To: Message-ID: <20040116205526.48613.qmail@web14308.mail.yahoo.com> Hi, TG just uses sockets. I don't know if you are trying to reach the same destination or each stream goes to a different destination. If it is to a different destination, you could think about setting static routes to each destination using the appropriate interface. When TG was written I don't remember being able to bind a particular socket to an outgoing interface. I haven't looked at sockets in quite awhile so I don't know if functionality like that exists now in case you actually want to go the same destination. Oh yes, if the kernel supports ToS/QoS/DiffServ routing, you might be able to play some games there. Each stream would have a different DiffServ/Tos/Qos value that maps to the "right" interface based on what routing gave you. Unfortunately, I haven't had the time to keep up what is really offered here. hope this helps, barbara --- "D. G" wrote: --------------------------------- hi all. i was wonddering if it is possible to specify which network interface is used when tg is activated. ie I want to send 2 streams. the first via NIC1 and the second via another network card on the same computer. any help much apreciated. regards dp --------------------------------- Add photos to your messages with MSN 8. Get 2 months FREE*._______________________________________________tg mailing listtg@postel.orghttp://www.postel.org/mailman/listinfo/tg __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From MRafter@Vianetworks.com Mon Jan 19 16:41:00 2004 From: MRafter@Vianetworks.com (Rafter, Marcel) Date: Mon, 19 Jan 2004 16:41:00 -0000 Subject: [tg] Possible mem leak? Message-ID: <053A52EBA3EFA749AE9F25D70D1F364C254B23@uk-e02.uk.mis.vianetworks.com> Hello all, I am using TG on three servers, two FreeBSD and one Linux server. TG is configure to send and receive a number of TCP protocols between the three servers to simulate a real network. The Linux server is doing the most work running 8 TCP sinks and sending 16 TCP sources. The sources are set to run every twelve hours using cron while the sinks run all the time. The problem is after a couple of days the Linux server runs out of memory and freezes. It has to be rebooted to make the server useable again. The TG program has been moved from one Linux server to another so I do not think the problem is hardware. I started using the Linux binaries but then I compiled the source code to see if that solved the problem, but no. Below is output from syslog. I have had no problems on the FreeBSD servers. Can you please help? What can I try? thanks, Marcel Jan 13 22:33:13 war-test-svr kernel: Out of Memory: Killed process 2233 (tg). Jan 13 22:33:44 war-test-svr last message repeated 4 times Jan 13 22:34:32 war-test-svr last message repeated 2 times Jan 13 22:35:35 war-test-svr last message repeated 2 times Jan 13 22:36:33 war-test-svr kernel: Out of Memory: Killed process 2233 (tg). Jan 13 22:46:15 war-test-svr last message repeated 142 times Jan 13 22:46:15 war-test-svr kernel: VM: killing process tg Jan 13 22:47:03 war-test-svr kernel: Out of Memory: Killed process 2234 (tg). Jan 13 22:48:25 war-test-svr last message repeated 7 times Jan 13 22:49:28 war-test-svr last message repeated 2 times Jan 13 22:51:13 war-test-svr kernel: Out of Memory: Killed process 2234 (tg). Jan 13 23:00:24 war-test-svr kernel: Out of Memory: Killed process 2234 (tg). Jan 13 23:06:18 war-test-svr kernel: Out of Memory: Killed process 2234 (tg). Jan 13 23:15:03 war-test-svr kernel: Out of Memory: Killed process 2234 (tg). Marcel Rafter Technical Architect Global Monitoring Mobile: +44 (0)78 10795197 London Office: +44 (0)1784 898827 VIA NET.WORKS Old Bridge House 40 Church St Staines TW18 4EP London UK http://www.vianetworks.com From b_a_denny@yahoo.com Sun Jan 25 03:39:17 2004 From: b_a_denny@yahoo.com (Barbara Denny) Date: Sat, 24 Jan 2004 19:39:17 -0800 (PST) Subject: [tg] Possible mem leak? In-Reply-To: <053A52EBA3EFA749AE9F25D70D1F364C254B23@uk-e02.uk.mis.vianetworks.com> Message-ID: <20040125033917.3728.qmail@web14307.mail.yahoo.com> Hi, Just wanted to let TG users to know that the TG log file on the Linux server looks like it was getting too large. There is a command to make multiple log files if you are gathering lots of data (see the user manual). barbara --- "Rafter, Marcel" wrote: > > Hello all, > I am using TG on three servers, two FreeBSD and one > Linux server. TG is configure to send and receive a > number of TCP protocols between the three servers to > simulate a real network. The Linux server is doing > the most work running 8 TCP sinks and sending 16 TCP > sources. The sources are set to run every twelve > hours using cron while the sinks run all the time. > The problem is after a couple of days the Linux > server runs out of memory and freezes. It has to be > rebooted to make the server useable again. The TG > program has been moved from one Linux server to > another so I do not think the problem is hardware. I > started using the Linux binaries but then I compiled > the source code to see if that solved the problem, > but no. Below is output from syslog. I have had no > problems on the FreeBSD servers. Can you please > help? What can I try? > > thanks, > Marcel > > > Jan 13 22:33:13 war-test-svr kernel: Out of Memory: > Killed process 2233 (tg). > Jan 13 22:33:44 war-test-svr last message repeated 4 > times > Jan 13 22:34:32 war-test-svr last message repeated 2 > times > Jan 13 22:35:35 war-test-svr last message repeated 2 > times > Jan 13 22:36:33 war-test-svr kernel: Out of Memory: > Killed process 2233 (tg). > Jan 13 22:46:15 war-test-svr last message repeated > 142 times > Jan 13 22:46:15 war-test-svr kernel: VM: killing > process tg > Jan 13 22:47:03 war-test-svr kernel: Out of Memory: > Killed process 2234 (tg). > Jan 13 22:48:25 war-test-svr last message repeated 7 > times > Jan 13 22:49:28 war-test-svr last message repeated 2 > times > Jan 13 22:51:13 war-test-svr kernel: Out of Memory: > Killed process 2234 (tg). > Jan 13 23:00:24 war-test-svr kernel: Out of Memory: > Killed process 2234 (tg). > Jan 13 23:06:18 war-test-svr kernel: Out of Memory: > Killed process 2234 (tg). > Jan 13 23:15:03 war-test-svr kernel: Out of Memory: > Killed process 2234 (tg). > > > > Marcel Rafter > Technical Architect > Global Monitoring > Mobile: +44 (0)78 10795197 > London Office: +44 (0)1784 898827 > > VIA NET.WORKS > Old Bridge House > 40 Church St > Staines TW18 4EP > London > UK > > http://www.vianetworks.com > > _______________________________________________ > tg mailing list > tg@postel.org > http://www.postel.org/mailman/listinfo/tg __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/