From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Svetlin Ivanov" Date: Mon, 07 Jul 2003 18:30:56 +0000 Subject: [LARTC] htb iptables MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0039_01C344CF.0D29FB40" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C344CF.0D29FB40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable how can i MARK with iptables traffic in out INTERNET and in out = PEERING from and forward to my LAN with 4 MARKS to create 4 class with htb wich have 4 fw filter and 4 = parent with 4 u32 filter =20 and many subclasess for each client with U32 filter = ---root1-----------------------------------------------------------------= -------------------------------------------------------------------------= --------------------- / / = / = / 1:1 INTdown fw m=3D11 1:2 INupload fw m-2 1:3 = Peeringdownload fw filter mark-3 1:4 Peering upload fw = filter=3Dmark 4 / / = / = / parent rate 32kbit U32 filter parent rate = 16kbit U32 filter parent 64kbit U32 filter = parent 32kbit U32 filter 192.168.1.2 = 192.168.1.2 192.168.1.2 = 192.168.1.2 =20 =20 =20 please send me an example i am newby =20 ------=_NextPart_000_0039_01C344CF.0D29FB40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
how can i MARK with iptables traffic = in out=20 INTERNET and in out PEERING from and forward to my LAN
with 4 MARKS  to create 4 class = with htb=20 wich have 4 fw filter and 4 parent with 4 u32 filter
        =    
and many subclasess for each client = with U32=20 filter
 
---root1--------------------------------------------------------= -------------------------------------------------------------------------= ------------------------------
        = = /            =             &= nbsp;      =20             =    =20 = /            =             &= nbsp;           &n= bsp;=20 = /            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;    =20 /
     1:1 = INTdown fw=20 = m=3D11           &= nbsp;   1:2=20 INupload fw m-2     1:3 Peeringdownload fw=20 filter mark-3       1:4 Peering = upload  fw=20 filter=3Dmark  4
        = = /            =             &= nbsp;           =20        =20 =             &= nbsp; =20 = /            =  =20            =20 =             &= nbsp;           &n= bsp;=20 /            =    =20             =    =20             =    =20              =   =20     /
     parent  rate=20 32kbit   U32 filter     =    =20             parent rate=20 16kbit U32 filter       =    =20 parent 64kbit U32=20 = filter           &= nbsp;           &n= bsp;         =20 parent 32kbit U32 filter
     192.168.1.2    = ;            =             &= nbsp;           &n= bsp;          =20 = 192.168.1.2          &n= bsp;           &nb= sp;        =20 = 192.168.1.2          &n= bsp;           &nb= sp;           &nbs= p;            = ;    =20 = 192.168.1.2          &n= bsp;        
 
 
please send me an example i am newby=20 =              =
------=_NextPart_000_0039_01C344CF.0D29FB40-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/