If you run:
find /proc -name \*redirect\*
then you will come up with a swag of switches that can control redirects
in Linux.
I'm not to certain which one you want but you might try:
echo 0 >/proc/sys/net/ipv4/conf/default/send_redirects
or you could add:
net.ipv4.conf.default.send_redirects = 0
into /etc/sysctl.conf
--
Howard.
____________________________________________________
LANNet Computing Associates <http://lannetlinux.com>
"...well, it worked before _you_ touched it!"
On Wed, 31 Jan 2001, Rodos wrote:
> When I connect my laptop to my LAN I use a server to give it a
> address via DHCP. Problem is that it gets ICMP redirect packets
> from the machine.
>
> When I do a ping it shows a response of "Redirect Host(New nexthop:"
> and then the address of the machine which I am usually trying to
> ping.
>
> It works fine on another network where the DHCP server is on a
> windows machine and other machines on my my network, such as my
> kids windows machine, works fine.
>
> The linux machine is gettings its routing mucked up. Any ideas
> how to fix it?
>
> Rodos
>
>
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug