LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-18-2002, 08:18 AM   #1
yuzuohong
Member
 
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Rep: Reputation: 15
Talking question about network address and broadcast address


Hi all,

I just feel very confused about some basic network concept.
Today I found I can *ping* a network address, like the following
lines:
-------------------------------------------------------------------
[root@root]# ping 10.0.42.0
PING 10.0.42.0 (10.0.42.0) from 172.16.12.12 : 56(84) bytes of data.
64 bytes from 10.0.42.0: icmp_seq=0 ttl=126 time=3.443 msec
64 bytes from 10.0.42.0: icmp_seq=1 ttl=126 time=2.085 msec
--------------------------------------------------------------------
I know when I *ping* a host, actually I send a packet to that host and
then the packet returns back to my PC. But now I *ping* a network
address. Where does this packet go to? Does it mean that I am sending
the packets to every host in this network? If so, what will happen
when I *ping* a broadcast address?
---------------------------------------------------------------------
[root@root]# ping 10.0.47.255 -b
PING 10.0.47.255 (10.0.47.255) from 172.16.12.12 : 56(84) bytes of
data.
64 bytes from 172.17.4.33: icmp_seq=0 ttl=254 time=1.907 msec
64 bytes from 172.17.4.33: icmp_seq=1 ttl=254 time=1.246 msec
-----------------------------------------------------------------------
Please help me to explain the principle.
Any suggestion will be appreciated.

fish
 
Old 09-18-2002, 11:47 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Depending on your router and the devices on your network, you may get a response from every device on the network if you ping the network address or broadcast address. Many network admins are now filtering this out because it can be used to flood a system (check out smurf attacks).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What can cause a broadcast address change? ca346734 Linux - Networking 2 10-21-2005 04:03 PM
setting multicast broadcast address node047 Linux - Networking 0 04-05-2005 07:02 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
-b Allow pinging a broadcast address. suguname Linux - Newbie 2 02-24-2005 07:42 AM
Don't know what broadcast address is? blmartin777 Debian 10 05-07-2004 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration