Date: Thu, 07 May 2015 12:04:21 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Martin Larsson <martin.larsson2@gmail.com>, freebsd-net@freebsd.org Subject: Re: FreeBSD makes linux think other subet is in same lan. Message-ID: <554B2A95.8030600@yandex.ru> In-Reply-To: <CABUmD9toVsmOo=sfosBO2Tv_ZU35odpM5MNaLNtzZhZpAXLjgQ@mail.gmail.com> References: <CABUmD9toVsmOo=sfosBO2Tv_ZU35odpM5MNaLNtzZhZpAXLjgQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVSyqVAAoJEAHF6gQQyKF6eygH/RuEFK3RKNtgc38TekjYzyo0 3V6UhzDtVmGdJW/1kvvIEASC34IKHj4uB+IdWnpOy80qbC+Q5if+2MREdwBpv1nS aZz4zMAVUKnKhmAkgbj46XSraG/VXMCOmN2OAiidNuWrPMs5x9yRteEs4xIiCwDH iIUPot0XunhCknK68aDqq/NnJaHOWq/+0GvLjBKJE8dY4NQV7U2zcUi2jU+BB0Ji 9d6xyILQGHf0hS7A66Xgtr5G9Kriiw90AWHvDrKNCJr9HhMfTTMRq2Cb3gLCr4ve M7s/usax2dCN/QaZ5wb49uBq2+ZEpYgYnr/26iJWnhouysx2XcMAtingDkXE3cE= =izHR -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?554B2A95.8030600>
