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>
Date: Tue, 8 Jul 2003 22:47:34 +0930
Re: ADSL Shaper
> > 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?
>
> Just thought about it. Have to go check when ipfilter does nat
>
> (before/after routing) as this will affect what statements to put in
> this when you're doing nat (ie. do you put 10/8 or your real public
> address?).
Hmm. Playing with this now; I can't get much to happen; the main goal is to
keep my ssh session nice and perky even if I'm downloading via http/ftp.
Downloading files by both ftp/http both make ssh laggy as hell (5-6 seconds
before any text pops up), and playing around with minimising values in those
scripts (i.e. downstream/upstream quartered), it doesn't affect the download
speed, as it should (as far as I can see).
iptables and tc certainly show the rules there.
(I share a house with other people... they like downloading lots, and lots,
and lots. Trying to do work stuff via ssh is virtually impossible :( - hence
why I want to packet shape, and was partially my drive to get DSL in the first
place).
I've got all the QoS stuff compiled as modules (2.4.21, compiled today), and
I'm using the latest iproute from Debian Stable.
As you say; I'm not routing, I'm doing MASQ, and the modem is a Billion
"router" in modem mode; i.e. eth1 on my Linux box does the pppoe
authentication, and gets the actual address.
So things are somewhat different.
Any clues (I'll keep playing...)?
R
> Maybe better to mark based on the incoming interface (-i eth0 for
> example)
> --
> 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
--
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