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:
http://wipl-wrr.dkik.dk/wrr
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.
> From: "Chris G." <chrisg@tabor.edu>
> To: <lartc@mailman.ds9a.nl>
> Date: Sun, 7 Jan 2001 23:11:59 -0600
> Subject: >
> Hello,
> Finally there is a site with up-to-date information and people who know
what> they are talking about. THANKS
> I have a network with 2 class c addresses (x.x.166.x & x.x.167.x) at a
> college. Currently, we have a Cisco router with an ip of x.x.166.254. Is
> it possible to incorporate a Linux box running iproute2 for traffic
shaping> purposes, without changing my default gateway on each client (about 500,
> which are not using dhcp)? Also, are their any issues that may come up
with> the 2 class c''s.
>
> Thanks for any info you can give.
>
> Chris G.