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: <POINTOPOINT,NOARP,UP,LOWER_UP> 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: <POINTOPOINT,NOARP,UP,LOWER_UP> 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" {                                              
                                                                                
                                          
     };                                                                         
                                                                                
                                          
   };                                                                           
                                                                                
                                          
 };                                                                             
                                                                                
                                          
                                                                                
                                                                                
                                          
 protocol ospf v3 dn42_ospf_ip6 {                                               
                                                                                
                                          
   router id DN42_OWNIP;                                                        
                                                                                
                                          
   debug all;                                                                   
                                                                                
                                          
   vrf "vrf-dn42";                                                              
                                                                                
                                          
   ipv6 {                                                                       
                                                                                
                                          
     table dn42_ip6;                                                            
                                                                                
                                          
     export all;                                                                
                                                                                
                                          
     import keep filtered;                                                      
                                                                                
                                          
     import none;                                                               
                                                                                
                                          
   };                                                                           
                                                                                
                                          
   area 0.0.0.0 {                                                               
                                                                                
                                          
     interface "vrf-dn42" {                                                     
                                                                                
                                          
       stub yes;                                                                
                                                                                
                                          
     };                                                                         
                                                                                
                                          
     interface "dn42-uk-london0" {                                              
                                                                                
                                          
     };                                                                         
                                                                                
                                          
   };                                                                           
                                                                                
                                          
 };


dn42-uk-london0:

protocol ospf v3 dn42_ospf_ip4 {                                                
                                                                                
                                         
   router id DN42_OWNIP;                                                        
                                                                                
                                          
   debug all;                                                                   
                                                                                
                                          
   vrf "dn42";                                                                  
                                                                                
                                          
   ipv4 {                                                                       
                                                                                
                                          
     table dn42_ip4;                                                            
                                                                                
                                          
     export all;                                                                
                                                                                
                                          
     import keep filtered;                                                      
                                                                                
                                          
     import none;                                                               
                                                                                
                                          
   };                                                                           
                                                                                
                                          
   area 0.0.0.0 {                                                               
                                                                                
                                          
     interface "dn42" {                                                         
                                                                                
                                          
       stub yes;                                                                
                                                                                
                                          
     };                                                                         
                                                                                
                                          
     interface "jhserver-dn42" {                                                
                                                                                
                                          
     };                                                                         
                                                                                
                                          
   };                                                                           
                                                                                
                                          
 };                                                                             
                                                                                
                                          
                                                                                
                                                                                
                                          
 protocol ospf v3 dn42_ospf_ip6 {                                               
                                                                                
                                          
   router id DN42_OWNIP;                                                        
                                                                                
                                          
   debug all;                                                                   
                                                                                
                                          
   vrf "dn42";                                                                  
                                                                                
                                          
   ipv6 {                                                                       
                                                                                
                                          
     table dn42_ip6;                                                            
                                                                                
                                          
     export all;                                                                
                                                                                
                                          
     import keep filtered;                                                      
                                                                                
                                          
     import none;                                                               
                                                                                
                                          
   };                                                                           
                                                                                
                                          
   area 0.0.0.0 {                                                               
                                                                                
                                          
     interface "dn42" {                                                         
                                                                                
                                          
       stub yes;                                                                
                                                                                
                                          
     };                                                                         
                                                                                
                                          
     interface "jhserver-dn42" {  };                                            
                                                                                
                                          
   };                                                                           
                                                                                
                                          
 };                                                                             
                                                                                
                                          

Any help is appreciated.

bauen1

Reply via email to