LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Ryan Verner <xfesty@computeraddictions.com.au>
  To  : Matthew Moyle-Croft <mmc@mmc.com.au>
<linuxsa@linuxsa.org.au> Date: Tue, 8 Jul 2003 22:05:46 +0930

Re: ADSL Shaper

Matthew,

> http://mmc.com.au/pub/adslshape

Few questions:

> iptables -t mangle -A POSTROUTING -s 192.207.120.0/255.255.255.128 -j MARK
--set-mark 0x5

192.207.120/25 is your internal lan?

> iptables -t mangle -A POSTROUTING -s 150.101.234.58 -p tcp -m tcp --sport 80
-j MARK --set-mark 0xf

Is that the static IP of your ADSL connection?  I'm doing stuff through PPPoE
(which makes me wonder if the shaping concept's going to be slightly
different, given PPPoE wierdness), I'm assuming I can knock out the -s line
and replace with -i ppp0?

> # Set the following values to somewhat less than your actual download
> # and uplink speed. In kilobits
> DOWNLINK=512
> UPLINK=128
> DEV=eth1

Hmm.  Are the comments valid (seeing as I'm assuming you're on 512/128)?

In the case of PPPoE, I'm assuming DEV will be ppp0?

R

> should be relatively self explanatory.  
> 
> It's main limitation is that it doesn't shape the incoming stuff - 
> there's arguments for/against it.  I don't.
> 
> Any questions to the list as I'm fairly busy at the moment and 
> others can learn.
> 
> -- 
> Matthew
> --
> Matthew@Moyle-Croft.com    | mmc@mmc.com.au        |   
>  mmc@206gti.net http://www.Moyle-Croft.com | http://www.mmc.com.au | 
> http://206gti.net
> 
> -- 
> LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


--
Open WebMail Project (http://openwebmail.org)

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page