Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2019 17:30:25 +0300
From:      Victor Gamov <vit@otcnet.ru>
To:        freebsd-net@freebsd.org
Subject:   icmp v4 redirect timeout
Message-ID:  <1259e1c9-596f-c379-b58c-b44e76bf963e@otcnet.ru>

next in thread | raw e-mail | index | archive | help
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 ?


Thanks!


-- 
CU,
Victor Gamov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1259e1c9-596f-c379-b58c-b44e76bf963e>