icmp v4 redirect timeout
Andrey V. Elsukov
bu7cher at yandex.ru
Fri Oct 25 11:37:24 UTC 2019
On 22.10.2019 17:30, Victor Gamov wrote:
> Hi All
>
> I discover the following problem: FreeBSD host install route recived by
> ICMP-redirect from default GW and this route is permanents.
>
>
> In my case FreeBSD 192.168.1.10/24 has 192.168.1.254 as default gateway.
> This network has interconnection with remote network 192.168.88.0/24 via
> some other gateways -- 192.168.1.199 + 192.168.1.195 for example. All
> gateways using OSPF to exchange routing info.
>
> 192.168.1.10 send packet destined to remote network (192.168.88.0/24) to
> default gateway 192.168.1.254, receive ICMP-redirect and install route
> to 192.168.88.0/24 via 192.168.1.199. Then 192.168.1.199 off for some
> reason but 192.168.1.10 never know about it because route installed via
> 192.168.1.199 is permanent.
>
> I see net.inet6.icmp6.redirtimeout in my FreeBSD 11.2-STABLE #0 r339734
> and I think this sysctl set timeout for routes installed via
> ICMP-redirects (route deletes after this timeout?).
>
> Is it possible to get such sysctl for ipv4 ?
I think expiring doesn't work for IPv6 too. At least, I didn't find
related code from a quick look.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20191025/4747ce05/attachment.sig>
More information about the freebsd-net
mailing list