PDA

View Full Version : How to disable sending ICMP Redirects?


Anand R
January 9th 04, 09:59 PM
Hi All,
I'm trying to set my Windows XP machine as a Wireless router. It has
only one (wireless) interface. Therefore, it will receive packets and send
packets on the same interface. There is only one subnet configured on that
interface.

Example setup:
A-----------------------R------------------------------B
10.10.10.10/24 10.10.10.1/24
10.10.10.20/24

R is the XP router.
All communications are wireless. (actually it does not matter for my
problem)
Static host routes are configured to enable communication between A & B thru
R.

I have enabled IP forwarding by turning on (value 1)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\IPEnab
leRouter

I have also set to 0 the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\Enable
ICMPRedirect

Problem: When A sends packets to B thru R, R sends ICMP Redirect messages to
A. How can I stop this?

I'd appreciate any help on this.

Thanks,
Anand

Google