Mail Archive: Open Networks

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

Re: ANTS' aping



Norman,

I found an error in a configuration file for Accelar, "ping.routes". See
below for my correction.

>         Could you give me a little assistance to help me figure out my problems
> in trying to get aping working?  I have two Solaris 2.7 platforms with
> the Accelar in the middle.  One Solaris (source) is 128.29.1.3, the
> other is 128.29.3.5, and the Accelar is 128.29.1.11 (and 128.29.3.11).
> I presume I am confused over the routing information that is put into
> the configuration files.
True, they make confusion easily. 

> 
>         The attached files will hopefully show you most of my environment.  As
> you'll see from the messages, the capsule is being recognized, and goes
> from end-to-end.  But the destination Sun, for example, says that the
> packet is not answerable.  I made both host configuration files
> identical - is that correct?
Yes. However, please make sure that you run JDK 1.1 on those Solaris
systems.

> 
>         In general, have you any recommendations/guidance in debugging for this
> type of problem?
You would better to ask the MIT guys who made the ANTS. -:) 

That's why I wrote a number of REAMDEs and added comments in these
configuration files.
> 
>         Thanks.
>                 Norman
> --
> Norman F. Brickman     nfb@mitre.org     The MITRE Corporation
> Office:  703.883.5990
> 
>   ------------------------------------------------------------------------
> 
> # Test 7: Hello and Helloclient
> start: logger.jar shell.jar startupShell.jar logwriter.jar ahttp.jar oreservlets.jar ants.jar
> 
>   ------------------------------------------------------------------------
> #
> # simple ping configuration -- same machine
> #
> # - three nodes (source, router, destination)
> #       source IP: 134.177.116.104
> #       router IP: 10.120.101.102
> #       dest   IP: 134.177.116.108
> # - duplex connected by udp
> # - all running on the same machine
> # - source pinging destination
> # - HTTP server: 134.177.116.106
> #       providing the ORE ANTS configuration
> #
> 
> # Accelar router
> node        128.29.1.11 -routes "http://128.29.1.2/jars/ping.routes" -log 255
> channel     128.29.1.11 localhost:2021 -log 255
> manager     128.29.1.11 -gui true -log 255
> 
> connect     128.29.1.3   128.29.1.11
> connect     128.29.1.11    128.29.3.5
> 
>   ------------------------------------------------------------------------
> #
> # simple ping configuration -- shared by two hosts: source and destination
> #
> # - three nodes (source, router, destination)
> #       source IP: 134.177.116.104
> #       router IP: 10.120.101.102
> #       dest   IP: 134.177.116.108
> #  Warning: you must change these three IP addresses
> #
> # - duplex connected by udp
> # - all running on the same machine
> # - source pinging destination
> #
> 
> node        128.29.1.3 -routes "ping.routes" -log 255
> channel     128.29.1.3 localhost:2021 -log 255
> application 128.29.1.3 "apps.PingApplication" -target 128.29.3.5
> manager     128.29.1.3 -gui false -log 255
> 
> node        128.29.3.5 -routes "ping.routes" -log 255
> channel     128.29.3.5 localhost:2021 -log 255
> manager     128.29.3.5 -gui false -log 255
> 
> connect     128.29.1.3 128.29.1.11
> connect     128.29.1.11 128.29.3.5
> 
>   ------------------------------------------------------------------------
> #! /bin/bash
> #
> # start Ants on the source host
> #
> # See also ants.config
> #
> 
> # CLASSPATH: do not edit it if you run it in this directory
> export CLASSPATH=../
> #export CLASSPATH=`pwd`/../
> 
> # Change the IP address to use your destination host
> #java ants.ConfigurationManager ants.config <your_dest_IP>
> java ants.ConfigurationManager ants.config 128.29.3.5
> 
>   ------------------------------------------------------------------------
> Sep 12 12:46:57 localhost:2021: received 88 bytes
> CHANNEL:  decode capsule
> Sep 12 12:46:57 localhost:2021: deserializing 56f9f30fe974d32b20e88312238d2fe5 class ants.DLRequestCapsule (88 bytes)
> DLRequestCapsule()
> CHANNEL THREAD: received capsule
> Sep 12 12:46:57 128.29.3.5: DLRequest: unanswerable bf5581cfcc97a02954670b9d0b73c126 from 128.29.1.11
> 
>   ------------------------------------------------------------------------
> # Routing configuration
> #
> # See also ants.config
> #
> # shortest routes, automatically generated
> # source        destination     next    addr
> #######################3
> #src     dest     next     addr
> #seal   java2   java2   java2:2021
> #seal   java5   java2   java2:2021
> #java5   seal   java2   java2:2021
> #java5  java2   java2   java2:2021
> #java2   seal   seal    seal:2021
> #java2   java5  java5   java5:2021
> #
> #====================================================
> # all ping applications work off port 2021
> 128.29.1.3   128.29.1.11   128.29.1.11   128.29.1.11:2021
> 128.29.1.3   128.29.3.5  128.29.1.11   128.29.1.11:2021
> 128.29.3.5   128.29.1.3  128.29.1.11   128.29.1.11:2021
> 128.29.3.5   128.29.1.11   128.29.1.11   128.29.1.11:2021
> 128.29.1.11    128.29.1.3  128.29.1.3  128.29.1.3:2021
> 128.29.1.11    128.29.1.3  128.29.3.5  128.29.3.5:2021
===> 128.29.1.11    128.29.3.5  128.29.3.5  128.29.3.5:2021

Please let me know if you have any question later.

Phil


Home | Date Index | Thread Index