[avahi] How do i publish my ip in the network
Anton Feldmann
anton.feldmann at uni-bielefeld.de
Mon Jun 19 03:13:00 PDT 2006
Hi Trent
In basic we have a selfbooting CD like knoppix and we have to make it
work for parallel computing.
I want to publish the computer IP's in a network because, I want to
write the IP's into a hostfile. We have to write a program that are
filling a hostfile for PVM and MPI. PVM and MPI needs a hostfile for
parallel computing. I wrote a program, but you have to write down the
Servers name and the client find the server and gets the IP. I was
thinking about to upgrade the program by makeing a loop to all 255
addresses in an network. But I have to do it 6 times per minute and it
seems really bat, because the hugh network overhead.
I was thinking: If you booting the cd a client-server application is
starting. The client is looking in the network for the IP addresses of
the servers and write the IP's down into the hostfile.
I want to try avahi to brows the IP's in the network.
cherrs
anton
----- Originalnachricht -----
Von: Trent Lloyd <lathiat at bur.st>
Datum: Dienstag, Juni 13, 2006 2:56 am
Betreff: Re: [avahi] How do i publish my ip in the network
An: Avahi ML <avahi at lists.freedesktop.org>
> Hi Anton,
>
> Avahi doesn't have the facility to simply "get all the IPs of all
> computers on the network" - you may be able to do this to some extent
> using the _workstation._tcp service, but not all machines are
> guaranteedto be publishing this.
>
> If this is for a specific service, then I recommend you run avahi on
> each computer and publish a service for whatever you are doing,
> then you
> can start a service browser, find all computers advertising that
> service,then iterate over them to get their addresses.
>
> Perhaps if you give some more details on exactly what you are
> trying to
> do, I can help further...
>
> Cheers,
> Trent
>
> On Tue, Jun 13, 2006 at 12:54:39AM +0200, anton feldmann wrote:
> > Hi
> > my name is anton. I want to know how do i publish the my
> computer's ip
> > in the local network with Avahi? I already wrote a program to
> send the
> > server ip to a client , but it is cost-effective, it's written
> with c
> > using sockets.
> > How do i get all Ip's of all computer in the local network using
> the
> > same System (Linux debian) suing avahi?
> >
> > cheers
> >
> > anton
> > _______________________________________________
> > avahi mailing list
> > avahi at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/avahi
>
> --
> Trent Lloyd <lathiat at bur.st>
> Bur.st Networking Inc.
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
More information about the avahi
mailing list