All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Problem with duplicate route entry
@ 2006-03-02 19:47 Sven Anders
  2006-03-10 18:40 ` [LARTC] Problem with duplicate route entry (2. TRY) / Route on Sven Anders
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sven Anders @ 2006-03-02 19:47 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello!

I have a problem with a duplicate route entry, when using a pre-installed route
and automatic take-over by the "heartbeat" daemon, which adds an address and
the kernel adds an route automatically.

Maybe anyone has an explanation...

> ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1514 qdisc pfifo_fast qlen 1000
    inet 10.10.20.100/32 scope global eth0
> ip route
127.0.0.0 dev lo  scope link
10.10.20.0/24 dev eth0  scope link
default via 10.10.20.1 dev eth0

- -- Now I add a route for my ha net:

> ip route add 10.100.0.0/24 dev eth0
> ip route
127.0.0.0 dev lo  scope link
10.10.20.0/24 dev eth0  scope link
10.100.0.0/24 dev eth0  scope link
default via 10.10.20.1 dev eth0

- -- The 'heartbeat' will add an address on switch-over:
> ip addr add 10.100.0.1/24 brd 10.100.0.255 dev eth0
ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1514 qdisc pfifo_fast qlen 1000
    inet 10.10.20.100/32 scope global eth0
    inet 10.100.0.1/24 brd 10.100.0.255 scope global eth0
> ip route
127.0.0.0 dev lo  scope link
10.10.20.0/24 dev eth0  scope link
10.100.0.0/24 dev eth0  scope link
10.100.0.0/24 dev eth0  proto kernel  scope link  src 10.100.0.1
default via 10.10.20.1 dev eth0


My question is:
 Why did the kernel add a duplicate routing entry, shouldn't it notice the
 existance and avoid this??

 Is this a bug of the kernel?

Regards
 Sven Anders

- --
 Sven Anders <anders@anduras.de>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEB0vK5lKZ7Feg4EcRAm9JAJ98WdYNLdYD675zXgxeWgDR67cRZQCgp/il
1k0Rv3YVrMUcynZtOUVnATQ=
=LJ/1
-----END PGP SIGNATURE-----

[-- Attachment #2: anders.vcf --]
[-- Type: text/x-vcard, Size: 339 bytes --]

begin:vcard
fn:Sven Anders
n:Anders;Sven
org:ANDURAS AG;Research and Development
adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany
email;internet:anders@anduras.de
title:Dipl. Inf.
tel;work:++49 (0)851 / 490 50 - 0
tel;fax:+49 (0)851 / 4 90 50 - 55
x-mozilla-html:FALSE
url:http://www.anduras.de
version:2.1
end:vcard


[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2006-03-13 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-02 19:47 [LARTC] Problem with duplicate route entry Sven Anders
2006-03-10 18:40 ` [LARTC] Problem with duplicate route entry (2. TRY) / Route on Sven Anders
2006-03-13  8:10 ` Sven Anders
2006-03-13 19:00 ` Sven Anders

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.