Yusuf Goolamabbas
2001-May-04 03:31 UTC
Modelling a slow [56K connection] to specific computers on a LAN
Hi, I am currently using Linux 2.2.19 and am attached to many other boxes on a switched 100 Mbit Lan. For some experiments, I would like to model a 56K dial-up connection to a webserver on one machine [maybe more] on the LAN. Techniques regarding modelling the speed in the inbound direction only would be appreciated I have read [more like skimmed through the Linux 2.4 Advanced Routing HowTO but am not sure if that is applicable to 2.2 and scenario''s where the machine is not a router but a host]. I am more familiar with FreeBSD ipfw and dummynet but don''t want to setup a separate traffic shaper box in bridging mode for this my question is, Is this possible in Linux 2.2. I don''t compile my kernel''s with firewall support. Is this a requirement Thanks, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.com
Juergen
2001-May-04 03:37 UTC
Re: Modelling a slow [56K connection] to specific computers on a LAN
> Hi, I am currently using Linux 2.2.19 and am attached to many other > boxes on a switched 100 Mbit Lan. For some experiments, I would like to > model a 56K dial-up connection to a webserver on one machine [maybe > more] on the LAN. Techniques regarding modelling the speed in the > inbound direction only would be appreciated > > I have read [more like skimmed through the Linux 2.4 Advanced Routing > HowTO but am not sure if that is applicable to 2.2 and^^^^^^^^^^^^^^^^^^^^^^ I have tried and it''s successful. But you have to make your kernel to support CBQ like below ---------------------------------------------------------------------------- -------- NETWORK OPTION open IP: use TOS valus as routing key open IP: use FWMARK valus as routing key open IP: advanced router open IP: policy routing NETWORK OPTION --> QoS and/or fair queueing(last option) <M>CBQ <M>CSZ <M>The simplest PRIO pseudoscheduler <M>RED <M>SFQ <M>TEQL <M>TBF <*>QoS support <*>Rate estimator <*>Packet classifier API <M>Routing table based classifier <M>Firewall <M>U32 <M>Special RSVP classifier <M>Special RSVP classifier FOR IPv6 <*>Ingres traffic policing ---------------------------------------------------------------------------- -------- And then you can use iproute to add CBQ to your network interface.> scenario''s where the machine is not a router but a host]. I am more > familiar with FreeBSD ipfw and dummynet but don''t want to setup a > separate traffic shaper box in bridging mode for this > > my question is, Is this possible in Linux 2.2. I don''t compile my > kernel''s with firewall support. Is this a requirement^^^^^^^^^^^^^^^^ no...it''s not the same thing. CBQ is for the bandwidth management....and firewall support is for the nat function... I know that you can use altq to support FreeBSD for bandwidth management. http://www.csl.sony.co.jp/person/kjc/programs.html#ALTQ