All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] cheap line/expensive line situation.
@ 2001-02-12 16:40 Jorge
  2001-02-13  0:28 ` Konrads
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge @ 2001-02-12 16:40 UTC (permalink / raw)
  To: lartc

<PRE>    Hi

You have to add the route to the table that you have made the rule for.

    ip ro add network table 200 dev eth2(outer nic) via ispsgivengateway
                     ^^^^^^^^^^^^^^^^^

    Regards.

    -Jorge

===============================
Jorge Boncompte - Técnico de sistemas
DTI2 - Desarrollo de la Tecnología de las Comunicaciones
--------------------------------------------------------------
C/ Abogado Enriquez Barrios, 5   14004 CORDOBA (SPAIN)
Tlf: +34 957 761395 / FAX: +34 957 450380
--------------------------------------------------------------
<A HREF="mailto:jorge@dti2.net">jorge@dti2.net</A> _-_-_-_-_-_-_-_-_-_-_-_-_-_ <A HREF="http://www.dti2.net">http://www.dti2.net</A>
===============================
Without wicker a basket cannot be done.
===============================

----- Mensaje original -----
De: &quot;Konrads Smelkov&quot; &lt;<A HREF="mailto:konrads@interbaltika.com">konrads@interbaltika.com</A>&gt;
Para: &lt;<A HREF="mailto:lartc@mailman.ds9a.nl">lartc@mailman.ds9a.nl</A>&gt;
Enviado: martes, 13 de febrero de 2001 1:28
Asunto: [LARTC] cheap line/expensive line situation.

Hi,

I have a situation similar to cheap line/expensive line.
let's say two nic's one is on mygoodsubnet and other is provider's given ip
address for their subnets.

So i do:
iptables -t mangle -A PREROUTING -s mygoodsubnet/mask -j MARK --set-mark 2

ip ru add fwmark 2 table 200
ip ro add dev eth2(outer nic) via ispsgivengateway

and... it doesn't work :(

If you would tell me how to do it, i would maybe write a mini-HOWTO and post
it to linuxdoc :)

_______________________________________________
LARTC mailing list / <A HREF="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</A>
<A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO:
<A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A>





</PRE>

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

end of thread, other threads:[~2001-02-13  0:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-12 16:40 [LARTC] cheap line/expensive line situation Jorge
2001-02-13  0:28 ` Konrads

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.