tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Problem with ifconfig -alias
@ 2004-12-15  8:06 Thomas Leitner
  2004-12-16 15:20 ` SDLT hotswap? Bill Sadvary
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Leitner @ 2004-12-15  8:06 UTC (permalink / raw)



Hi,

Well, I did not find a solution, only a workaround (see below). Some
people suggested to use a static host route on AMANDEV like this:

# route add -host difsvrw1 gateway

where gateway would be the aliased IP address. However this still does
not work and TCP packets arrive with the main IP address at the
destination rather than with the aliased IP address.

Now my workaround was this: At the destination, add a static host route
back to the MAIN IP address of AMANDEV. So my final working setup is this:

- on AMANDEV:
   MAIN IP    = 10.192.1.3
   ALIASED IP = 10.141.29.5

- on DIFSVRW1
   MAIN IP    = 10.141.29.3
   # route add -host 10.192.1.3 10.141.29.5

So when TCP packets arrive at DIFSVRW1 with the (wrong) source IP
10.192.1.3, DIFSVRW1 routes the answers back to 10.141.29.5 which is the
correct IP.

So in a nutshell: The bug in Tru64 persists but this workaround can be
used in similar setups.

Thanks to the following people for their replies:

Michael James Bradford <mjbr@tdc.dk>
Derek Haining <Derek.Haining@iLan.com>
Thomas Cunningham <Thomas.Cunningham-02@scott.af.mil>
Peter Gergen <petergergen@kpmg.com.au>

Tom

Thomas Leitner schrieb:
> 
> Hi,
> 
> I need to connect a development machine (DS20E, running Tru64 4.0G)
> called AMANDEV to a test machine called DIFSVRW1 which has its IP
> address in a different network. So I've used "ifconfig -alias" to give
> AMANDEV an IP in the same network as DIFSVRW1.
> 
> The problem is:
> 
> 1.) I can ping AMANDEV from DIFSVRW1 and vice versa: This is OK
> 2.) I can telnet from DIFSVRW1 to AMANDEV: This is OK
> 3.) HOWEVER: I cannot telnet from AMANDEV to DIVSVRW1. This is *NOT OK*
>     and this is exactly what we need.
> 
> Using an Ethernet sniffer we found out that for case 3) above,
> the AMANDEV machine does not use the ALIASED IP address as the
> source address. It rather uses the main IP address assiged to the
> interface. This is the reason why DIFSVRW1 cannot answer to the
> telnet packets.
> 
> So this seems to be a bug in Tru64 4.0G (we're using the latest
> patch kit already) that outbound TCP/IP calls to a network
> over an aliased IP address does not get the proper source IP
> address assigned.
> 
> Any ideas anyone how to solve that?
> 
> Thanks // Tom
> 
> 
> 
> 
> 
> 
> 
> 
> 




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

* SDLT hotswap?
  2004-12-15  8:06 SUMMARY: Problem with ifconfig -alias Thomas Leitner
@ 2004-12-16 15:20 ` Bill Sadvary
  2005-01-03 19:21   ` SUMMARY: " Bill Sadvary
  0 siblings, 1 reply; 3+ messages in thread
From: Bill Sadvary @ 2004-12-16 15:20 UTC (permalink / raw)



I have a 160/320 SDLT (Part# 257319-B21) connected via a Compaq StorageWorks
5U Rackmount Enclosure (Part #274339-b21).  This connects to an ES47 via a
Dual PCI SE LVD Ultra adapter (3X-KZPEA-DB).  The SDLT is the only device on
the adapter.

Can I hot swap this ailing drive?

The 5U Enclosure manual doesn't mention anything about hot swapping.  This
is the type of enclosure that you to have manually connect the SCSI and
power cables to the drive, not a side-in/side-out cableless type of deal.

Can I power off the Enclosure and do the swap with the ES47 online?  Or,
will I have to reboot?  Am I also risking a system crash by doing this?

Thanks!
-Bill 





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

* SUMMARY: SDLT hotswap?
  2004-12-16 15:20 ` SDLT hotswap? Bill Sadvary
@ 2005-01-03 19:21   ` Bill Sadvary
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Sadvary @ 2005-01-03 19:21 UTC (permalink / raw)



Since I was sure that no one else would be accessing the drive, or anything
on that bus,  the risk seemed minimal enough and here's the procedure I
followed (from Benjamin Ingwersen)..

	Power off the 5U Enclosure
	Remove power cord from enslosure
	Remove SCSI Cable that goes to the Adapter
	Make sure that the replacement unit has the exact SAME SCSI
ID/jumper Settings.

	Then when you hook it back up, make sure that you hook up the SCSI
cable 
	to the KZPEA first then the power cable then power up the unit.

This did, however, create a new tape device (tape1_*), no biggy.  I deleted
the tape0 device with (thanks Steve Feehan)..

	hwmgr show scsi		(look up the id for tape0)
	hwmgr delete -id N

and then renamed the new device back to tape0...

	dsfmgr -m tape1 tape0

Thanks for the replies!  (also recv'd replies from Alan Davis and T.
Horsnell)

-Bill 

> -----Original Message-----
> From: Bill Sadvary [mailto:sadvary@dickinson.edu] 
> Sent: Thursday, December 16, 2004 10:20 AM
> To: 'Tru64 Unix Managers'
> Subject: SDLT hotswap?
> 
> 
> I have a 160/320 SDLT (Part# 257319-B21) connected via a 
> Compaq StorageWorks
> 5U Rackmount Enclosure (Part #274339-b21).  This connects to 
> an ES47 via a
> Dual PCI SE LVD Ultra adapter (3X-KZPEA-DB).  The SDLT is the 
> only device on
> the adapter.
> 
> Can I hot swap this ailing drive?
> 
> The 5U Enclosure manual doesn't mention anything about hot 
> swapping.  This
> is the type of enclosure that you to have manually connect 
> the SCSI and
> power cables to the drive, not a side-in/side-out cableless 
> type of deal.
> 
> Can I power off the Enclosure and do the swap with the ES47 
> online?  Or,
> will I have to reboot?  Am I also risking a system crash by 
> doing this?
> 
> Thanks!
> -Bill 
> 
> 
> 




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

end of thread, other threads:[~2005-01-03 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15  8:06 SUMMARY: Problem with ifconfig -alias Thomas Leitner
2004-12-16 15:20 ` SDLT hotswap? Bill Sadvary
2005-01-03 19:21   ` SUMMARY: " Bill Sadvary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox