
Good morning:
I have the following setup, 4 routers in different locations. (R1,R2,R3,R4). All connections between routers are made via Wireguard and EOIP within Wireguard. R1 and R2 do not have a public IP since the provider does double nating, for this reason I use Wireguard. Currently I can access the server that is connected to R2 from the computer connected to R1 and in the same way from the other network to the server connected to R1. My problem is that as soon as I connect R2 to R4, a Loop is created. My question, how can I solve this loop without having to use a script that activates or deactivates the tunnel when R3 has problems. This means that the connections are always connected and when something happens in R3, the traffic goes through R4. I imagine it’s through some kind of priority. Thanks with any idea.
hello.
I have the following setup, 4 routers in different locations. (R1,R2,R3,R4). All connections between routers are made via Wireguard and EOIP within Wireguard.
do you have any good reason as why did you design those eoip network? and how did you put those eoip tunnels on the router?
in case of looped, which router is down unavailable?
I make the connections through EOIP to be able to access an HDHomerun box that I have in R2 and that through Wireguard the traffic does not pass. I could use Plex for that where the HDHomerun box is but I’m testing to see how the network behaves. First I create the tunnel through Wireguard and then activate the EOIP connection within Wireguard. Since R3 and R4 are the only ones that have Public IPs, I can access the servers outside of the LAN. In the case of a Loop, the last one that connects through EOIP and creates the loop, in my example was R2 the interface is deactivated, the router continues to work normally. It’s just the interface that gets disabled.
hello Jack,
In the case of a Loop, the last one that connects through EOIP and creates the loop, in my example was R2 the interface is deactivated, the router continues to work normally. > It’s just the interface that gets disabled.
yes. interface down. i am sorry, typo.
i think that’s a correct behavior on layer 2 Ethernet network. the stp worked perfectly. if you deactivate that stp feature, your whole network will be unusable.
i don’t know how you put all those eoip tunnels for each router, but my guess is that for each router you have 3 eoip tunnels on the same bridge? am I correct? otherwise you won’t have layer 2 loop.
Yes you are correct about the EOIP for each router.
I modified one of the Bridge with a different priority and activate RSTP. And now is working fine. Thanks with the help.