Re: [LARTC] queue placing

2005-12-27 Thread Janis Daniel Bistevins
yes, I thought so  thanks...On 12/27/05, Denis Ovsienko [EMAIL PROTECTED] wrote:
 My question is, if I QOS the traffic on the LINUX-ROUTER going out from the LAN towards the frame relay cloud, and this traffic is re-queued on the CISCO-ROUTER ... this would make all of my shapping
If you don't configure QoS at cisco router, it will process packets on aFIFO basis.
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Fwd: Inbound and outbound traffic problem

2005-12-21 Thread Janis Daniel Bistevins
Thanks Michael for your answer!

I finally did it in a way simillar as you described. Marking pakets and
using nat. BUT everything start working great when I found a
little detail:



echo 0  /proc/sys/net/ipv4/conf/eth1
/rp_filter
echo 0  /proc/sys/net/ipv4/conf/eth2/rp_filter

Without this, things were confused.

Where this come from? I found this trick in a HowTo from a Spain site:

http://bulma.net/body.phtml?nIdNoticia=1615

Nowhere else!
So, what I did, is a common mistake? Is this assumed by default in
every configuration and because of this, there is no comments about
this in any other tutorial or howto?

Anyway, ones again Mike, thank you!!

Best regards

J.D.Bistevins
On 12/20/05, Michael Davidson [EMAIL PROTECTED] wrote:
Hi,There is another way to do this, but I doubt that it is anymoreelegant than what you have right now. I have just completed this sametask and I can say that if I could have used your method - overlaying
another subnet -I would have done so since it's a cleaner solution in myview.I used iptables to mark the packets of the flows that where generatedby the server ( WWW).I created a second routing table with it's own default route.
I created an ip rule which looks for a mark on the packets anddirects those packets to the new routing table.Keep in mind, for this to work correctly you need to be using NAT or
Masquerade on at least one of your ISP ports.Regards Mike
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] Fwd: Inbound and outbound traffic problem

2005-12-20 Thread Janis Daniel Bistevins
sorry if I can't explain correctly what my problem is.What I need is to route traffic originated inside my lan by one ISP,and traffic coming from another ISP (mostly requests to machinesinside the lan)back by the same ISP.
The way I've found is by creating two diferent networks inside my lan.Those machines running services have two IP's on its NICs. That way Ican route depending the source of the packets.I have a snapshot of my drawing, so you can figure this out.
http://www.iglobal.com.ar/~janis/snap.xpm-- Forwarded message --From: Janis Daniel Bistevins 
[EMAIL PROTECTED]Date: Dec 19, 2005 12:05 PMSubject: Inbound and outbound traffic problemTo: lartc@mailman.ds9a.nl+---+
++
ISP A
|
|
||-|
|++|
| +--+|ROUTER
|NET
C|www ||
LINUX||||
|NET D +---+++ISP
B
|
||||
|
++|
|
++Hi!I need that requests to www arriving from net ISP A returns by thesame route, but connections initiated from www go out by net ISP B.The only way I have discovered so far is creating two differents
networks (NET C and NET D)So, www have a route to ISP A by NET C and a default route by NET D .On the Linux Router evereything coming from NET D is routed by NET Band everything coming from NET C is routed by NET A
This is accomplished by creating logical interfaces on www and on theLinux Router.Is there another way to do this?Thanks in advance.Regards.--Janis BistevinsBelief is 9/10 of YOUR reality
-- Janis BistevinsBelief is 9/10 of YOUR reality
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] Inbound and outbound traffic problem

2005-12-19 Thread Janis Daniel Bistevins
+---+
  ++   ISP A | |
   |  |-| |
  ++| |   
   +--+
|  ROUTER   |NET C  |  www |
|   LINUX   
||  |
| |
NET D +---+
  ++ISP B   | |
|  || |
   ++  | |
   ++


Hi!
I need that requests to www arriving from net ISP A returns by the
same route, but connections initiated from www go out by net ISP B.

The only way I have discovered so far is creating two differents
networks (NET C and NET D)
So, www have a route to ISP A by NET C and a default route by NET D .
On the Linux Router evereything coming from NET D is routed by NET B
and everything coming from NET C is routed by NET A
This is accomplished by creating logical interfaces on www and on the
Linux Router.

Is there another way to do this?

Thanks in advance.
Regards.

--
Janis Bistevins
Belief is 9/10 of YOUR reality
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc