FreeBSD makes linux think other subet is in same lan.
Martin Larsson
martin.larsson2 at gmail.com
Thu May 7 09:14:13 UTC 2015
yes, that made the trick!
Thanks alot Andrey!
On Thu, May 7, 2015 at 11:04 AM, Andrey V. Elsukov <bu7cher at 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
>
>
More information about the freebsd-net
mailing list