From mboxrd@z Thu Jan 1 00:00:00 1970 From: bkonosky@texas.net bkonosky@texas.net Date: Wed, 18 Oct 2000 11:58:04 +0000 Subject: [LARTC] Question Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
I'm needing to do both QoS and NAT on a network. Also the router box itself has
a program running on it that needs bandwidth...I need to make sure that the
people on the NAT side has 90% of the bandwidth though...If need be I can
offload the program onto another box, and work that way, but I'd prefer to keep
the number of boxes there to a minimum...

THanks
Ben Konosky
bkonosky@texas.net



From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Konosky bkonosky@texas.net Date: Wed, 18 Oct 2000 16:56:40 +0000 Subject: [LARTC] Question. Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
I'm trying to do QoS and NAT at the same time...The router box is
needing to use some of the bandwidth itself, but I don't want it to take
more than 10% of the bandwidth...I'm looking at the howto, but I'm not
sure how to make it choke the local box itself.

If needed, I can have another box doing the work that I've got loaded on
the router, but would like to keep it all in one.

Thanks
Ben Konosky	
bkonosky@texas.net


From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?unknown-8bit?q?Gast=C3=B3n?= Forbice Date: Fri, 11 Jan 2002 17:49:22 +0000 Subject: [LARTC] Question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, Actually my question isn't too hard. I've red the "Advance Routing & Traffic Control How to", but it isn't clear to me where the routes are keept. Since you do specify the location on which the rules are stored (/etc/iproute2/rt\_table), I hope you can clear this up for me. Thank U. Gaston Forbice _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert Date: Sat, 12 Jan 2002 13:30:04 +0000 Subject: Re: [LARTC] Question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Fri, Jan 11, 2002 at 05:49:22PM +0000, Gast=F3n Forbice wrote: >=20 > Hi, > Actually my question isn't too hard. I've red the "Advance Routing &=20 > Traffic Control How to", but it isn't clear to me where the routes are=20 > keept. Since you do specify the location on which the rules are stored=20 > (/etc/iproute2/rt\_table), I hope you can clear this up for me. This differs per distribution. Check the documentation that came with it. REgards, bert --=20 http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liviu Faciu Date: Thu, 05 Dec 2002 06:58:23 +0000 Subject: [LARTC] Question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, I have that schema: Linux box ====== Outside world <-----------> eth0 eth1 <---------------> Inside world ====== On both, eth0 and eth1 I have a HTB queue applied. The filter is applied on the net 10.1.1.0/24. From the Inside world a need to reach some computers from the Outside world, the net is 172.16.45.0/24. My question is: in condition that I don't have any other filter applied on the net 172.16.45.0/24 that traffic will be gone at full speed through my Linux box ? Thank you, Liviu _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 05 Dec 2002 17:06:21 +0000 Subject: Re: [LARTC] Question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 05 December 2002 07:58, Liviu Faciu wrote: > Hi, > > I have that schema: > > Linux box > ============ > Outside world <-----------> eth0 eth1 <---------------> > Inside world > ============ > > On both, eth0 and eth1 I have a HTB queue applied. The filter is applied > on the net 10.1.1.0/24. From the Inside world a need to reach some > computers from the Outside world, the net is 172.16.45.0/24. My question > is: in condition that I don't have any other filter applied on the net > 172.16.45.0/24 that traffic will be gone at full speed through my Linux > box ? I don't understand what you want to say. But if you don't have any filters but you do have a htb setup, the traffic ends in the default class if you specified one. If you don't have a default class, the packets are transmitted as fast as the link allows. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Edgar Estrada Lopez" Date: Tue, 16 Dec 2003 04:31:48 +0000 Subject: [LARTC] Question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hello: I need some help on split access and load balancing: I have 2 xDSL (eth1 @ wireless broadband modem; and ppp0, actually=20 connected to eth0 on a phone DSL). Both links have dynamic addresses. I was reading the examples in the HOWTO: --- copied from the howto --- ip route add $P1_NET dev $IF1 src $IP1 table T1 ip route add default via $P1 table T1 ip route add $P2_NET dev $IF2 src $IP2 table T2 ip route add default via $P2 table T2 --- end copy -- this is awesome... is there any script that could convert these vars=20 ($P1_NET, etc) into the REAL values of my 2 dsl connections? I'm still not too good at coding in Linux... can anyone help me? Thanks in advance Edgar _________________________________________________________________ MSN Fotos: la forma m=E1s f=E1cil de compartir e imprimir fotos. =20 http://photos.msn.es/support/worldwide.aspx _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Wed, 17 Dec 2003 03:51:26 +0000 Subject: Re: [LARTC] Question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Edgar Estrada Lopez wrote: > > Hello: > > I need some help on split access and load balancing: > > I have 2 xDSL (eth1 @ wireless broadband modem; and ppp0, actually > connected to eth0 on a phone DSL). > > Both links have dynamic addresses. > I was reading the examples in the HOWTO: > --- copied from the howto --- > > ip route add $P1_NET dev $IF1 src $IP1 table T1 > ip route add default via $P1 table T1 > ip route add $P2_NET dev $IF2 src $IP2 table T2 > ip route add default via $P2 table T2 > --- end copy -- > > this is awesome... is there any script that could convert these vars > ($P1_NET, etc) into the REAL values of my 2 dsl connections? > > I'm still not too good at coding in Linux... can anyone help me? > > Thanks in advance > > Edgar Since nobody else volunteered: --cut here -- #!/bin/sh IFCONFIG="/sbin/ifconfig" ROUTE="/sbin/route" IF1="ppp0" IF2="eth1" # returns the IP address and netmask assigned to the interface IP1=`$IFCONFIG $IF1 2>/dev/null | grep inet | cut -d : -f 2 | cut -d \ -f 1` MASK1=`$IFCONFIG $IF1 2>/dev/null | grep Mask | cut -d : -f 4` echo "$IP1/$MASK1" # returns the network IP address and netmask per the routing table MASK1=`$IFCONFIG $IF1 2>/dev/null | grep Mask | cut -d : -f 4` P1_NET=`$ROUTE -n | grep $IF1 | grep $MASK | grep -w "U" | cut -d\ -f1` echo "$P1_NET/$MASK1" # CAVEAT: The interfaces must already be up. Some error checking would be advisable. E.G.: if [ "$P1_NET" = "" ]; then echo "no routing entry found for $IF1. Aborting." exit fi -- cut here -- You might also look to see if information can be obtained from /etc/ppp/ip-up.local or /etc/dhcpc/dhcpcd-eth1.info. buck _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/