Michael W?st <(E-Mail Removed)> wrote:
> AFAIK broadcasts are possible to all systems on your physical
> network through "255.255.255.255". In fact I do not want to route
> anything since I do not know what the subnet is I want to adress.
Do you mean your system is connected to more than one IP subnet at
once and you want the brodcast to go out all interfaces on the system?
Actually I'm not sure that all stacks do that automagically. You may
need to find some software which enumerates the interfaces on a system
and use that to learn all the locally connected subnet broadcast
addresses and send to them in turn.
> The application is an configuration program for a linux machine
> to set up ip adresses. To achieve this task I need to reach the
> target machine if it is available and to ask the machine of its
> current ip adress regardless if it fits into my TCP/IP subnet
> or not.
If the target system is in another IP subnet and that subnet is not
one to which your system is directly connected, the datagram sent to
the "all ones" (255.255.255.255) broadcast address will not be
forwarded to it by the router separating your system from the target.
And even if it were forwarded, there is no guarantee that the target
system will have a route back to the IP address which was used as the
source of the broadcast in the first place. That could still hold
true even if your system and the target were in the same local LAN
segment.
rick jones
--
oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...