scion-backbone / sbas

Prototype implementation for the Secure Backbone AS (SBAS) routing system.
0 stars 1 forks source link

Duplicate routes in Docker container #15

Closed joelwanner closed 3 years ago

joelwanner commented 3 years ago

On starting the merged container, the output looks as follows:

vpn_router_merged_1  | Wed Mar 17 10:50:09 UTC 2021: Starting Wireguard /etc/wireguard/wg0.conf
vpn_router_merged_1  | [#] ip link add wg0 type wireguard
vpn_router_merged_1  | [#] wg setconf wg0 /dev/fd/63
vpn_router_merged_1  | [#] ip -4 address add 184.164.237.129/25 dev wg0
vpn_router_merged_1  | [#] ip link set mtu 1420 up dev wg0
vpn_router_merged_1  | [#] ip route add 184.164.237.128/25 dev wg0 proto kernel scope link src 184.164.237.129 table 10; ip rule add from 184.164.237.128/25 lookup 10 priority 10
vpn_router_merged_1  | RTNETLINK answers: File exists
vpn_router_merged_1  | RTNETLINK answers: File exists

The last two lines indicate that there are duplicate routes added somewhere in the process. Shouldn't be a problem, but it would be good to look into it.