mukund_mahajan
asked on
disable igmp in linux PC without compiling kernel
i want to disable IGMP on my linux PC. I do not want to compile kernel module for this.
is there any way to do this ???
like setting a configuration in file or
updating interface settings etc. ?
is there any way to do this ???
like setting a configuration in file or
updating interface settings etc. ?
Argh. Sorry. Read icmp instead of igmp.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I found an old document that said that you should have 0 on both membership and filters for igmp to disable it.
This should do then.
echo "0" > /proc/sys/net/ipv4/igmp_ma x_membersh ips
echo "0" > /proc/sys/net/ipv4/igmp_ma x_msf
This should do then.
echo "0" > /proc/sys/net/ipv4/igmp_ma
echo "0" > /proc/sys/net/ipv4/igmp_ma
ASKER
no
Check with:
sysctl net.ipv4.icmp_echo_ignore_
If 0 then:
echo "1" > net.ipv4.icmp_echo_ignore_
You might want to check this also.
sysctl -a | egrep accept_redirects
sysctl net.ipv4.icmp_ignore_bogus