From: Junus Junarto D Junus Junarto D" <junus@bigfoot.com
To: lartc@vger.kernel.org
Subject: [LARTC] Two routers with IProute2
Date: Mon, 08 Jan 2001 20:12:43 +0000 [thread overview]
Message-ID: <marc-lartc-98373940416839@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416831@msgid-missing>
<PRE>Hi Chris G,
Let me tryThere are some solutions:
1. Use linux as bridge in the middle connection betwen your clients and
cisco router.
clients--Linux.Bridge--Cisco.Router
because as bridge the traffic shaping will work at layer 2 or MAC
address not IP. This is the easiest solution.
You can read about this solution at WRR qdisc homepage:
<A HREF="http://wipl-wrr.dkik.dk/wrr">http://wipl-wrr.dkik.dk/wrr</A>
2. Use linux as router in the middle connection betwen your clients and
Cisco Router.
clients--Linux.Router--Cisco.Router
It will make LinuxRouter have IP addr x.x.166.254 of CiscoRouter. It can
be given a private IP like 192.168.0.1 - 2 /30, but the disadvantage is if
somebody make traceroute to your IP addr x.x.166.254, the second last line
host will unreachable.
if you don't want use private IP, you can add a public IP.
3. Use linux as router in the same network with client and Cisco router,
----------------------------------
| | |
clients Linux.Router Cisco.Router
Give LinuxRouter an IP addr x.x.166.254 of CiscoRouter.
CiscoRouter has new IP addr e.g: x.x.166.253
Default routing in LinuxRouter set to x.x.166.253
Routing to x.x.166.x at CiscoRouter will be forwarded to LinuxRouter to IP
addr x.x.166.254.
The traffic shaping at LinuxRouter must use ingress qdisc because it use
outgoing and ingoing traffic at same interface.
(Hey.. maybe it can use CBQ too, because ingoing traffic will be outgoing
traffic too)
But disadvantage of this method is the bandwidth or local network will be
more collision, this can be eliminated by using switch.
Do anybody have another simple idea?
Regards,
Junus Junarto D.
><i> From: "Chris G." <<A HREF="mailto:chrisg@tabor.edu">chrisg@tabor.edu</A>>
</I>><i> To: <<A HREF="mailto:lartc@mailman.ds9a.nl">lartc@mailman.ds9a.nl</A>>
</I>><i> Date: Sun, 7 Jan 2001 23:11:59 -0600
</I>><i> Subject: >
</I>><i> Hello,
</I>><i> Finally there is a site with up-to-date information and people who know
</I>what
><i> they are talking about. THANKS
</I>
><i> I have a network with 2 class c addresses (x.x.166.x & x.x.167.x) at a
</I>><i> college. Currently, we have a Cisco router with an ip of x.x.166.254. Is
</I>><i> it possible to incorporate a Linux box running iproute2 for traffic
</I>shaping
><i> purposes, without changing my default gateway on each client (about 500,
</I>><i> which are not using dhcp)? Also, are their any issues that may come up
</I>with
><i> the 2 class c's.
</I>><i>
</I>><i> Thanks for any info you can give.
</I>><i>
</I>><i> Chris G.
</I>
</PRE>
prev parent reply other threads:[~2001-01-08 20:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-08 5:11 [LARTC] Two routers with IProute2 Chris
2001-01-08 20:12 ` Junus [this message]
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-98373940416839@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.