Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!LANL.GOV!cpw%sneezy
From: cpw%sneezy@LANL.GOV (C. Philip Wood)
Newsgroups: comp.protocols.tcp-ip
Subject: Re: ICMP's & IP src addrs
Message-ID: <8809221429.AA15784@sneezy.lanl.gov>
Date: 22 Sep 88 14:29:52 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 19

I vote for hosts NOT responding to broadcast ping's.  If you want to find
out who is on your net:

	set networkpart=192.5.16
	@ subnet = 1
	@ maskfactor = 32
	@ host = 1
	@ subnetpart = ( $maskfactor * $subnet )
	while ( $host < $maskfactor )
	@ hostpart = ( $subnetpart + $host )
	set address="$networkpart.$hostpart"
	icmp echo vanilla $address
	@ host = ( $host + 1 )
	end
	
But, if you do respond to broadcasts you better put in the IP address
of the interface the broadcast came in on in your response!

Phil Wood.