Re: FreeBSD makes linux think other subet is in same lan.

2015-05-07 Thread Martin Larsson
yes, that made the trick! Thanks alot Andrey! On Thu, May 7, 2015 at 11:04 AM, Andrey V. Elsukov 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 a

Re: FreeBSD makes linux think other subet is in same lan.

2015-05-07 Thread Andrey V. Elsukov
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 on eth0 >

Re: FreeBSD makes linux think other subet is in same lan.

2015-05-06 Thread Martin Larsson
yes, without adding the route, ping -S 192.168.1.1 10.11.12.13 works. On Wed, May 6, 2015 at 9:51 PM, Ermal Luçi wrote: > > > On Wed, May 6, 2015 at 2:51 PM, Martin Larsson > wrote: > >> This is a small summary of >> >> https://forums.freebsd.org/threads/routing-issue-with-ipsec-windows-works-

Re: FreeBSD makes linux think other subet is in same lan.

2015-05-06 Thread Ermal Luçi
On Wed, May 6, 2015 at 2:51 PM, Martin Larsson wrote: > This is a small summary of > > https://forums.freebsd.org/threads/routing-issue-with-ipsec-windows-works-linux-doesnt.51201/ > . > > > Setup: > My side > 192.168.1.0/24 > Freebsd (default gateway and ipsec gateway, 192.168.1.1) > windows, li

Re: FreeBSD makes linux think other subet is in same lan.

2015-05-06 Thread Martin Larsson
Yes. root@fjuttsi:~ # setkey -D 85.230.59.213 194.41.121.12 esp mode=tunnel spi=1120293717(0x42c65355) reqid=1(0x0001) E: rijndael-cbc 41c6cbe5 4de2a11f e6e57092 58251b2c b51272ba 90f5a84a b9a121db eaf79bb0 A: hmac-sha2-256 5ca5b365 4ca57b11 239d2487 6def4b97 e6bf294

Re: FreeBSD makes linux think other subet is in same lan.

2015-05-06 Thread Andrey V. Elsukov
On 06.05.2015 15:51, Martin Larsson wrote: > This is a small summary of > https://forums.freebsd.org/threads/routing-issue-with-ipsec-windows-works-linux-doesnt.51201/ Can you provide run-time configuration from your FreeBSD gateway? # setkey -D # setkey -DP # netstat -rnf inet -- WBR, Andrey V

FreeBSD makes linux think other subet is in same lan.

2015-05-06 Thread Martin Larsson
This is a small summary of https://forums.freebsd.org/threads/routing-issue-with-ipsec-windows-works-linux-doesnt.51201/ . Setup: My side 192.168.1.0/24 Freebsd (default gateway and ipsec gateway, 192.168.1.1) windows, linux etc 10.11.12.0/24 other net 1: connect with ipsec to another subnet. W