[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANTS



Hello

-What do I change in config file to comunicate 2 machines with IP A and B.  
The link is Ethernet 100.

"
node 18.31.12.1 -routes ping.routes -log 255 -consoleport 2050
channel 18.31.12.1 localhost:8004 -log 255
application 18.31.12.1 apps.ping.PingApplication -target 18.31.12.3 -iter 20 -interv 300 -lossage 1 -prime 1000
 
node 18.31.12.2 -routes ping.routes -log 255 -consoleport 2051
channel 18.31.12.2 localhost:8005 -log 255 

connect 18.31.12.1 18.31.12.2
" 

and routes file...

"
18.31.12.1      18.31.12.2      18.31.12.2      localhost:8005
18.31.12.2      18.31.12.1      18.31.12.1      localhost:8004
"

I installed the packet ants2.0 in 2 machines.  The scripts of ping and pong is 
running ok. I have to configure any more ?

The class DataCapsule  is not correct to comunicate with 2 machines. 
Only in unique machine. Is it correct ?

Must I construct a capsule by specializing the Capsule class for comunication 
between machines ?
 
After that... to start my application  only...
 antsvm  edu.utah.janos.nodeos.Main ants.core.ConfigurationManager x.config ANY_IP

it's enough.

thank's a lot

Ricardo Ribeiro.



[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah