LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2016, 10:44 AM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Rep: Reputation: Disabled
Pining broadcast IP


At this point, both VMs have same network adapter name, eno16777736, but MAC address is different:
vm1.example.com = MAC 00 :0C :29 :81 :CD :CC
vm2.example.com = MAC 00 :0C :29 :9C :EE :6C

The vm1 and vm2 IPs are 192.168.0.43 and 192.168.0.43 44.
When pinging broadcast IP, 192.168.0.255, from vm2 (192.168.0.44), I get response from 192.168.0.XXX where XXX is not 43 or 44.

Why am I not getting a response back from 192.168.0.43 (vm1) if I ping from 192.168.0.44 (vm2)?

How do I know which VM is responding since they both have same
first three digits, "192.168.0.", and thus their broadcast IPs are same also?

Thank you.

Last edited by fanoflq; 11-02-2016 at 10:49 AM.
 
Old 11-02-2016, 03:04 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
The response should be the IP address of the device as far as I know. I don't know how your network or your VMs are configured but check to see if /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts is enabled i.e 1. If so and all of mine computers seem to be a 1 so they do not respond. I assume you are pinging using the bolow command.

ping -b 192.168.0.255
 
  


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
LXer: Linux desktop: Not pining for the fjords LXer Syndicated Linux News 0 09-21-2011 04:11 AM
LXer: The Linux Desktop isn't Dead, it's Pining LXer Syndicated Linux News 0 06-15-2010 08:00 PM
TV broadcast davholla General 1 10-20-2006 02:16 PM
Broadcast without broadcast Mammuth Linux - Networking 1 10-01-2006 04:58 PM
VPN connection and Pining q.sa Linux - Networking 1 08-21-2005 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 AM.

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