Date: Thu, 7 May 2015 11:14:12 +0200 From: Martin Larsson <martin.larsson2@gmail.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: FreeBSD makes linux think other subet is in same lan. Message-ID: <CABUmD9vxpTOFg0vPa29v1ynnPtZAb3_X8x15gwYSyQ_8onQaTw@mail.gmail.com> In-Reply-To: <554B2A95.8030600@yandex.ru> References: <CABUmD9toVsmOo=sfosBO2Tv_ZU35odpM5MNaLNtzZhZpAXLjgQ@mail.gmail.com> <554B2A95.8030600@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
yes, that made the trick! Thanks alot Andrey! On Thu, May 7, 2015 at 11:04 AM, Andrey V. Elsukov <bu7cher@yandex.ru> wrote: > On 06.05.2015 15:51, Martin Larsson wrote: > > Now, FreeBSD itselt can also ping 10.11.12.0/24 host, but Linux stop > > working. > > windows can ping in both cases though. > > > > Here is arp -n on linux after the route is added on the freebsd gateway. > > > > Linux:~ # arp -a > > ? (10.11.12.13) at <incomplete> on eth0 > > ? (192.168.1.125) at b4:52:7e:95:2a:f5 [ether] on eth0 > > I think it is because FreeBSD sends ICMP redirects when it finds that > route to the given destination goes back to the receiving interface. > > Try to disable ICMP redirects: > # sysctl net.inet.ip.redirect=0 > > -- > WBR, Andrey V. Elsukov > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABUmD9vxpTOFg0vPa29v1ynnPtZAb3_X8x15gwYSyQ_8onQaTw>
