Heho,

As mentioned, I gave it a shot with eoip, and that worked as intended. What I 
noticed though, is that wg0 seems to stick around in bgpd, even after an 
ifconfig wg0 destroy; I fixed this by using another ip range for transfer and 
rebooting the downstream to make sure; In any case, with an eoip tunnel, things 
then worked.

Maybe something that is sticky/not handled about wg?

With best regards,
Tobias

### After removing wg0  (ifconfig wg0 destroy), deconfiguring the peer, 
reloading bgpd, adding eoip0, and reconfig the peer
bgp-test.test /etc # ifconfig wg0 
wg0: no such interface
bgp-test.test /etc # bgpctl sh nex     
Flags: * = nexthop valid

  Nexthop         Route              Prio Gateway         Iface               
  2a06:d1c0::dead:beef:c01 2a06:d1c0::dead:beef:c01/128  3 connected       wg0 
(DOWN, unknown)
  2a06:d1c0::dead:beef:c02 2a06:d1c0::dead:beef:c02/128  1 connected       wg0 
(DOWN, unknown)


### Adding an eoip tunnel; New IP range and reboot on downstream before doing 
'rcctl bgpd start; mv hostname.eoip0 /etc; sh /etc/netstart eoip0; add peer to 
bgpd conf, bgpctl reload'
bgp-test.test ~ # bgpctl sh nex                 
Flags: * = nexthop valid

  Nexthop         Route              Prio Gateway         Iface               
* 2a06:d1c0::dead:beef:d02 2a06:d1c0::dead:beef:d00/120132 connected       
eoip0 (UP, unknown)

Reply via email to