Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: off topic - hope somebody can help
Date: Fri, 11 Jun 2004 12:29:36 +0100	[thread overview]
Message-ID: <200406111229.36397.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <000901c44f53$44b9be80$0200000a@heretic>

On Friday 11 June 2004 2:27 am, Alexis wrote:

> Does anybody knows why ethernet interfaces stay's up even when i unplug the
> ethernet cable?

Why shouldn't it?   The interface is still fully functioning even if you 
choose to disconnect it - I think plenty of people would get upset if the 
interface went down on its own just because the cable got unplugged (or the 
hub had a short power failure)...

> I have 2 isp connected to a box, with a default route pointing both of them
> one using a higer weight to use it as backup conection (using iproute2).
> Ok, if i unplug the ethernet cable of eth of isp1 , the ethernet card stays
> up and nobody can make any connection. But, if i "really" force the
> interface shutdown of provider1 (doing ifdown eth1) the traffic goes
> instantly trough provider2.
>
> Any idea how can i tear down an interface when i unplug the ethernet cable?

Personally I would prefer to do something like a ping test to each ISPs 
gateway router - then you can switch routes if any part of the connection 
between your box and the link to the Internet goes down, not just one 
specific piece of CAT5 cable.

Regards,

Antony.

-- 
Documentation is like sex.
When it's good, it's very very good.
When it's bad, it's still better than nothing.

                                                     Please reply to the list;
                                                           please don't CC me.



  parent reply	other threads:[~2004-06-11 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11  1:27 off topic - hope somebody can help Alexis
2004-06-11  2:13 ` Jason
2004-06-11 11:29 ` Antony Stone [this message]
2004-06-11 11:42   ` Gavin Hamill
2004-06-11 12:01     ` Antony Stone
2004-06-11 16:54 ` Damjan
2004-06-11 19:58   ` Alexis
  -- strict thread matches above, loose matches on Subject: below --
2004-06-11 15:47 Hudson Delbert J Contr 61 CS/SCBN
2004-06-11 18:04 ` Alexis

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=200406111229.36397.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --cc=netfilter@lists.netfilter.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