Find the answer to your Linux question:
Results 1 to 4 of 4
When I ping a broadcast IP address, I don't get an icmp reply packets from all the IP address in the subnet. But rather I would only get an icmp ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    17

    Pinging Broadcast IP address


    When I ping a broadcast IP address, I don't get an icmp reply packets from all the IP address in the subnet. But rather I would only get an icmp reply packet from the first IP address in the subnet. Why is that so ?

    Note: All the IP addresses of this subnet belongs to the same server & I am pinging from this server itself.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    How are you pinging?

    'ping <broadcast>'

    or

    'ping -b <broadcast>'

    Also are you trying to ping outside your subnet? If so it's not going to work.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    17
    Well, I don't think you can ping to a broadcast IP address without using the '-b' option. Also as I said b4, all the IP's of the subnet belongs to the same server. The reply comes only from the 1st IP in the subnet. I don't even receive a reply from the main IP in the server.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    I would then make sure the systems in question are not setup to ignore broadcasts.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •