On Apr 3, 2018, at 1:23 AM, dawid k <tookie009smieci@gmail.com> wrote:ip addr list:server:eth0, lo and5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100link/[65534]inet 10.29.0.1 peer 10.29.0.2/32 scope global tun0client:977: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100link/[65534]inet 10.29.0.6 peer 10.29.0.5/32 scope global tun0valid_lft forever preferred_lft foreverFollowing commands resulted in similar output on client and server with different IP-Addresses.birdc show interfaces:tun0 up (index=5)birdc show ospf interface:BIRD 1.6.3 ready.myOSPF3:Interface tun0 (peer 10.29.0.2)Type: ptpArea: 0.0.0.0 (0)State: PtPPriority: 1Cost: 10Hello timer: 10Wait timer: 10Dead timer: 40Retransmit timer: 5birdc show ospf neighbors: no neighbours.tcpdump -v -s 0 proto ospf -i tun006: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 44Router-ID repo.traffic.local, Backbone Area, Authentication Type: none (0)Options [External]Hello Timer 10s, Dead Timer 40s, Mask 0.0.0.0, Priority 106: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 44Router-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 1Where 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 <santiago@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 Hi
> 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;
> }; }; };
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: santiago@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 <santiago@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 Hi
> 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;
> }; }; };
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: santiago@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."