[LARTC] HTB shaping different subnets...

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
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 
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. 

Thank you,

      Rokas Zakarevicius
 


<--------------------===================================-------------------->
          DELFI Webmail paðto sistema [ http://webmail.delfi.lt/ ]


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux