find local computers

Pete Nesbitt pete at linux1.ca
Wed Mar 3 20:11:05 UTC 2004


On March 3, 2004 10:52 am, Marty Landman wrote:
> At 09:39 PM 3/2/2004, Barry L. Kline wrote:
> >Your network is probably:
> >
> >Network:  192.168.0.0
> >Netmask: 255.255.255.0
> >host addresses:  192.168.0.1 - 192.168.0.254
> >broadcast address:  192.168.0.255
>
> yes, except I don't know about broadcast addresses
>
> $ netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface 192.168.0.0     0.0.0.0         255.255.255.0   U         0 0        
>  0 eth0 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0      
>    0 eth0 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0    
>      0 lo 0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0    
>      0 eth0 $
>
> >Just issue:
> >
> >ping -c 10 -b 192.168.0.255
>
> Apparently not. My rh box is not my gateway and it's the only one that
> responded


Looks looks like responding to a broadcast ping, as Keith stated, does not 
work for Win boxes.

> yes, except I don't know about broadcast addresses
you mean you don't understand them or it doesn't work?

-- 
Pete Nesbitt, rhce





More information about the redhat-list mailing list