SUMMARY: HA & dual switching a Netra t1

From: Hendrik Visage (hvisage@is.co.za)
Date: Thu Jul 20 2000 - 04:24:59 CDT


The answers received:

a) Get Sun Trunking (Don't yet have the money for the $$$$ :()
b) make use of script to ping GW, and reconfigure if not reachable..

However, doing some testing of my own:

DISCLAIMER:
#include <standard.h>
#include <legal/extended.h>
#include <funny/dog_dying.h>

It were done a Solaris 8 without patches yet on a Netra t1:
===========================================================

ifconfig hme0 ipa up
ifconfig hme1 ipb up
arp -s ipa mac_addr pub
arp -s ipb mac_addr pub

Now the interesting part:
taxman-dbn# ifconfig hme0 192.168.1.1 up
taxman-dbn# ifconfig hme1 192.168.1.2 up
taxman-dbn# arp -s 192.168.1.2 08:00:20:b2:b2:87 pub
taxman-dbn# arp -s 192.168.1.1 08:00:20:b2:b2:87 pub
taxman-dbn# netstat -pn |grep P
Net to Media Table: IPv4
Device IP Address Mask Flags Phys Addr
hme0 192.168.1.1 255.255.255.255 SP 08:00:20:b2:b2:87
hme0 192.168.1.2 255.255.255.255 SP 08:00:20:b2:b2:87
hme1 192.168.1.2 255.255.255.255 SP 08:00:20:b2:b2:87

The IP that'll be published on BOTH interfaces, appears to be the one of the
last "ifconfig int ipX up", thus ipX will be published on both interfaces.
Reversing the arps doesn't matter, but reversing the ifconfigs DO.

However:
========

The use of the default gateway is still depending on the last interface it
were seen on.. thus wait until the arp cache cleared, and then it might be
reasked for, not quite the solution looked for, but now it could be changed to
a lower arp cache value to have the kernel do it on our behalf ;^)

Long term vision:
=================

Something interesting noticed in man ifconfig(1M), is that the interfaces
support the loading of streams modules to do weird and wonderfull stuff
(Again Solaris 8 ;^), thus, if (Rather WHEN) I could lay my hands on a
copy of the source code foe Solaris, it could then be possible to cerate your
own home grown HA modules ;^)

Now if Sun is listening: "When is that Source Code release???????????????"

Thanx to:
mjohnson@forsyt
Perrier,Kent -
Seth Rothenberg
Brian Scanlan
Paul.Teasdel@dr
Kevin Colagio
Phil Nguyen

GReetz
Hendrik Visage

On Wed, Jul 19, 2000 at 03:53:18PM +0200, Hendrik Visage wrote:
> Hi there,
>
> Netra t1
> hme0 hme1
> | |
> Switch---Switch
> | |
> Redundant network
>
> Question: How can I have the same IP answerable on BOTH the hme0 & hme1 port in
> a failover fashion?
>
> Greetz
> Hendrik
>
> S
> U BEFORE POSTING please READ the FAQ located at
> N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
> . and the list POLICY statement located at
> M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
> A To submit questions/summaries to this list send your email message to:
> N sun-managers@ececs.uc.edu
> A To unsubscribe from this list please send an email message to:
> G majordomo@sunmanagers.ececs.uc.edu
> E and in the BODY type:
> R unsubscribe sun-managers
> S Or
> . unsubscribe sun-managers original@subscription.address
> L To view an archive of this list please visit:
> I http://www.latech.edu/sunman.html
> S
> T

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:12 CDT