Re: pre-2.0.31-3: "ICMP redirect" messages from net/ipv4/icmp.c

Joe Hohertz (jhohertz@envisage.golden.net)
Wed, 6 Aug 1997 11:13:05 -0400 (EDT)


Why not just tell the box to use the right gateway? That got rid of it for
me. (The router had an aliases address for backwards compatibility
reasons, and I was using that. Switched it to the real address of the
router, and it shut up.)

I find that message very handy. Keeps the network 'clean' too.

Joe

On Wed, 6 Aug 1997, Trevor Johnson wrote:

> With pre-2.0.31-3, I'm experiencing a problem I haven't had since 22 May:
> while using dialout PPP, the connection will occasionally stop passing
> packets, and the syslog gets spammed with these messages:
>
> Aug 6 05:42:30 topside kernel: ICMP redirect from 155.135.1.100
> Aug 6 05:43:01 topside last message repeated 10 times
> Aug 6 05:43:09 topside last message repeated 11 times
> Aug 6 05:47:43 topside kernel: ICMP redirect from 155.135.1.100
> Aug 6 05:47:47 topside last message repeated 6 times
> Aug 6 05:51:06 topside kernel: ICMP redirect from 155.135.1.100
> Aug 6 05:55:15 topside kernel: ICMP redirect from 155.135.1.100
> Aug 6 05:55:18 topside last message repeated 6 times
> Aug 6 05:59:32 topside kernel: ICMP redirect from 155.135.1.100
> Aug 6 05:59:33 topside last message repeated 5 times
> Aug 6 06:00:45 topside last message repeated 4 times
> Aug 6 06:02:36 topside last message repeated 34 times
> Aug 6 06:03:24 topside last message repeated 22 times
> Aug 6 06:04:31 topside last message repeated 32 times
> Aug 6 06:05:27 topside last message repeated 14 times
> Aug 6 06:05:39 topside last message repeated 2 times
>
> I don't receive these messages with recent 2.1 kernels, nor with Dave
> Miller's pre-2.0.31-2. Here are the networking-related options I have for
> the kernel:
>
> CONFIG_INET=y
> CONFIG_SYN_COOKIES=y
> CONFIG_RST_COOKIES=y
> CONFIG_NET_IPIP=m
> CONFIG_IP_NOSR=y
> CONFIG_NETDEVICES=y
> CONFIG_PPP=y
> CONFIG_NET_ETHERNET=y
> CONFIG_NET_ISA=y
> CONFIG_EEXPRESS=m
> CONFIG_NE2000=m
>
> %route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> comsvr2 * 255.255.255.255 UH 0 0 0 ppp0
> 127.0.0.0 * 255.0.0.0 U 0 0 3 lo
> 10.0.0.0 * 255.0.0.0 U 0 0 5 eth0
> default comsvr2 0.0.0.0 UG 0 0 75 ppp0
> ___
> Trevor Johnson
>
>