Re: "Transparent" shapping

Linux Advanced Routing and Traffic Control

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

 



On Monday 02 September 2002 17:08, Esteban Maringolo wrote:
> Hello,
>
> 	I want to do some traffic shapping with a PC in the same IP subnet that
> the "shaped" PC's.
> 	Graphically:
>
>               ________              __________
>
> Internet-eth0| NAT/GW |eth1----eth0|  TC BOX  |eth1 --- SUBNET PC's...
>
>              |________|            |__________|
>
> NAT GW (Nat Gateway) Specs:
> eth0 IP: AAA.BBB.CCC.DDD Public Address
> eth1 IP: 192.168.0.1/24
>
> TC BOX (Traffic Shaper):
> eth0 IP: 192.168.0.2/24
> eth1 IP: 192.168.0.3/24
>
> SUBNET PCs:
> Netblock: 192.168.0.10/24 - 192.168.0.254/24
> Default GW IP: 192.168.0.1
>
> Is possible to make that my TC BOX acts transparently for the subnet PCs
> without redefine the default GW to 192.168.0.3 (the TC inner interface).
>
> The intention is not add another Hop to the network, and lower the CPU
> usage of the TC BOX (i don't want to do NAT on it).
You can put the box in bridge mode and use the u23 filter.  There is a patch 
floating around to enable iptables on the bridged box.  You can asign the box 
an ip-address so you can reach it, but all traffic passes thru and is shaped.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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