* [LARTC] Traffic shaping an apartment building
@ 2001-12-27 9:25 Allen Armstrong
2001-12-27 10:19 ` Stef Coene
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Allen Armstrong @ 2001-12-27 9:25 UTC (permalink / raw)
To: lartc
Hi,
I live in a rural community where adsl and cable is not widely available. I
correctly have an option of using adsl or cable at my location. Ten miles
away my friends apartment building has no option of cable or adsl. I set-up
a wireless link between my friends apartment building and my house. It
works great for him and me and the adsl company doesn't care because they
don't cover the area and we aren't going over our bandwidth allotments.
Old setup:
ADSL (dynamic)
|
NAT linux box ( inside 192.168.1.0) (486s)
|
My internal network (192.168.1.0) (Just a small network really!)
|
Wireless radio (192.168.1.0)
|
Wireless radio (192.168.1.0)
|
His internal network (192.168.1.0)
We have been using this set-up for few months and we share the bandwidth and
he paid the costs of wireless radios. His apartment got wind what we are
doing and want a connection. To make a long story short we want to run a
cable to the phone room and then up to each apartment so logistically we can
do it. However, I am not interested in giving everyone in this apartment a
full connection speed connection to the internet. I don't know them. :-)
I have set-up a redhat 7.2 box /w 2.4.7 kernel all the stuff I need seems to
be in built-in the kernel. Reading the list archives I setup a proxy-arp
bridge and its been working fine.
ADSL (dynamic)
|
NAT linux box ( inside 192.168.1.0) (486s)
|
My internal network (192.168.1.0) (Just a small network really!)
|
Redhat 7.2 box 2.4.7 (Proxy-arp with 2 nics)
|
Wireless radio (192.168.1.0)
|
Wireless radio (192.168.1.0)
|
His internal network (192.168.1.0)
I had look at http://www.docum.org/ and http://ds9a.nl/lartc/. I just not
sure what I need to do next I have read the documents at the latter and it
seems confusing to me. What I would like to do is give almost everyone in
the apartment a 64k connection with exception of my friends machines (384k)
and apartment manager machine (384k).
Allen Armstrong
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Traffic shaping an apartment building
2001-12-27 9:25 [LARTC] Traffic shaping an apartment building Allen Armstrong
@ 2001-12-27 10:19 ` Stef Coene
2001-12-28 6:41 ` Allen Armstrong
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2001-12-27 10:19 UTC (permalink / raw)
To: lartc
On Thursday 27 December 2001 10:25, Allen Armstrong wrote:
> Hi,
>
> I live in a rural community where adsl and cable is not widely available.
> I correctly have an option of using adsl or cable at my location. Ten
> miles away my friends apartment building has no option of cable or adsl. I
> set-up a wireless link between my friends apartment building and my house.
> It works great for him and me and the adsl company doesn't care because
> they don't cover the area and we aren't going over our bandwidth
> allotments.
>
> Old setup:
>
> ADSL (dynamic)
> NAT linux box ( inside 192.168.1.0) (486s)
> My internal network (192.168.1.0) (Just a small network really!)
> Wireless radio (192.168.1.0)
> Wireless radio (192.168.1.0)
> His internal network (192.168.1.0)
>
>
> We have been using this set-up for few months and we share the bandwidth
> and he paid the costs of wireless radios. His apartment got wind what we
> are doing and want a connection. To make a long story short we want to run
> a cable to the phone room and then up to each apartment so logistically we
> can do it. However, I am not interested in giving everyone in this
> apartment a full connection speed connection to the internet. I don't know
> them. :-)
>
> I have set-up a redhat 7.2 box /w 2.4.7 kernel all the stuff I need seems
> to be in built-in the kernel. Reading the list archives I setup a
> proxy-arp bridge and its been working fine.
>
>
> ADSL (dynamic)
> NAT linux box ( inside 192.168.1.0) (486s)
> My internal network (192.168.1.0) (Just a small network really!)
> Redhat 7.2 box 2.4.7 (Proxy-arp with 2 nics)
> Wireless radio (192.168.1.0)
> Wireless radio (192.168.1.0)
> His internal network (192.168.1.0)
>
> I had look at http://www.docum.org/ and http://ds9a.nl/lartc/. I just not
> sure what I need to do next I have read the documents at the latter and it
> seems confusing to me. What I would like to do is give almost everyone in
> the apartment a 64k connection with exception of my friends machines (384k)
> and apartment manager machine (384k).
I have a better idea. ;-)
You can give erveyone the full bandwith. But if you your friend is
downloading (or you), he gets more bandwith. I think that's more fair then
limiting everyone to 64k.
And I suggest you use HTB and CBQ. But you will have to patch the kernel and
iproute to do so.
You can do it with CBQ, but it's much more complicated.
What kind of upload/download do you have on the ADSL link and the wireless
radio?
Stef
--
stef.coene@docum.org
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [LARTC] Traffic shaping an apartment building
2001-12-27 9:25 [LARTC] Traffic shaping an apartment building Allen Armstrong
2001-12-27 10:19 ` Stef Coene
@ 2001-12-28 6:41 ` Allen Armstrong
2001-12-28 7:09 ` Anton Tinchev
2001-12-28 9:01 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Allen Armstrong @ 2001-12-28 6:41 UTC (permalink / raw)
To: lartc
> -----Original Message-----
> From: Stef Coene [mailto:stef.coene@docum.org]
> Sent: December 27, 2001 2:20 AM
> To: Allen Armstrong; lartc@mailman.ds9a.nl
> Subject: Re: [LARTC] Traffic shaping an apartment building
>
>
> On Thursday 27 December 2001 10:25, Allen Armstrong wrote:
> > Hi,
> >
> > I live in a rural community where adsl and cable is not
> widely available.
> > I correctly have an option of using adsl or cable at my
> location. Ten
> > miles away my friends apartment building has no option of
> cable or adsl. I
> > set-up a wireless link between my friends apartment
> building and my house.
> > It works great for him and me and the adsl company doesn't
> care because
> > they don't cover the area and we aren't going over our bandwidth
> > allotments.
> >
> > Old setup:
> >
> > ADSL (dynamic)
> > NAT linux box ( inside 192.168.1.0) (486s)
> > My internal network (192.168.1.0) (Just a small network really!)
> > Wireless radio (192.168.1.0)
> > Wireless radio (192.168.1.0)
> > His internal network (192.168.1.0)
> >
> >
> > We have been using this set-up for few months and we share
> the bandwidth
> > and he paid the costs of wireless radios. His apartment
> got wind what we
> > are doing and want a connection. To make a long story
> short we want to run
> > a cable to the phone room and then up to each apartment so
> logistically we
> > can do it. However, I am not interested in giving everyone in this
> > apartment a full connection speed connection to the
> internet. I don't know
> > them. :-)
> >
> > I have set-up a redhat 7.2 box /w 2.4.7 kernel all the
> stuff I need seems
> > to be in built-in the kernel. Reading the list archives I setup a
> > proxy-arp bridge and its been working fine.
> >
> >
> > ADSL (dynamic)
> > NAT linux box ( inside 192.168.1.0) (486s)
> > My internal network (192.168.1.0) (Just a small network really!)
> > Redhat 7.2 box 2.4.7 (Proxy-arp with 2 nics)
> > Wireless radio (192.168.1.0)
> > Wireless radio (192.168.1.0)
> > His internal network (192.168.1.0)
> >
> > I had look at http://www.docum.org/ and
http://ds9a.nl/lartc/. I just not
> sure what I need to do next I have read the documents at the latter and it
> seems confusing to me. What I would like to do is give almost everyone in
> the apartment a 64k connection with exception of my friends machines
(384k)
> and apartment manager machine (384k).
> >I have a better idea. ;-)
> >You can give erveyone the full bandwith. But if you your friend is
> >downloading (or you), he gets more bandwith. I think that's more fair
then
> >limiting everyone to 64k.
I thought of that but the people at this apartment are cheap. :( I was going
to charge them 10$ a month X 20 to cover the cost of the access and to
recover the cost of the wireless equipment. If they pay more I will up
their rate. Our eventual goal is get them on their own dsl modem.
> >And I suggest you use HTB and CBQ. But you will have to patch the kernel
and
> >iproute to do so.
> >You can do it with CBQ, but it's much more complicated.
> >
I hear a lot about the buzzword CBQ. What do I if I wish to follow the CBQ
route? Do I have to re-compile my stock Redhat 7.2 kernel? Everything
looks like it is a module when it comes to QOS in this kernel. QOS is all
new to me but Linux and routing isn't. :) Tomorrow I am going to re-read
the sections on both sites again.
> >What kind of upload/download do you have on the ADSL link and the
wireless
> >radio?
When we first did the link we didn't get that good transfer rates 64-128 k,
he slapped another 2000$ for some Amps now we are getting about 6 meg link
reliably. The ADSL I am getting 3 megs down 512 k up.
Allen Armstrong
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Traffic shaping an apartment building
2001-12-27 9:25 [LARTC] Traffic shaping an apartment building Allen Armstrong
2001-12-27 10:19 ` Stef Coene
2001-12-28 6:41 ` Allen Armstrong
@ 2001-12-28 7:09 ` Anton Tinchev
2001-12-28 9:01 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Anton Tinchev @ 2001-12-28 7:09 UTC (permalink / raw)
To: lartc
Hi,
I recomend you to use HTB.
It's prety simple and easy to configure
http://luxik.cdi.cz/~devik/qos/htb/htbman.htm
> Hi,
>
> I live in a rural community where adsl and cable is not widely available. I
> correctly have an option of using adsl or cable at my location. Ten miles
> away my friends apartment building has no option of cable or adsl. I set-up
> a wireless link between my friends apartment building and my house. It
> works great for him and me and the adsl company doesn't care because they
> don't cover the area and we aren't going over our bandwidth allotments.
>
> Old setup:
>
> ADSL (dynamic)
> |
> NAT linux box ( inside 192.168.1.0) (486s)
> |
> My internal network (192.168.1.0) (Just a small network really!)
> |
> Wireless radio (192.168.1.0)
> |
> Wireless radio (192.168.1.0)
> |
> His internal network (192.168.1.0)
>
> We have been using this set-up for few months and we share the bandwidth and
> he paid the costs of wireless radios. His apartment got wind what we are
> doing and want a connection. To make a long story short we want to run a
> cable to the phone room and then up to each apartment so logistically we can
> do it. However, I am not interested in giving everyone in this apartment a
> full connection speed connection to the internet. I don't know them. :-)
>
> I have set-up a redhat 7.2 box /w 2.4.7 kernel all the stuff I need seems to
> be in built-in the kernel. Reading the list archives I setup a proxy-arp
> bridge and its been working fine.
>
> ADSL (dynamic)
> |
> NAT linux box ( inside 192.168.1.0) (486s)
> |
> My internal network (192.168.1.0) (Just a small network really!)
> |
> Redhat 7.2 box 2.4.7 (Proxy-arp with 2 nics)
> |
> Wireless radio (192.168.1.0)
> |
> Wireless radio (192.168.1.0)
> |
> His internal network (192.168.1.0)
>
> I had look at http://www.docum.org/ and http://ds9a.nl/lartc/. I just not
> sure what I need to do next I have read the documents at the latter and it
> seems confusing to me. What I would like to do is give almost everyone in
> the apartment a 64k connection with exception of my friends machines (384k)
> and apartment manager machine (384k).
>
> Allen Armstrong
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Traffic shaping an apartment building
2001-12-27 9:25 [LARTC] Traffic shaping an apartment building Allen Armstrong
` (2 preceding siblings ...)
2001-12-28 7:09 ` Anton Tinchev
@ 2001-12-28 9:01 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2001-12-28 9:01 UTC (permalink / raw)
To: lartc
> > >I have a better idea. ;-)
> > >You can give erveyone the full bandwith. But if you your friend is
> > >downloading (or you), he gets more bandwith. I think that's more fair
> then
> > >limiting everyone to 64k.
>
> I thought of that but the people at this apartment are cheap. :( I was
> going to charge them 10$ a month X 20 to cover the cost of the access and
> to recover the cost of the wireless equipment. If they pay more I will up
> their rate. Our eventual goal is get them on their own dsl modem.
You still can use the same setup as I described. They can share the
bandwidth between each other, but there is a maximum. If they pay more, you
increase the maximum:
root qdisc
bounded class with rate = 3meg
class for the 'manager' : rate = 384K
class for the other appartments : rate = 3meg - 348k
class 1 for appartment 1 : rate = 64k
class 2 for appartment 2 : rate = 64k
...
>
> > >And I suggest you use HTB and CBQ. But you will have to patch the
> > > kernel
>
> and
>
> > >iproute to do so.
> > >You can do it with CBQ, but it's much more complicated.
>
> I hear a lot about the buzzword CBQ. What do I if I wish to follow the CBQ
> route? Do I have to re-compile my stock Redhat 7.2 kernel? Everything
> looks like it is a module when it comes to QOS in this kernel. QOS is all
> new to me but Linux and routing isn't. :) Tomorrow I am going to re-read
> the sections on both sites again.
I suppose you mean "What do I if I wish to follow the HTB".
Indeed, you will have to download the kernel source and iproute and patch it
for HTB. But that's not so difficult. Maybe that
redhat allready prepatched his kernel for htb, I don't know.
Stef
>
> > >What kind of upload/download do you have on the ADSL link and the
> wireless
> > >radio?
>
> When we first did the link we didn't get that good transfer rates 64-128 k,
> he slapped another 2000$ for some Amps now we are getting about 6 meg link
> reliably. The ADSL I am getting 3 megs down 512 k up.
--
stef.coene@docum.org
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-12-28 9:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-27 9:25 [LARTC] Traffic shaping an apartment building Allen Armstrong
2001-12-27 10:19 ` Stef Coene
2001-12-28 6:41 ` Allen Armstrong
2001-12-28 7:09 ` Anton Tinchev
2001-12-28 9:01 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.