All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Linux router and Bandwidth control
@ 2003-06-25 12:33 Joe
  2003-06-25 13:33 ` rio
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Joe @ 2003-06-25 12:33 UTC (permalink / raw)
  To: lartc

Hello All,

I have 1.5Mbits Backbone connection with 16 public ip address.

I like to provide share my connection with someother my friends how will
have public ip addess.

So i wanted to configre linux router with bandwidth controll for my friends
connection.

Actully i tried with single interface in linux and CBQ but it does not
controll.

I should do not use NAT as my friends are running web servers.

Is it possible to configure in linux.or some links to configure this

Advance thanks
Joe


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
@ 2003-06-25 13:33 ` rio
  2003-06-25 14:04 ` Leigh Waldie
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rio @ 2003-06-25 13:33 UTC (permalink / raw)
  To: lartc

If you put your friends in NAT (Private IP), no problem ..
They have webserver, all you have to do is forward packets going to port 80
to private ip:80
Further more read iptables-howto

Regards,
Rio Martin.



Original Message:
-----------------
From: Joe ox_in@gmx.net
Date: Wed, 25 Jun 2003 17:51:51 +0530
To: lartc@mailman.ds9a.nl
Subject: [LARTC] Linux router and Bandwidth control


Hello All,

I have 1.5Mbits Backbone connection with 16 public ip address.

I like to provide share my connection with someother my friends how will
have public ip addess.

So i wanted to configre linux router with bandwidth controll for my friends
connection.

Actully i tried with single interface in linux and CBQ but it does not
controll.

I should do not use NAT as my friends are running web servers.

Is it possible to configure in linux.or some links to configure this

Advance thanks
Joe


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

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
  2003-06-25 13:33 ` rio
@ 2003-06-25 14:04 ` Leigh Waldie
  2003-06-25 15:19 ` Shay Bosse
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Leigh Waldie @ 2003-06-25 14:04 UTC (permalink / raw)
  To: lartc

Hey Joe,

One <possible> configuration is to configure your linux box as an ethernet bridge
between your client machines and the public router

|===|
| PC 1 |
|===|\
         \
|===|  \       |====|             |====|
| PC 2 |---O------| LINUX |-------------| ROUTER |
|===|  /       |====|             |====|
         /
|===|/
| PC 3 |
|===|

and then make use of the "WRR" qdisc to control the traffic.

There are obviously many other possibilities, but this is the method I am currently
testing, so I thought I would make you aware of it's existence.

The link for more info is http://wipl-wrr.sourceforge.net/

Leigh


> Hello All,
>
> I have 1.5Mbits Backbone connection with 16 public ip address.
>
> I like to provide share my connection with someother my friends how will
> have public ip addess.
>
> So i wanted to configre linux router with bandwidth controll for my friends
> connection.
>
> Actully i tried with single interface in linux and CBQ but it does not
> controll.
>
> I should do not use NAT as my friends are running web servers.
>
> Is it possible to configure in linux.or some links to configure this
>
> Advance thanks
> Joe
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
  2003-06-25 13:33 ` rio
  2003-06-25 14:04 ` Leigh Waldie
@ 2003-06-25 15:19 ` Shay Bosse
  2003-06-25 15:22 ` Joe
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Shay Bosse @ 2003-06-25 15:19 UTC (permalink / raw)
  To: lartc

Hi Joe,

I see no real reason giving the servers real IP addresses, you're better
keeping the NAT and forward the ports to the private address.
If you have more than one mail server, you can map diffrent public IP
address
to a diffrent private address. this will also keep your servers safe...

Cheers,

Shay Bosse
System Administrator
PointMatch Ltd. http://www.pointmatch.com


----- Original Message ----- 
From: "Joe" <ox_in@gmx.net>
To: <rio@martin.mu>; <lartc@mailman.ds9a.nl>
Sent: Wednesday, June 25, 2003 5:10 PM
Subject: Re: [LARTC] Linux router and Bandwidth control


> Hello Martin,
>
> Currently i am using this configuration.
>
> In future they may run mail server then i have to go for new configuration
> where i have to give them the public ip address.
>
> Thanks
> Sathyan
>
> If you put your friends in NAT (Private IP), no problem ..
> They have webserver, all you have to do is forward packets going to port
80
> to private ip:80
> Further more read iptables-howto
>
> Regards,
> Rio Martin.
>
>
>
> Original Message:
> -----------------
> From: Joe ox_in@gmx.net
> Date: Wed, 25 Jun 2003 17:51:51 +0530
> To: lartc@mailman.ds9a.nl
> Subject: [LARTC] Linux router and Bandwidth control
>
>
> Hello All,
>
> I have 1.5Mbits Backbone connection with 16 public ip address.
>
> I like to provide share my connection with someother my friends how will
> have public ip addess.
>
> So i wanted to configre linux router with bandwidth controll for my
friends
> connection.
>
> Actully i tried with single interface in linux and CBQ but it does not
> controll.
>
> I should do not use NAT as my friends are running web servers.
>
> Is it possible to configure in linux.or some links to configure this
>
> Advance thanks
> Joe
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
                   ` (2 preceding siblings ...)
  2003-06-25 15:19 ` Shay Bosse
@ 2003-06-25 15:22 ` Joe
  2003-06-25 15:23 ` Joe
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Joe @ 2003-06-25 15:22 UTC (permalink / raw)
  To: lartc

Hello Martin,

Currently i am using this configuration.

In future they may run mail server then i have to go for new configuration
where i have to give them the public ip address.

Thanks
Sathyan

If you put your friends in NAT (Private IP), no problem ..
They have webserver, all you have to do is forward packets going to port 80
to private ip:80
Further more read iptables-howto

Regards,
Rio Martin.



Original Message:
-----------------
From: Joe ox_in@gmx.net
Date: Wed, 25 Jun 2003 17:51:51 +0530
To: lartc@mailman.ds9a.nl
Subject: [LARTC] Linux router and Bandwidth control


Hello All,

I have 1.5Mbits Backbone connection with 16 public ip address.

I like to provide share my connection with someother my friends how will
have public ip addess.

So i wanted to configre linux router with bandwidth controll for my friends
connection.

Actully i tried with single interface in linux and CBQ but it does not
controll.

I should do not use NAT as my friends are running web servers.

Is it possible to configure in linux.or some links to configure this

Advance thanks
Joe


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

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


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



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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
                   ` (3 preceding siblings ...)
  2003-06-25 15:22 ` Joe
@ 2003-06-25 15:23 ` Joe
  2003-06-25 15:42 ` Leigh Waldie
  2003-06-26  3:11 ` rio
  6 siblings, 0 replies; 8+ messages in thread
From: Joe @ 2003-06-25 15:23 UTC (permalink / raw)
  To: lartc

Hello Leigh,

Thanks, I will look into this configuration and i will get back to you
tomorrow.

Regards,
Joe

> Hey Joe,
>
> One <possible> configuration is to configure your linux box as an ethernet
bridge
> between your client machines and the public router
>
> |===|
> | PC 1 |
> |===|\
>          \
> |===|  \       |====|             |====|
> | PC 2 |---O------| LINUX |-------------| ROUTER |
> |===|  /       |====|             |====|
>          /
> |===|/
> | PC 3 |
> |===|
>
> and then make use of the "WRR" qdisc to control the traffic.
>
> There are obviously many other possibilities, but this is the method I am
currently
> testing, so I thought I would make you aware of it's existence.
>
> The link for more info is http://wipl-wrr.sourceforge.net/
>
> Leigh
>
>
> > Hello All,
> >
> > I have 1.5Mbits Backbone connection with 16 public ip address.
> >
> > I like to provide share my connection with someother my friends how will
> > have public ip addess.
> >
> > So i wanted to configre linux router with bandwidth controll for my
friends
> > connection.
> >
> > Actully i tried with single interface in linux and CBQ but it does not
> > controll.
> >
> > I should do not use NAT as my friends are running web servers.
> >
> > Is it possible to configure in linux.or some links to configure this
> >
> > Advance thanks
> > Joe
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
>
>


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
                   ` (4 preceding siblings ...)
  2003-06-25 15:23 ` Joe
@ 2003-06-25 15:42 ` Leigh Waldie
  2003-06-26  3:11 ` rio
  6 siblings, 0 replies; 8+ messages in thread
From: Leigh Waldie @ 2003-06-25 15:42 UTC (permalink / raw)
  To: lartc

> Hi Joe,
>
> I see no real reason giving the servers real IP addresses, you're better
> keeping the NAT and forward the ports to the private address.
> If you have more than one mail server, you can map diffrent public IP
> address
> to a diffrent private address. this will also keep your servers safe...
>

Agreed this is of course the best way to secure lots of servers.

And if you like the look of "wrr" as a qdisc,

(and it does seem to have some very advanced features -
  such as the ability to "spot" large downloads and
  automatically decrease the available bandwidth for that
  connection for the duration of the download -
  although I could be wrong in my understanding of this) ,

then you can still use this qdisc with a NATing router,
so have a look at their site anyway.

The suggestion of a bridge was intended as a simple "no fuss"
solution which can easily be bypassed in times of need -
such as component failure - by simply taking the cable out
of the bridge and plopping it straight back in the router.

I was of course assuming that your "friends" would take
care of their own security, thus removing the burden of you
even telling them about the traffic shaping as well as
preventing you from having to manage all their port forwarding
requirements.

I'm sure the whole business of traffic shaping is far too
complicated for any one answer to be correct even one percent
of the time so I accept that this answer may be useless for you.

Good luck!

Leigh

> Cheers,
>
> Shay Bosse
> System Administrator
> PointMatch Ltd. http://www.pointmatch.com
>
>
> ----- Original Message -----
> From: "Joe" <ox_in@gmx.net>
> To: <rio@martin.mu>; <lartc@mailman.ds9a.nl>
> Sent: Wednesday, June 25, 2003 5:10 PM
> Subject: Re: [LARTC] Linux router and Bandwidth control
>
>
>> Hello Martin,
>>
>> Currently i am using this configuration.
>>
>> In future they may run mail server then i have to go for new configuration
>> where i have to give them the public ip address.
>>
>> Thanks
>> Sathyan
>>
>> If you put your friends in NAT (Private IP), no problem ..
>> They have webserver, all you have to do is forward packets going to port
> 80
>> to private ip:80
>> Further more read iptables-howto
>>
>> Regards,
>> Rio Martin.
>>
>>
>>
>> Original Message:
>> -----------------
>> From: Joe ox_in@gmx.net
>> Date: Wed, 25 Jun 2003 17:51:51 +0530
>> To: lartc@mailman.ds9a.nl
>> Subject: [LARTC] Linux router and Bandwidth control
>>
>>
>> Hello All,
>>
>> I have 1.5Mbits Backbone connection with 16 public ip address.
>>
>> I like to provide share my connection with someother my friends how will
>> have public ip addess.
>>
>> So i wanted to configre linux router with bandwidth controll for my
> friends
>> connection.
>>
>> Actully i tried with single interface in linux and CBQ but it does not
>> controll.
>>
>> I should do not use NAT as my friends are running web servers.
>>
>> Is it possible to configure in linux.or some links to configure this
>>
>> Advance thanks
>> Joe
>>
>>
>> _______________________________________________
>> LARTC mailing list / LARTC@mailman.ds9a.nl
>> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>>
>> --------------------------------------------------------------------
>> mail2web - Check your email from the web at
>> http://mail2web.com/ .
>>
>>
>> _______________________________________________
>> LARTC mailing list / LARTC@mailman.ds9a.nl
>> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>>
>>
>>
>> _______________________________________________
>> LARTC mailing list / LARTC@mailman.ds9a.nl
>> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>>
>>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Linux router and Bandwidth control
  2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
                   ` (5 preceding siblings ...)
  2003-06-25 15:42 ` Leigh Waldie
@ 2003-06-26  3:11 ` rio
  6 siblings, 0 replies; 8+ messages in thread
From: rio @ 2003-06-26  3:11 UTC (permalink / raw)
  To: lartc

Hi all,
About servers in private network, could you all mention good points why
servers should be put in private network. I must write down some reports
about these, because during this week, i have new jobs maintaining new
organisation that still put their servers in public ip range. I ve just
moved several servers like mailserver,dns,web to private network. And soon
all servers will be moved to the private network.

Thanks.
Regards,

Rio Martin.




Original Message:
-----------------
From: Leigh Waldie lartc@thisisnota.co.uk
Date: Wed, 25 Jun 2003 16:42:26 +0100 (BST)
To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Linux router and Bandwidth control

> Hi Joe,
>
> I see no real reason giving the servers real IP addresses, you're better
> keeping the NAT and forward the ports to the private address.
> If you have more than one mail server, you can map diffrent public IP
> address
> to a diffrent private address. this will also keep your servers safe...
>

Agreed this is of course the best way to secure lots of servers.

And if you like the look of "wrr" as a qdisc,

(and it does seem to have some very advanced features -
  such as the ability to "spot" large downloads and
  automatically decrease the available bandwidth for that
  connection for the duration of the download -
  although I could be wrong in my understanding of this) ,

then you can still use this qdisc with a NATing router,
so have a look at their site anyway.

The suggestion of a bridge was intended as a simple "no fuss"
solution which can easily be bypassed in times of need -
such as component failure - by simply taking the cable out
of the bridge and plopping it straight back in the router.

I was of course assuming that your "friends" would take
care of their own security, thus removing the burden of you
even telling them about the traffic shaping as well as
preventing you from having to manage all their port forwarding
requirements.

I'm sure the whole business of traffic shaping is far too
complicated for any one answer to be correct even one percent
of the time so I accept that this answer may be useless for you.

Good luck!

Leigh



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-06-26  3:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-25 12:33 [LARTC] Linux router and Bandwidth control Joe
2003-06-25 13:33 ` rio
2003-06-25 14:04 ` Leigh Waldie
2003-06-25 15:19 ` Shay Bosse
2003-06-25 15:22 ` Joe
2003-06-25 15:23 ` Joe
2003-06-25 15:42 ` Leigh Waldie
2003-06-26  3:11 ` rio

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.