Date: Fri, 11 Jan 2013 21:00:28 -0800 From: Dennis Glatting <freebsd@pki2.com> To: freebsd-questions@freebsd.org Subject: Kernel decision logic on ICMP redirect Message-ID: <1357966828.85287.10.camel@btw.pki2.com>
next in thread | raw e-mail | index | archive | help
I have a network: NetA - GW1 --- GW2 - NetB |- GW3 - NetC HostFoo - | GW1 is a Cisco router running OSPF. GW2 is FreeBSD 9.1 running OSPF via Quagga, and is forwarding. GW3 is FreeBSD 9.1 connected to another network and is forwarding. GW2 has a static route pointing to NetC. HostFoo has a default route (only) to GW2 and can ping a host on NetC because it gets an ICMP redirect from GW2 (FreeBSD) to GW3. However, if HostFoo pings a a host on NetA it DOES NOT get a ICMP redirect from GW2. Looking through the kernel code, which is where I need help, it seems routes learned DYNAMIC, in this case GW2 via OSPF from GW1, are not routes for which redirects will be generated by GW2. Is that true? What is it I need to do to convenience GW2 to generate redirects for learned routes?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1357966828.85287.10.camel>