Messages in this thread | | | Date | Wed, 2 Apr 2003 10:26:56 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: my linux does not accept redirects |
| |
On Wed, 2 Apr 2003, Maciej Soltysiak wrote:
> Hi, > > There are 2 routers on my network. > Router A routes to other internal networks > Router B routes to the Internet > > My box has A as the default gateway. > It should get redirects for the Internet hosts and it does. > But despite icmp redirects are not filtered and > /proc/sys/net/ipv4/conf/eth1/accept_redirects is 1 it does not learn > the paths and i simply get flooded by the router with redirects about > every single packet that is sent. > > What could be wrong? >
How would it learn? If everybody is going to set their default route to your box A, and box A routes internally, then box A needs its default route to go to the internet-box B.
The existnce of ICMP redirects means that your network is not configured correctly. They are a symptom. A correctly configured network does not have ICMP redirects.
Cheers, Dick Johnson Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |