All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Please help a newbie...
@ 2001-01-23 14:12 Paul
  0 siblings, 0 replies; only message in thread
From: Paul @ 2001-01-23 14:12 UTC (permalink / raw)
  To: lartc

<PRE>I want to do the following:

&lt;Cable-modem&gt;---eth0&lt;Router/Server&gt;eth1-------&lt;fucking windows client&gt;

I've talked to a friend so I can put my linux box on his cable connection (128Kbit input, 64Kbit 
output). My box will be a web server, and my friend need to access to internet as transparent 
as possible. I also want to guarantee an equal traffic amount for each computer, both 
input/output. This must not be bounded, so if he is not online the server can get all the traffic, 
and he can get more bandwidth if the server is iddle.

The linux box is a RedHat 7.0 machine (2.2 kernel). I've been reading about all this, but don't 
have enougth knowledge to fully understand the netfilter model, etc... I promiss you I've readed 
all HOWTOS and web pages I've found at least twenty times, and I've made some 
experiments wich didn't worked, I don't like to ask stupid questions. But I'm desesperated.

The idea is to use iproute2, with tc tool for traffic control, and iptables to implment the 
masquerading. I think I must upgrade my kernel to 2.4 so I can use iptables, and install 
iproute2 package. I've installed the .rpm in the preview directory of RedHat 7.0 distr., but don't 
know if this is correct or need to compile the kernel with specific options. This is my first 
question, a micro-howto of how I can setup my system to handle my problem.

It seems I must mark the packets with iptables, dont know the way, so I can make the 
apropiate filters over eth0 so I can diference the server traffic and the client traffic. So, my 
second question is: ¿What are the commands I must execute for:
1.-Mark the packets incomming from eth1
2.-Implement the maskerading
3.-Create the classes, cbq, etc for eth0
4.-Create the filters for eth0

I've been working with this two weeks, but I can imagine how to do that. All my experiment 
were unsucessfull.

I dont have very much experience with linux administration. Sorry if this seems a little bit 
stupid for you, but those who help me will have my eternal gratitude.

Thanks.

bashar
&gt;&gt;<i>EOT
</I>
Consigue tu dirección de email gratis y permanente en <A HREF="http://WWW.LETT=">http://WWW.LETT=</A>
ERA.NET


</PRE>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-23 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-23 14:12 [LARTC] Please help a newbie Paul

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.