Matthew Rosewarne on 11 Jan 2007 06:36:48 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] ICMP Redirects


I'm on a small LAN behind a linksys router (NAT+DHCP) hooked up to a cable 
modem.  Certain activites, bittorrent in particular, which require incoming 
connections through the firewall/NAT fill up my logs with messages like:

kernel: Redirect from 192.168.1.1 on eth0 about 192.168.1.103 ignored.
kernel: Advised path = 192.168.1.103 -> 192.168.1.103

Now, I know that the network stack doesn't usually accept just any ICMP 
redirect request, only those from the specified gateway address.  The output 
of "route" is:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     1000   0        0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

So the question is, why is my gateway not being set correctly and what can I 
do to fix that (other than manually adding the route on every boot)?  Or is 
there something else wrong?

Attachment: pgpQYQvzR6mUA.pgp
Description: PGP signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug