All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: dead onlink
@ 2003-11-05 10:52 Marcelo
  2003-11-06  5:53 ` Julian Anastasov
  2003-11-06  7:56 ` gypsy
  0 siblings, 2 replies; 3+ messages in thread
From: Marcelo @ 2003-11-05 10:52 UTC (permalink / raw)
  To: lartc


 Hello people:
 	I've implemented the script for load balancing of
 "Linux Advanced Routing & Traffic Control HowTo" on this structure:


                  ------------------linux gateway (subnet 1)
		!
linux router ------------------intranet (subnet 2)
		!
                 ------------------linux gateway2 (subnet 3)
		!
		 ------------------intranet (subnet 4)


and I've a question:
  When I run the next command : "ip route" I get the folowing information:

 --------------
 192.168.0.32/27 dev eth0 proto kernel scope link src 192.168.0.33
 192.168.0.96/27 dev eth2 proto kernel scope link src 192.168.0.97
 192.168.0.64/27 dev eth1 proto kernel scope link src 192.168.0.65
 192.168.0.128/27 dev eth3 proto kernel scope link src 192.168.0.129
 127.0.0.0/8 dev lo scope link
 default
 	nexthop via 192.168.0.126 dev eth2 weight 1 dead onlink
 	nexthop via 192.168.0.61 dev eth0 weight 1
 -----------------------------

 Is normal the part of "dead onlink" ?
 This message is always there but the 192.168.0.126 gateway is online.
 Do I need the Julian's dead gateway detection patch?.

 Thanks in advance.

Marcelo.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Re: dead onlink
  2003-11-05 10:52 [LARTC] Re: dead onlink Marcelo
@ 2003-11-06  5:53 ` Julian Anastasov
  2003-11-06  7:56 ` gypsy
  1 sibling, 0 replies; 3+ messages in thread
From: Julian Anastasov @ 2003-11-06  5:53 UTC (permalink / raw)
  To: lartc


	Hello,

On Wed, 5 Nov 2003, Marcelo wrote:

>  default
>  	nexthop via 192.168.0.126 dev eth2 weight 1 dead onlink
>  	nexthop via 192.168.0.61 dev eth0 weight 1
>  -----------------------------
>
>  Is normal the part of "dead onlink" ?

	No, you need the latest 'ip' utility from iproute2:

ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.4.7-now-ss020116-try.tar.gz

>  This message is always there but the 192.168.0.126 gateway is online.
>  Do I need the Julian's dead gateway detection patch?.

	Not for this problem

>  Thanks in advance.
>
> Marcelo.

Regards

--
Julian Anastasov <ja@ssi.bg>

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Re: dead onlink
  2003-11-05 10:52 [LARTC] Re: dead onlink Marcelo
  2003-11-06  5:53 ` Julian Anastasov
@ 2003-11-06  7:56 ` gypsy
  1 sibling, 0 replies; 3+ messages in thread
From: gypsy @ 2003-11-06  7:56 UTC (permalink / raw)
  To: lartc

Marcelo wrote:
>  default
>         nexthop via 192.168.0.126 dev eth2 weight 1 dead onlink
>         nexthop via 192.168.0.61 dev eth0 weight 1
>
>  Is normal the part of "dead onlink" ?
No, it is not normal.  I don't know what "onlink" means, but "dead"
means just what you fear it means; eth2 has been set dead by the
kernel.  It could be a routing issue or it could be your firewall, or
possibly the NIC is telling the kernel something bad?

You really need to run 
# ip route list table eth2
# ip route list table eth0
# ip route list table main
to see what is going on.  And assure that when only eth2 is up that you
can surf (perhaps unplug the WAN wire on eth0?).

>  This message is always there but the 192.168.0.126 gateway is online.
Are you 100% sure it is online?  I have NEVER seen "dead" unless it was
true.  I _have_ been able to send/receive on a different (wrong)
interface while one interface was dead.  (I have 3 ISPs)

>  Do I need the Julian's dead gateway detection patch?.
Well, whether you "need" it or not, I strongly recommend you apply it.  

You might also want to use
# ip route add default   equalize   scope global nexthop via BLAH
BLAH...
rather than
# ip route add default scope global nexthop via BLAH BLAH...

If you run a kernel version 2.4.22 you will need to tweak Julian's patch
(I could only find a patch for 2.4.20); if you want my tweaked version
(2.4.22) you can FTP it from andthatsjazz.net/pub/linux/.

And I use KeepState (see nano.txt), though I have NO CLUE why it is A
Good Thing <grin>.  I do not ping from inside though.  I run a dgd ping
from outside; when the ping fails I scp a flag file to the multilink
setup that triggers a flush there.

>  Thanks in advance.
> 
> Marcelo.
gypsy
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-11-06  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-05 10:52 [LARTC] Re: dead onlink Marcelo
2003-11-06  5:53 ` Julian Anastasov
2003-11-06  7:56 ` 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.