ip addr list: server: eth0, lo and 5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> 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: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100 link/[65534] inet 10.29.0.6 peer 10.29.0.5/32 scope global tun0 valid_lft forever preferred_lft forever Following commands resulted in similar output on client and server with different IP-Addresses. birdc show interfaces: tun0 up (index=5) PtP Multicast AdminUp LinkUp MTU=1500 10.29.0.1/32 (Primary, opposite 10.29.0.2, scope site) birdc show ospf interface: BIRD 1.6.3 ready. myOSPF3: Interface tun0 (peer 10.29.0.2) Type: ptp Area: 0.0.0.0 (0) State: PtP Priority: 1 Cost: 10 Hello timer: 10 Wait timer: 10 Dead timer: 40 Retransmit timer: 5 birdc show ospf neighbors: no neighbours. tcpdump -v -s 0 proto ospf -i tun0 06:59:00.439738 IP (tos 0xc0, ttl 1, id 15270, offset 0, flags [none], proto OSPF (89), length 64) server > ospf-all.mcast.net: OSPFv2, Hello, length 44 Router-ID repo.traffic.local, Backbone Area, Authentication Type: none (0) Options [External] Hello Timer 10s, Dead Timer 40s, Mask 0.0.0.0, Priority 1 06:59:02.449363 IP (tos 0xc0, ttl 1, id 18875, offset 0, flags [none], proto OSPF (89), length 64) 10.29.0.6 > ospf-all.mcast.net: OSPFv2, Hello, length 44 Router-ID 192.168.21.17, Backbone Area, Authentication Type: none (0) Options [External] Hello Timer 10s, Dead Timer 40s, Mask 0.0.0.0, Priority 1 Where server is the name of my server. In logs I can see only multiple <TRACE> myOSPF3: HELLO packet sent via tun0 - messages and once after start initial logs like adding area and originating lsa for routes from static-protocol. Now i'm trying to establish ptp-connection for ospf, but in future the server should run in ptmp mode. I suppose, that there is somethnig wrong with the IP-Address of peer, since the server has IP-Address 10.29.0.1 and the client 10.29.0.10. But I declared these IP-Adresses as neighbour in config file. Maybe there is an issue, that the IP-Addresses are in /32-network? But unfortunately I cannot change anything in openvpn settings. Do you have any idea, what I'm doing wrong? 2018-03-30 0:25 GMT+02:00 Ondrej Zajicek <santi...@crfreenet.org>: > 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 (included in bird.conf) : > > > > protocol ospf myOSPF { > > area 0.0.0.0 { > > interface "tun0" { > > cost 10; > > type ptp; > > stub no; hello 10; transmit delay 5; wait 10; > dead > > 40; > > neighbors { > > 10.29.0.1; > > }; }; }; > > Hi > > What do you get from: > > ip addr list > birdc show interfaces > birdc show ospf interface > birdc show ospf neighbors > tcpdump -v -s 0 proto ospf -i tun0 > > > Do you have anything interesting in logs? > > -- > Elen sila lumenn' omentielvo > > Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) > OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) > "To err is human -- to blame it on a computer is even more so." > 2018-03-30 0:25 GMT+02:00 Ondrej Zajicek <santi...@crfreenet.org>: > 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 (included in bird.conf) : > > > > protocol ospf myOSPF { > > area 0.0.0.0 { > > interface "tun0" { > > cost 10; > > type ptp; > > stub no; hello 10; transmit delay 5; wait 10; > dead > > 40; > > neighbors { > > 10.29.0.1; > > }; }; }; > > Hi > > What do you get from: > > ip addr list > birdc show interfaces > birdc show ospf interface > birdc show ospf neighbors > tcpdump -v -s 0 proto ospf -i tun0 > > > Do you have anything interesting in logs? > > -- > Elen sila lumenn' omentielvo > > Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) > OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) > "To err is human -- to blame it on a computer is even more so." >