LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   broadcast pinging help (https://www.linuxquestions.org/questions/mandriva-30/broadcast-pinging-help-306175/)

bruse 03-26-2005 12:39 AM

broadcast pinging help
 
i am using mandrake 10.0.
we have 10 systems they are connected by a LAN.
when i make broadcast pinging it is shows only my computer IP not all the system.
but system 2 shows the all IP while i pinging.....

so what is wrong with this linux box.



[student@Simlab-node10 student]$ ping -b 10.0.0.0
PING 10.0.0.0 (10.0.0.0) 56(84) bytes of data.
64 bytes from 10.255.240.1: icmp_seq=1 ttl=255 time=1.70 ms
64 bytes from 10.255.240.1: icmp_seq=2 ttl=255 time=1.95 ms
64 bytes from 10.255.240.1: icmp_seq=3 ttl=255 time=1.76 ms
64 bytes from 10.255.240.1: icmp_seq=4 ttl=255 time=2.85 ms
64 bytes from 10.255.240.1: icmp_seq=5 ttl=255 time=1.72 ms
64 bytes from 10.255.240.1: icmp_seq=6 ttl=255 time=4.17 ms
64 bytes from 10.255.240.1: icmp_seq=7 ttl=255 time=1.69 ms
64 bytes from 10.255.240.1: icmp_seq=8 ttl=255 time=1.72 ms
64 bytes from 10.255.240.1: icmp_seq=9 ttl=255 time=1.68 ms
64 bytes from 10.255.240.1: icmp_seq=10 ttl=255 time=1.73 ms
64 bytes from 10.255.240.1: icmp_seq=11 ttl=255 time=1.68 ms

--- 10.0.0.0 ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 10016ms
rtt min/avg/max/mdev = 1.684/2.062/4.173/0.744 ms
[student@Simlab-node10 student]$

please help me.....

danns 03-26-2005 05:52 PM

Could you post the output of ifconfig and route?

Are you sure you have your netmask set properly? Are you experiencing any other network related problems with this machine? I take it you can ping the other machines from this system and those machines can ping this box, correct?

bruse 03-27-2005 10:52 PM

yes sir other machine can ping this...ur last statement is correct for me...

can u please help me...to solve the problem..

jeickal 04-02-2005 05:21 AM

This is because you need to ping the broadcast address of your subnetwork. 10.0.0.0 really doesn't look like one.
The natural broadcast IP for a 10.0.0.0 network should be 10.255.255.255. But it actually depends on which subnetmaks you configured.

Try this to figure out:

Code:

ifconfig -a
And look for the following line:
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0

See the "Bcast" address?
Now "ping -b" the one you see there. That should work

bruse 04-02-2005 07:51 AM

yes great great got it right.

it's working well..thank u very much.

and when i give "netmask" address it will also pinging the same..


All times are GMT -5. The time now is 01:23 AM.