All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Question
@ 2000-10-18 11:58 bkonosky
  2002-01-11 17:49 ` =?unknown-8bit?q?Gast=C3=B3n?= Forbice
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: bkonosky @ 2000-10-18 11:58 UTC (permalink / raw)
  To: lartc

<PRE>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
<A HREF="mailto:bkonosky@texas.net">bkonosky@texas.net</A>



</PRE>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [LARTC] Question.
@ 2000-10-18 16:56 Ben
  0 siblings, 0 replies; 8+ messages in thread
From: Ben @ 2000-10-18 16:56 UTC (permalink / raw)
  To: lartc

<PRE>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	
<A HREF="mailto:bkonosky@texas.net">bkonosky@texas.net</A>


</PRE>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [LARTC] Question
  2000-10-18 11:58 bkonosky
@ 2002-01-11 17:49 ` =?unknown-8bit?q?Gast=C3=B3n?= Forbice
  2002-01-12 13:30 ` bert hubert
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: =?unknown-8bit?q?Gast=C3=B3n?= Forbice @ 2002-01-11 17:49 UTC (permalink / raw)
  To: lartc


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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Question
  2000-10-18 11:58 bkonosky
  2002-01-11 17:49 ` =?unknown-8bit?q?Gast=C3=B3n?= Forbice
@ 2002-01-12 13:30 ` bert hubert
  2002-12-05  6:58 ` Liviu Faciu
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: bert hubert @ 2002-01-12 13:30 UTC (permalink / raw)
  To: lartc

On Fri, Jan 11, 2002 at 05:49:22PM +0000, Gastón Forbice wrote:
> 
> 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.

This differs per distribution. Check the documentation that came with it.

REgards,

bert

-- 
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [LARTC] Question
  2000-10-18 11:58 bkonosky
  2002-01-11 17:49 ` =?unknown-8bit?q?Gast=C3=B3n?= Forbice
  2002-01-12 13:30 ` bert hubert
@ 2002-12-05  6:58 ` Liviu Faciu
  2002-12-05 17:06 ` Stef Coene
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Liviu Faciu @ 2002-12-05  6:58 UTC (permalink / raw)
  To: lartc

                                                    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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Question
  2000-10-18 11:58 bkonosky
                   ` (2 preceding siblings ...)
  2002-12-05  6:58 ` Liviu Faciu
@ 2002-12-05 17:06 ` Stef Coene
  2003-12-16  4:31 ` Edgar Estrada Lopez
  2003-12-17  3:51 ` gypsy
  5 siblings, 0 replies; 8+ messages in thread
From: Stef Coene @ 2002-12-05 17:06 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [LARTC] Question
  2000-10-18 11:58 bkonosky
                   ` (3 preceding siblings ...)
  2002-12-05 17:06 ` Stef Coene
@ 2003-12-16  4:31 ` Edgar Estrada Lopez
  2003-12-17  3:51 ` gypsy
  5 siblings, 0 replies; 8+ messages in thread
From: Edgar Estrada Lopez @ 2003-12-16  4:31 UTC (permalink / raw)
  To: lartc

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

_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos.  
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LARTC] Question
  2000-10-18 11:58 bkonosky
                   ` (4 preceding siblings ...)
  2003-12-16  4:31 ` Edgar Estrada Lopez
@ 2003-12-17  3:51 ` gypsy
  5 siblings, 0 replies; 8+ messages in thread
From: gypsy @ 2003-12-17  3:51 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-12-17  3:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-18 16:56 [LARTC] Question Ben
  -- strict thread matches above, loose matches on Subject: below --
2000-10-18 11:58 bkonosky
2002-01-11 17:49 ` =?unknown-8bit?q?Gast=C3=B3n?= Forbice
2002-01-12 13:30 ` bert hubert
2002-12-05  6:58 ` Liviu Faciu
2002-12-05 17:06 ` Stef Coene
2003-12-16  4:31 ` Edgar Estrada Lopez
2003-12-17  3:51 ` gypsy

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.