All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arindam Haldar <ahiam@yahoo.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Queries
Date: Wed, 30 Jan 2002 03:57:24 +0000	[thread overview]
Message-ID: <marc-lartc-101236304421175@msgid-missing> (raw)

hi all,
hi stef,

stef i went thru the site www.docum.org & would really like to thank u
on one part--->monitor.pl.. :-).. havent tried it yestreday but will
today when i find time but reading it i know that ... :-)
1) comming accros 2 one of the pages -->
www.docum.org/stef.coene/qos/tests/cbq/splitting/weight/splitting-weight.html
..i saw these 4 lines & got curious 2know y ur sending pkts with mark of
1 & 2 to both classes 10:2 & 20:10 ?..wont there b confusion 2 what
rules 2b applied?
tc filter add $DEV parent 10: protocol ip prio 3 handle 1 fw classid
10:2
tc filter add $DEV parent 10: protocol ip prio 3 handle 2 fw classid
10:2
tc filter add $DEV parent 20: protocol ip prio 3 handle 1 fw classid
20:10
tc filter add $DEV parent 20: protocol ip prio 3 handle 2 fw classid
20:20

2) our linux box does managemnt of public lan(office ) & pvt
lan(cable)--by ip's.. sucess with public ips, marking & using tc filter
is sucessful but not true with pvt ips (10 series, marking part!).. to
let u know better here is what we did with public ip..
 iptables -t mangle -A PREROUTING -i eth1 -s <a.b.c.0/26> -d
<a.b.e.0/25> -j MARK --set-mark 90
 iptables -t mangle -A PREROUTING -i eth0 -d <a.b.c.0/26> -s
<a.b.e.0/25> -j MARK --set-mark 91
 the tc commands
 tc filter add dev eth0 parent 1:105 pfifo limit 2
 tc filter add dev eth1 parent 2:105 pfifo limit 2
This works fine--tested with different traffic loads of download&
upload.
BUT with lan on eth4 which has pvt ip range(10series) vr not sucesful.
the problem is how to make sure that the pkts detination for 10.0.0.0/8
should be marked as they r MASQUERADEd. so i trired to mark with
FORWARD/OUTPUT/POSTROUTING but unsuccesful. tc -s class.... etc command
doesnt show any data being passed thru the class while iptables -nvL -t
mangle shows pkts r being marked & passing thru.

3) do we need to reset/restart the iptables script when iproute script
is reapplied or vice versa ?

4) have any one of you faced this problem --> when allowing a network
segment to INPUT/FORWARD/MASQUERADE thru, the ip's/pc's show eractic
behaviour of performance..for eg allwoing 10.20.30.0/28 & restructing it
to say 64 kbps will allow one ip/pc to utlise the bandidth while other
ip/pc struggle to get an equal share. this have been monitored for
hours/days with iptraf. 
how can one insure that a few ip's being used on that perticular network
segment at any perticulr time, all ip get equal share of bandwith
alloted to that network segmenet--well if not equal a fair share of
bandwidth alloted !!

pls pardon me 4 my english.
thanx in advance

arindam haldar


-- 
Arindam Haldar
Systems & Network
Digital 2 Virtual ISP Pvt Ltd.
Vadodara, Gujarat  INDIA
www.d2visp.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

                 reply	other threads:[~2002-01-30  3:57 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-101236304421175@msgid-missing \
    --to=ahiam@yahoo.com \
    --cc=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.