rcp quirk on server with IP's
2007-12-24 21:17:00
1 Interface card but with two IP's
When rcp'ing from server A to server B, the command will fail every
second time "Permission Denied"
Upon closer examination with the aid of snoop it would appear that the
two IP's of server A are being interchanged.
i.e..
Assume the two IP's for server A are: (hme0)x.x.12.49 and
(hme0:1)x.x.12.80
Assume IP for server B is x.x.12.53
Snooping on Server A shows:
The first rcp shows a source and destination of:
IP: Source address = x.x.12.53, master
IP: Destination address = x.x.12.80, h147132012080.my.comain.com
this fails with a "Permission Denied" as you would expect given the
source address.
Second time you run the rcp it shows:
IP: Source address = x.x.12.53, master
IP: Destination address = x.x.12.49, cassowary.my.domain.com
this copies ok.
Third time
IP: Source address = x.x.12.53, master
IP: Destination address = x.x.12.80, h147132012080.my.comain.com
this fails with a "Permission Denied" as you would expect given the
source address.
Fourth ..OK Fifth fails etc. etc. etc.
So it seems that rcp does just pick one IP address and stick to it. It
seems to alternate between the two.
Appreciate any ideas on workarounds. I'd like to to have to open up the
hosts.equiv file to more host names though..
Greg K
Comments
Got something to say?
You must be logged in to post a comment.

