Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Ard van Breemen <ard@telegraafnet.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] "Bug" in howto 4.2.1 Split access and other advice
Date: Mon, 08 Jul 2002 11:54:40 +0000	[thread overview]
Message-ID: <marc-lartc-102612932730345@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102589034132084@msgid-missing>

On Fri, Jul 05, 2002 at 11:31:53PM +0000, Julian Anastasov wrote:
> On Fri, 5 Jul 2002, Ard van Breemen wrote:
> > I am using this to differentiate between known routing, and
> > default routing.
> 	Or more correctly, to specify the path between
> each two subnets, the more specific rules and routes before the
> others.
Yes... I like. Although too complex for the users that do not
know what we are talking about.

> > # (The append is needed because else the routes will clash)
> > # So we have a table with two default routes wich will failover
> > # for eachother (takes about 10 minutes in default config)
> 	You can add note about tuning this timeout with
> gc_interval, gc_timeout and friends.
Or refer to the page, ehhhh, oops... I remember Bert asking me to
write one up :(...

> > So what is the catch:
> > The only catch is that if you do not have point-to-point
> > connections with your provider, but a /24 for example, then
> > requests coming in from provider2 for the ip-eth1, will go out
> > from your eth2 and not from your eth1. This might be a problem if
> > your /24 is filtered by your ISP.

> 	This should be covered from sharing /24 subnet with
> the provider - the link-local networks.
> 
> 	The most usual setups are:
> 
> 1. shared /30 => routes via peer gateway
> 
> 2. shared pubnet, ISP/we have one IP from pubnet => link-local
> routes, gateway is onlink
> 
> The 2nd case can be split again in 2 cases according to the pubnet
> owner (ISP has the pubnet or the pubnet is yours). I.e. this
> explains where is the subnet, on internal or on external
> interface.
Once again, I like it. This time it is also not complex.

> Other alternatives?
I think that covers everything: peer-to-peer, and subnets... Is
there something else I did not know about?

> > Last thing: this failover thingie can also be a "loadbalanced"
> > thingie as explained in "4.2.2 Load balancing".
> > However: due to bugs in the equalizeing code, I recommend against
> 	Yes, equalize does not work if the ISPs filter by src.
> This flag is simply not in the kernel, only in user space.
Well, it *does* work in this framework: we only need the
multipath code to select a route, and therefore a source ip. Once
we got the source ip, we will not hit the multipath route
anymore due to the rules... And even if we did, there is a good
chance it is still cached :).

> > it. Somewhere inside the kernel it cannot clearly come up with a
> > route, which results in a lot of "cannot happen 777".
> 	Fixed in 2.4.19pre8, SMP race.
Cool!

> > Next to that: the usage counts of the devices are not correctly
> > incremented and decremented. You have to be very careful and craft
> > an extra non-multipath route before, then remove the existing
> > multi-path route, before bringing down a network device. Else it
> > ends up in an endless "device still in use, waiting". And you
> > will not be able to use the device anymore until you reset some
> > sense into the machine...
> 	This snafu is also fixed in 2.4.19pre8, it is even killed:
> the multipath route is deleted due to SMP locking problems.
Do you mean we cannot have multipaths anymore? Or that the fix
was to remove the multipath route?

-- 
begin  ILOVEYOU.VBS 666
<ard@telegraafnet.nl> Telegraaf Elektronische Media
Real geeks don't get viruses
end
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-07-08 11:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05 17:31 [LARTC] "Bug" in howto 4.2.1 Split access and other advice Ard van Breemen
2002-07-05 18:13 ` Arthur van Leeuwen
2002-07-05 18:25 ` Laurens van Alphen
2002-07-05 18:39 ` Stef Coene
2002-07-05 18:45 ` Arthur van Leeuwen
2002-07-05 18:47 ` Arthur van Leeuwen
2002-07-05 18:58 ` Stef Coene
2002-07-05 19:05 ` Arthur van Leeuwen
2002-07-05 19:27 ` Stef Coene
2002-07-05 19:39 ` Arthur van Leeuwen
2002-07-05 20:31 ` Julian Anastasov
2002-07-05 21:43 ` Stef Coene
2002-07-08 11:22 ` Ard van Breemen
2002-07-08 11:54 ` Ard van Breemen [this message]
2002-07-08 12:15 ` Julian Anastasov
2002-07-08 12:28 ` S Mohan
2002-07-08 13:50 ` 'Ard van Breemen'

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102612932730345@msgid-missing \
    --to=ard@telegraafnet.nl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox