Re: [leaf-wisp] Re: bandwidth manage

Vladimir Ivaschenko <[email protected]> Fri, 11 Feb 2005 11:35:22 +0200
Newsgroups gmane.linux.leaf.wisp-dist
Message-ID <[email protected]>
Yes, it doesn't work because IP addresses are different after the NAT. :)

You can try MARKing packets. Another solution is to use imq - a kernel 
patch needs to be applied in order to integrate it.

wispdist wrote:
> I use the bw control globally on almost all of our wisp-dist boxes ( 
> over. 400  )
> 
> but one thing I have not figured out yet.   I tried to set the bandwidth 
> limit on a specific IP address.  If I am MASQ'ing or SNAT'ing, the limit 
> works on the inbound traffic ( download to the LAN side ) but does not 
> work on the outbound traffic.
> 
> _____________________________________________________
> example:
> 
> eth0:  ip address: 192.168.0.1/24  -- LAN
> netcs0: ip address:  172.16.0.1/24 -- WAN
> 
> MASQ is set on netcs0
> 
> Host computer: ip address 192.168.0.10
> 
> set_shaper 192.168.0.10  128kbit 1110
> 
> I run a download test and I get 128Kbit
> I run an upload test and I get well over the 128 limit  ( I have over 
> 1Mbit available at this location )
> _____________________________________________________
> 
> I remember reading somewhere that masquerading or snat'ing breaks the 
> traffic control
> 
> Is there a way around this?  I would like to install some routers with 
> multiple interfaces ( a 4 port servicing 3 customers ) where I can 
> control both the upload and download for each customer.  Right now, I 
> have to set the WAN interface speed and let all the customer share that 
> upload bandwidth between them.
> 
> Any ideas?
> 
> Jeff Rhue
> WiLogic, Inc.
> www.wilogic.com
> 
> 
> ----- Original Message ----- From: "Vladimir Ivaschenko" 
> <[email protected]>
> To: <[email protected]>; <[email protected]>
> Sent: Wednesday, February 09, 2005 10:38 AM
> Subject: [leaf-wisp] Re: bandwidth manage
> 
> 
>>
>> It should work.
>>
>> Do you have global bandwidth limit enabled on the interface? It should 
>> be enabled (via menu).
>>
>> [email protected] wrote:
>>
>>> This show:
>>>
>>> # ip addr
>>> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>>>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>>>     inet 127.0.0.1/8 scope host lo
>>> 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
>>>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
>>> 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
>>>     link/ether 00:0d:b9:00:f3:c0 brd ff:ff:ff:ff:ff:ff
>>>     inet 192.168.14.1/24 scope global eth0
>>> 4: ath0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 199
>>>     link/ether 00:0b:6b:34:33:46 brd ff:ff:ff:ff:ff:ff
>>>     inet 192.168.100.14/24 scope global ath0
>>>
>>> ----------------------------------------------------------------
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>
>>
>> -- 
>> Best Regards,
>> Vladimir Ivashchenko
>> ThunderWorx - www.thunderworx.com
>> Senior Systems Designer/Engineer
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> leaf-wisp-dist mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist 
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> leaf-wisp-dist mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
> 


-- 
Best Regards,
Vladimir Ivashchenko
ThunderWorx - www.thunderworx.com
Senior Systems Designer/Engineer



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click