Hello, I hava linux box with two NICs (eth0 and eth1), setup as a bridge. Thbridg(br0) sits between a server machine and a client machine. Thserver machinis connected to eth0. Thclienmachine is connected to eth1. I wanto apply a combination of neterules and tbf traffic shaping rules to eth0 and eth1 (identical rules for each NIC), so thaforward and reverstraffic arsubjected to same network conditions. Thrules written individually aras follows: tc qdisc add dev eth0 roonetedelay 164ms 30ms distribution normal tc qdisc add dev eth0 rootbf rat4017.52kbit latency 0.00477ms burst 4352 tc qdisc add dev eth1 roonetedelay 164ms 30ms distribution normal tc qdisc add dev eth1 rootbf rat4017.52kbit latency 0.00477ms burst 4352 Buobviously thabove commands are not accepted, and I would like some guidancon how to apply thesrules. Thanks for your time. Ritesh --- AdaptivCommunications Networks Research Group Electronic Engineering Dept. AstoUniversity Birmingham B7 4ET t: +44 (0)7732 069 667 e: taankr@xxxxxxxxxxx w: www-users.aston.ac.uk/~taankr -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20070412/65cbe141/attachment.htm Frohazelsnitzel0 acox.net Thu Apr 12 09:53:17 2007 From: hazelsnitzel0 acox.ne(Hazelsnitzel) Date: Wed Apr 18 12:51:21 2007 Subject: Usof neteand tbf simultaneously on NICs In-Reply-To: <1176396239.5125.6.camel@localhost.localdomain> References: <1176396239.5125.6.camel@localhost.localdomain> Message-ID: <20070412165258.STD1235.fed1rmmtao101.cox.net@xxxxxxxxxxxxxxxxxxxx> A09:43 AM 4/12/2007, you wrote: >Content-Type: multipart/alternative; > boundary="----------=_1176396266-9852-364" >Content-Transfer-Encoding: binary >MIME-Version: 1.0 >X-Mailer: MIME-tools 5.411 (Entity 5.404) > >Hello, > >I hava linux box with two NICs (eth0 and eth1), setup as a bridge. > >Thbridg(br0) sits between a server machine and a client machine. > >Thserver machinis connected to eth0. > >Thclienmachine is connected to eth1. > >I wanto apply a combination of neterules and tbf traffic shaping >rules to eth0 and eth1 (identical rules for each NIC), so tha >forward and reverstraffic arsubjected to same network conditions. > >Thrules written individually aras follows: > >tc qdisc add dev eth0 roonetedelay 164ms 30ms distribution normal >tc qdisc add dev eth0 rootbf rat4017.52kbit latency 0.00477ms burst 4352 > >tc qdisc add dev eth1 roonetedelay 164ms 30ms distribution normal >tc qdisc add dev eth1 rootbf rat4017.52kbit latency 0.00477ms burst 4352 > >Buobviously thabove commands are not accepted, and I would like >somguidancon how to apply these rules. > >Thanks for your time. > >Ritesh > >--- >AdaptivCommunications Networks Research Group >Electronic Engineering Dept. >AstoUniversity >Birmingham >B7 4ET > >t: +44 (0)7732 069 667 >e: taankr@xxxxxxxxxxx >w: <http://www-users.aston.ac.uk/~taankr/>www-users.aston.ac.uk/~taankr >_______________________________________________ >Netemailing list >Netem@xxxxxxxxxxxxxxxxxxxxxxxxxx >https://lists.linux-foundation.org/mailman/listinfo/netem Something likthis WRT thparent-child structure will be required. tc qdisc add dev eth0 roohandl1:0 netem delay 164ms 30ms distributionormal tc qdisc add dev eth0 paren1:1 handl10: tbf rate 4017.52kbit latency 0.00477ms burs4352 -Bob -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20070412/a33dc0e1/attachment.htm Frotaankr aaston.ac.uk Thu Apr 12 09:43:59 2007 From: taankr aaston.ac.uk (Ritesh Taank) Date: Wed Apr 18 17:37:51 2007 Subject: Usof neteand tbf simultaneously on NICs Message-ID: <1176396239.5125.6.camel@localhost.localdomain> Hello, I hava linux box with two NICs (eth0 and eth1), setup as a bridge. Thbridg(br0) sits between a server machine and a client machine. Thserver machinis connected to eth0. Thclienmachine is connected to eth1. I wanto apply a combination of neterules and tbf traffic shaping rules to eth0 and eth1 (identical rules for each NIC), so thaforward and reverstraffic arsubjected to same network conditions. Thrules written individually aras follows: tc qdisc add dev eth0 roonetedelay 164ms 30ms distribution normal tc qdisc add dev eth0 rootbf rat4017.52kbit latency 0.00477ms burst 4352 tc qdisc add dev eth1 roonetedelay 164ms 30ms distribution normal tc qdisc add dev eth1 rootbf rat4017.52kbit latency 0.00477ms burst 4352 Buobviously thabove commands are not accepted, and I would like some guidancon how to apply thesrules. Thanks for your time. Ritesh --- AdaptivCommunications Networks Research Group Electronic Engineering Dept. AstoUniversity Birmingham B7 4ET t: +44 (0)7732 069 667 e: taankr@xxxxxxxxxxx w: www-users.aston.ac.uk/~taankr -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20070412/65cbe141/attachment-0001.htm Frohazelsnitzel0 acox.net Thu Apr 12 09:53:17 2007 From: hazelsnitzel0 acox.ne(Hazelsnitzel) Date: Wed Apr 18 17:37:51 2007 Subject: Usof neteand tbf simultaneously on NICs In-Reply-To: <1176396239.5125.6.camel@localhost.localdomain> References: <1176396239.5125.6.camel@localhost.localdomain> Message-ID: <20070412165258.STD1235.fed1rmmtao101.cox.net@xxxxxxxxxxxxxxxxxxxx> A09:43 AM 4/12/2007, you wrote: >Content-Type: multipart/alternative; > boundary="----------=_1176396266-9852-364" >Content-Transfer-Encoding: binary >MIME-Version: 1.0 >X-Mailer: MIME-tools 5.411 (Entity 5.404) > >Hello, > >I hava linux box with two NICs (eth0 and eth1), setup as a bridge. > >Thbridg(br0) sits between a server machine and a client machine. > >Thserver machinis connected to eth0. > >Thclienmachine is connected to eth1. > >I wanto apply a combination of neterules and tbf traffic shaping >rules to eth0 and eth1 (identical rules for each NIC), so tha >forward and reverstraffic arsubjected to same network conditions. > >Thrules written individually aras follows: > >tc qdisc add dev eth0 roonetedelay 164ms 30ms distribution normal >tc qdisc add dev eth0 rootbf rat4017.52kbit latency 0.00477ms burst 4352 > >tc qdisc add dev eth1 roonetedelay 164ms 30ms distribution normal >tc qdisc add dev eth1 rootbf rat4017.52kbit latency 0.00477ms burst 4352 > >Buobviously thabove commands are not accepted, and I would like >somguidancon how to apply these rules. > >Thanks for your time. > >Ritesh > >--- >AdaptivCommunications Networks Research Group >Electronic Engineering Dept. >AstoUniversity >Birmingham >B7 4ET > >t: +44 (0)7732 069 667 >e: taankr@xxxxxxxxxxx >w: <http://www-users.aston.ac.uk/~taankr/>www-users.aston.ac.uk/~taankr >_______________________________________________ >Netemailing list >Netem@xxxxxxxxxxxxxxxxxxxxxxxxxx >https://lists.linux-foundation.org/mailman/listinfo/netem Something likthis WRT thparent-child structure will be required. tc qdisc add dev eth0 roohandl1:0 netem delay 164ms 30ms distributionormal tc qdisc add dev eth0 paren1:1 handl10: tbf rate 4017.52kbit latency 0.00477ms burs4352 -Bob -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20070412/a33dc0e1/attachment-0001.htm Froluca alodi.linux.it Sat Apr 21 07:30:35 2007 From: luca alodi.linux.i(Luca 'whitenoise' Foppiano) Date: SaApr 21 07:31:06 2007 Subject: changing delay irelation with packesize Message-ID: <7a33440fd6695bfacdea7043fa1d2045@localhost> Hello, I'a studenof university of Wien and I need to modify the source of kernel for implement a variable delay in relation with packet size. Unfortunatly I'noan expert of linux kernel, and I don't have idea where I have to search (what file). I try to start to search from the tc sources, but is not so simple and I don't find anything. Cayou help mwith a suggestion? thank you so much regards Luca FroVincent_Gay ainmarsat.com Tue Apr 24 08:09:23 2007 From: Vincent_Gay ainmarsat.co(Vincent Gay) Date: TuApr 24 09:10:08 2007 Subject: OSPF with Netem Message-ID: <D0C7C3C59F45A44898E07D070C51703405AE0DDE@cygnus.inmarsat.local> Hi all, I acurrently trying to emulata satellite link, via Netem, on a testbed which is OSPF-enabled. I'd likto seup a Netem box between two routers. All routing betweerouters should keep being dynamic, my questions are: - If possible, how to seup OSPF on my Neterouter? - CaNetefunctionalities be deployed directly on a Cisco router? I mean: let's imaginthaI have a link between routers A and B, I could possibly chargNetemodule on router A and then decide, for instance, to delay all packets going ouof thinterface towards router B. Could someonindicatme what is feasible and give me some guidelines ? Thanks iadvance, Vincent. This email and any files transmitted with iarconfidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. In accordance with Inmarsat Information Security Policy and Guidelines on Computer use, emails sent or received may be monitored. Inmarsat plc, Registered No 4886072 and Inmarsat Global Limited, Registered No. 3675885. Both Registered in England and Wales with Registered Office at 99 City Road, London EC1Y 1AX. _____________________________________________________________________ This e-mail has beescanned for viruses by Verizon Business InterneManaged Scanning Services - powered by MessageLabs. For further information visit http://www.verizonbusiness.com/uk -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20070424/4b833a87/attachment.htm Frosrgqwerty agmail.com Tue Apr 24 10:02:24 2007 From: srgqwerty agmail.co(srg krn) Date: TuApr 24 10:03:13 2007 Subject: OSPF with Netem In-Reply-To: <D0C7C3C59F45A44898E07D070C51703405AE0DDE@cygnus.inmarsat.local> References: <D0C7C3C59F45A44898E07D070C51703405AE0DDE@cygnus.inmarsat.local> Message-ID: <9fe1ccf10704241002r46939c4aua299a94ba7b7f23e@xxxxxxxxxxxxxx> A possiblway to acomplish this lab is to defintwo interfaces of thnetemachine as a layer2 bridge (like a switch, see brtctl) and then, add delays, packeloss or whatever do you wanfrom netem stuff. And then, connecthethernet "outside" interfaces of your routers to this "switch". Ithis case, thnetem machine does not participatin thospf proccess. If this scenario does noacomplish your needs, then you can maka layer3 router simply enabling ip forwarding ithnetem machine and using somsoftwar(like the well known GPL quaga routing suite) to implementhospf protocol in your netem router. Regards O4/24/07, VincenGay <Vincent_Gay@xxxxxxxxxxxx> wrote: > > > > > > Hi all, > > > > I acurrently trying to emulata satellite link, via Netem, on a testbed > which is OSPF-enabled. > > I'd likto seup a Netem box between two routers. > > > > All routing betweerouters should keep being dynamic, my questions are: > > - If possible, how to seup OSPF on my Neterouter? > > - CaNetefunctionalities be deployed directly on a Cisco router? > I mean: let's imaginthaI have a link between routers A and B, I could > possibly chargNetemodule on router A and then decide, for instance, to > delay all packets going ouof thinterface towards router B. > > > > Could someonindicatme what is feasible and give me some guidelines ? > > > > Thanks iadvance, > > Vincent. > > > > > This email and any files transmitted with iarconfidential and intended > solely for thusof the individual or entity to whom they are addressed. > If you havreceived this email in error pleasnotify the system manager. > Iaccordancwith Inmarsat Information Security Policy and Guidelines on > Computer use, emails senor received may bmonitored. Inmarsat plc, > Registered No 4886072 and InmarsaGlobal Limited, Registered No. 3675885. > Both Registered iEngland and Wales with Registered Officat 99 City Road, > LondoEC1Y 1AX. > > > _____________________________________________________________________ > This e-mail has beescanned for viruses by Verizon Business Internet > Managed Scanning Services - powered by MessageLabs. For further information > visihttp://www.verizonbusiness.com/uk > > _______________________________________________ > Netemailing list > Netem@xxxxxxxxxxxxxxxxxxxxxxxxxx > https://lists.linux-foundation.org/mailman/listinfo/netem > Frolaurent.mariat thomson.net Wed Apr 25 01:01:38 2007 From: laurent.mariathomson.net (Marie Laurent) Date: Wed Apr 25 01:02:43 2007 Subject: changing delay irelation with packesize - patching netesources Message-ID: <E55CA8ECFBA85E4CB8E8173566B9EFEB35CE2C@xxxxxxxxxxxxxxxxxxxxxxxxxx> Hello, Neteis divided in two parts: - thuser level which stand for thtc command lines - thkernel level modules. You will find thuser level commands into thiproute2 package (iproute2/tc/q_netem.c) which versiofits your kernel version. http://snafu.freedom.org/linux2.2/iproute-notes.html http://developer.osdl.org/dev/iproute2/download/ You will find thkernel modulof netem in the linux sources i.e. /usr/src/linux/net/sched/sch_netem.c Note: I havmada netem patch two weeks ago (at both user and kernel levels). I added a deterministic drop feature. Ialready works on Red HaES4 (2.6.9) and Red HaFC4 (2.6.11). I will port this patch to last kernel versioand then contributto the netem community. Yours sincerely, LaurenMARIE PS: I havalready proposed a deterministic drop patch for nistne2 years ago. -----Original Message----- From: netem-bounces@xxxxxxxxxxxxxxxxxxxxxxxxxx [mailto:netem-bounces@xxxxxxxxxxxxxxxxxxxxxxxxxx] OBehalf Of Luca 'whitenoise' Foppiano Sent: samedi 21 avril 2007 16:31 To: netem@xxxxxxxxxxxxxxxxxxxxxxxxxx Subject: changing delay irelation with packesize Hello, I'a studenof university of Wien and I need to modify the source of kernel for implemena variabldelay in relation with packet size. Unfortunatly I'noan expert of linux kernel, and I don't have idea wherI havto search (what file). I try to start to search from the tc sources, buis noso simple and I don't find anything. Cayou help mwith a suggestion? thank you so much regards Luca _______________________________________________ Netemailing list Netem@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/netem