Results 1 to 8 of 8
So I just changed my network card settings recently, and I'm now getting no response when I ping the broadcast address for them... the cards are all connected through a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-24-2010 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 22
No ping broadcast response over small switch
So I just changed my network card settings recently, and I'm now getting no response when I ping the broadcast address for them... the cards are all connected through a switch with IP addresses 192.168.0.x, broadcast 192.168.0.255... ifconfig on all of them shows UP BROADCAST RUNNING MULTICAST, but nobody responds to a broadcast packet. Any thoughts?
EDIT: Pinging each machine individually works fine.
- 03-24-2010 #2
can the other machines broadcast?
linux user # 503963
- 03-24-2010 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 22
- 03-24-2010 #4
well its really up to the OS as to whether or not it will actually respond to a direct broadcast. the switch, as long as it has no intelligence, will pass broadcasts.
check this file to see if its set to ignore:
cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
if its 1, then its disabled change to 0 and it will respondlinux user # 503963
- 03-24-2010 #5Just Joined!
- Join Date
- Oct 2009
- Posts
- 22
Right.. and the fact that the activity lights on all the NICs should indicate that they're at least being received, right? Just something somewhere in Linux is instructing it not to reply because it's a broadcast?
- 03-24-2010 #6
check the file i mentioned, yes they are received, but its being ignored if that is set to 1
linux user # 503963
- 03-24-2010 #7Just Joined!
- Join Date
- Oct 2009
- Posts
- 22
Ugh, I actually stumbled across that online a few minutes ago but it didn't exist on my F10 box so I assumed it was a non-Fedora thing. It exists on the FC5 box back there, but I can't edit the file.. trying to write it fails (as root, of course).
- 03-24-2010 #8Just Joined!
- Join Date
- Oct 2009
- Posts
- 22
SOLUTION:
1. As root, echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
- OR -
2. As root/sudo, add the following line to /etc/sysctl.conf: net.ipv4.icmp_echo_ignore_broadcasts = 0
Thanks for the help scathefire


Reply With Quote

