Re: Cannot connect two ospf-instances over tun-interface

2018-04-05 Thread dawid k
Hello, I got the server to work. The issue was, that I didn't disable iptables correct. Now two client and the server are exchanging own routes. I connected to one client another one over a router and the router is connected to the ospf-network as well. But somehow I cannot contact the new

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread dawid k
2018-04-04 12:31 GMT+02:00 Ondrej Zajicek : > On Wed, Apr 04, 2018 at 11:35:03AM +0200, dawid k wrote: > > 2018-04-04 10:59 GMT+02:00 Jan Maria Matejka : > > > > > Hello, > > > > > > please could you enable 'debug all' for the ospf protocol at server? >

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread Ondrej Zajicek
On Wed, Apr 04, 2018 at 11:35:03AM +0200, dawid k wrote: > 2018-04-04 10:59 GMT+02:00 Jan Maria Matejka : > > > Hello, > > > > please could you enable 'debug all' for the ospf protocol at server? > > It should tell you whether it receives the packets and what is it doing > >

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread Jan Maria Matejka
Hmmm ... will try it on my own network some time this week. If I don't send any report until Monday (April 9th), please ping me. M. On 04/04/2018 11:35 AM, dawid k wrote: > > > 2018-04-04 10:59 GMT+02:00 Jan Maria Matejka >: > > Hello, >

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread dawid k
2018-04-04 10:59 GMT+02:00 Jan Maria Matejka : > Hello, > > please could you enable 'debug all' for the ospf protocol at server? > It should tell you whether it receives the packets and what is it doing > with them. > It is enabled, Here the logs: 2018-04-04 11:22:42

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread Jan Maria Matejka
Hello, please could you enable 'debug all' for the ospf protocol at server? It should tell you whether it receives the packets and what is it doing with them. OpenVPN in TUN mode does quite strange things with routing. Have you tried routing by static routes first (to see whether it works or

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread dawid k
Additional info: bird show ospf state on server: area 0.0.0.0 router 10.29.0.1 distance 0 stubnet 10.29.0.0/22 metric 10 external 1.1.1.1/32 metric 33 external 10.29.0.0/22 metric 33 I wonder, why my netowrk is marked as

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread dawid k
Hi Chris, Thank you for your advice, I got a little bit forward. I expended my topology with another pc - another vpn client - and I got these two vpn clients working, but somehow I cannot get the server to work properly. The server remains always in state Init/Other. I can see with tcpdump,

Re: Cannot connect two ospf-instances over tun-interface

2018-04-03 Thread Ondrej Zajicek
On Tue, Apr 03, 2018 at 08:05:41AM -0600, Michael McConnell wrote: > OpenVPN won’t do multicast over TUN, only TAP. Well, that would be silly from OpenVPN. But tcpdump output from Dawid K shows that multicast packets are propagated throught TUN: > 06:59:00.439738 IP (tos 0xc0, ttl 1, id 15270,

Re: Cannot connect two ospf-instances over tun-interface

2018-04-03 Thread Michael McConnell
OpenVPN won’t do multicast over TUN, only TAP. -- Michael McConnell WINK Streaming; email: mich...@winkstreaming.com toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 cell: +506 8706-2389 skype: wink-michael web: http://winkstreaming.com > On Apr 3, 2018, at 1:23 AM, dawid k

Re: Cannot connect two ospf-instances over tun-interface

2018-04-03 Thread Ondrej Zajicek
On Tue, Apr 03, 2018 at 09:23:34AM +0200, dawid k wrote: > ip addr list: > server: > > eth0, lo and > 5: tun0: mtu 1500 qdisc > pfifo_fast state UNKNOWN qlen 100 > link/[65534] > inet 10.29.0.1 peer 10.29.0.2/32 scope global tun0 > > client: > >

Re: Cannot connect two ospf-instances over tun-interface

2018-04-03 Thread dawid k
ip addr list: server: eth0, lo and 5: tun0: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100 link/[65534] inet 10.29.0.1 peer 10.29.0.2/32 scope global tun0 client: 977: tun0: mtu 1500 qdisc pfifo_fast

Re: Cannot connect two ospf-instances over tun-interface

2018-03-29 Thread Michael McConnell
Hello Dawid, I fought with this one for some time, I did get it working with OpenVPN but threw it out in favor of Tinc in the end… Here is are the couple gotchas I ran into for OenVPN; 1. Use tap instead of tun 2. Ensure you have an interface (show interfaces) If you do not have interfaces on

Re: Cannot connect two ospf-instances over tun-interface

2018-03-29 Thread Ondrej Zajicek
On Thu, Mar 29, 2018 at 03:02:52PM +0200, dawid k wrote: > Here my configuration (client): > > ifconfig tun0: > tun0 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255 > > bird_ospf.conf

Re: Cannot connect two ospf-instances over tun-interface

2018-03-29 Thread dawid k
Here my configuration (client): ifconfig tun0: tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255 bird_ospf.conf (included in bird.conf) : protocol ospf myOSPF { area 0.0.0.0 {