All of lore.kernel.org
 help / color / mirror / Atom feed
To: lartc@vger.kernel.org
Subject: [LARTC] some basic probs i cant identify !!--:o((
Date: Tue, 07 Nov 2000 07:19:02 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216901@msgid-missing> (raw)

<PRE>hi---first of all thank u HOW-TO(people here think i'm
genious)--:o))))

but will someone plzz help me !
here is the netork i have

WEb---|server A|--------|server B|---- my clients
     eth0     eth1     eth0     eth1
           10.0.0.3/8   0.2/8    0.1/8

the network is on ip 10.0.0.0/8 with eth0 on server A
as valid ip from ISP ! serverA runs squid &amp; ipchains
while serverB is THE linux router(well want it to
be!).
i have recomplied kernel 2.2.17 with all required
options on redhat6.2 &amp; have the following script!....
but my clients fail to access web---WHY???

#!/sbin/sh
for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
  echo 1 &gt; $f
done
echo 1 &gt; /proc/sys/net/ipv4/ip_forward
echo 1 &gt; /proc/sys/net/ipv4/tcp_syncookies
for f in /proc/sys/net/ipv4/conf/*/accept_redirects;
do
   echo 0 &gt; $f
done
for f in
/proc/sys/net/ipv4/conf/*/accept_source_route; do
   echo 0 &gt; $f
done
######---starting bandwidth
#####-----for eth0
tc qdisc add dev eth0 root handle 10: cbq bandwidth
100Mbit avpkt 1000

tc class add dev eth0 parent 10:0 classid 10:1 cbq
bandwidth 100Mbit rate 100Mbit allot 1514 weight 1Mbit
prio 8 maxburst 20 avpkt 1500

tc class add dev eth0 parent 10:1 classid 10:100 est
2sec 10sec cbq bandwidth 100Mbit rate 64Kbit allot
1514 weight 1Kbit prio 5 maxburst 20 avpkt 1500
bounded

tc class add dev eth0 parent 10:1 classid 10:200 cbq
bandwidth 100Mbit rate 90Mbit allot 1514 weight 9Mbit
prio 5 maxburst 20 avpkt 1500 bounded
 
tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b
perturb 30
tc qdisc add dev eth0 parent 10:200 sfq quantum 1514b
perturb 15
 
tc filter add dev eth0 parent 10:0 protocol ip prio
100 u32 match ip src 10.1.4.0/24 flowid 10:100
tc filter add dev eth0 parent 10:0 protocol ip prio
100 u32 match ip src 10.1.61/32 flowid 10:100
 
tc filter add dev eth0 parent 10:0 protocol ip prio
100 u32 match ip src 10.0.255.0/29 flowid 10:200
tc filter add dev eth0 parent 10:0 protocol ip prio
100 u32 match ip src 10.175.0.0/16 flowid 10:200

....etc..etc....same as given in the how-to !!

my mind is now exhausted to find a reason(which i'm
sure is a very basic one)....
one more point to notice is---i want to implement
VirtualServers(load balance) between server A &amp;
B...well dont have much funds really to go in for
those high costing bandwidth at the moment!..

can someone help me plzz with this !
thanking in advance
regards &amp; good luck

arindam

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
<A HREF="http://shopping.yahoo.com/">http://shopping.yahoo.com/</A>


</PRE>

                 reply	other threads:[~2000-11-07  7:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373938216901@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.