Spawning multiple scp using different I/F
Hello,
Env:
Server A:
3x Gbit interfaces. Each one has an IP address and name (ServA-gb1, ServA-gb2, ServA-gb3) configured for them.
Server B:
3x Gbit interfaces. Each one has an IP address and name (ServB-gb1, ServB-gb2, ServB-gb3) configured for them.
Both E250 Solaris 8
From a single ssh session to ServB, I would like to fire off 3 scp to ServA simultaneously to download files. I tried to :
ServB# scp ServA-gb1:/tmp/file1 ServB-gb1:/tmp &
ServB# scp ServA-gb2:/tmp/file2 ServB-gb2:/tmp &
ServB# scp ServA-gb3:/tmp/file3 ServB-gb3:/tmp &
"snoop -d ce" on ServB shows that all of the scp instances above use only ServB-gb1 as its destination interface. It does, however, use different i/faces on ServA,which is what I expected. Looks to me like it only picks up the 1st gbit i/f in ServB and uses that all the time.
Does anyone have suggestions on how I could run multiple scp's to use different i/faces on each?
Any input much appreciated.
rgds,
SamM
|