Re: OSPF v3 in VRF stuck in 'Alone' state

2020-03-26 Thread Ondrej Zajicek
On Wed, Mar 25, 2020 at 05:58:27PM +0100, bauen1 wrote:
> Hello,
> 
> I'm running bird inside a vrf and I'm trying to setup an OSPF v3 ipv4 and 
> ipv6 "peering" over a wireguard vpn inside that vrf.
> 
> And bird does see the interface (as ptp), and sends 'HELLO' OSPF packets over 
> the interface, these packets also arrive at the other side (where the same is 
> happening).
> 
> However bird doesn't seem to receive the incoming packets, they do appear in 
> tcpdump but not in birds log output with 'debug all'.

Hello

Could you try whether it works in another kind of tunnel (say GRE)?

-- 
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."


OSPF v3 in VRF stuck in 'Alone' state

2020-03-25 Thread bauen1
Hello,

I'm running bird inside a vrf and I'm trying to setup an OSPF v3 ipv4 and ipv6 
"peering" over a wireguard vpn inside that vrf.

And bird does see the interface (as ptp), and sends 'HELLO' OSPF packets over 
the interface, these packets also arrive at the other side (where the same is 
happening).

However bird doesn't seem to receive the incoming packets, they do appear in 
tcpdump but not in birds log output with 'debug all'.

The OSPF protcol on both sides is stuck in the 'Alone' State with no neighbours.


bird version:

jhserver:

v2.0.4-44-gd843c274


dn42-uk-london0:

2.0.7


Both interfaces have all necessary ip / ipv6 addresses:


66: dn42-uk-london0:  mtu 1420 qdisc noqueue 
master vrf-dn42 state UNKNOWN group default qlen 1000   
 
    link/none
    inet 172.20.18.226 peer 172.20.18.225/32 scope link dn42-uk-london0
   valid_lft forever preferred_lft forever
    inet6 fdbb:baba:2468:2::4445 peer fdbb:baba:2468::1/128 scope global
   valid_lft forever preferred_lft forever
    inet6 fe80::55d2:c4ab peer fe80::c87a:cc67/64 scope link
   valid_lft forever preferred_lft forever

26: jhserver-dn42:  mtu 1500 qdisc noqueue 
master dn42 state UNKNOWN group default qlen 1000
    link/none
    inet 172.20.18.225 peer 172.20.18.226/32 scope link jhserver-dn42
   valid_lft forever preferred_lft forever
    inet6 fdbb:baba:2468::1 peer fdbb:baba:2468:2::4445/128 scope global
   valid_lft forever preferred_lft forever
    inet6 fe80::c87a:cc67 peer fe80::55d2:c4ab/64 scope link
   valid_lft forever preferred_lft forever


Relevant part of the config:

jhserver:

 protocol ospf v3 dn42_ospf_ip4 {   

  
   router id DN42_OWNIP;

  
   debug all;   

  
   vrf "vrf-dn42";  

  
   ipv4 {   

  
 table dn42_ip4;

  
 export all;

  
 import keep filtered;  

  
 import none;   

  
   };   

  
   area 0.0.0.0  {  

  
 interface "vrf-dn42" { 

  
   stub yes;

  
 }; 

  
 interface "dn42-uk-london0" {  

  
 }; 

  
   };