From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rokas Zakarevicius Date: Tue, 05 Aug 2003 13:48:05 +0000 Subject: [LARTC] HTB shaping different subnets... Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi, My network configuration is: ADSL modem-----ppp0[LINUX box]eth0 (192.168.1.254)---HUB---LAN Slackware 8.1 LINUX, 2.4.20 kernel with QoS directives compiled in=20 the kernel. I use HTB to shape download and upload traffic. I use HTB shape on eth0 interface for download traffic, and shape on ppp0 interface for upload traffic. I want to connect some other computers to the LAN, but I want to give them IP adresses from 192.168.2.1-254 range that these new PC's couldn't "see" old PC's in the LAN. But I want these new PC's to be able to get to the Internet through my LINUX box. I think I have to use IP aliasing on my LINUX box's eth0 interface to do this. Am I right, or is it any other mean to do it ? (I don't want to=20 install a new ethernet interface for the new subnet to my LINUX box). But if I used IP aliasing on eth0 interface, would I be able to shape download traffic, because I have to shape eth0 interface for download traffic ??? Please give me some comments about this question.=20 Thank you, Rokas Zakarevicius =20 <--------------------=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= --------------------> DELFI Webmail pa=F0to sistema [ http://webmail.delfi.lt/ ] _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/