icmp v4 redirect timeout
vit at otcnet.ru
Tue Oct 22 14:30:36 UTC 2019
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 ?
More information about the freebsd-net