https://netmaker.org logo
Hi, I’ve encountered an issue when an egress gate...
# server
m
Hi, I’ve encountered an issue when an egress gateway address is in the same network as the announced network.
 The network isn’t announce to other nodes with the message « egress IP range of X.X.X.X overlaps with Y.Y.Y.Y omitting » even if they don’t overlap. For test I have modify logic/peer.go and everything is working fine now :
 @@ -529,7 +529,7 @@ func getEgressIPs(node, peer *models.Node) []net.IPNet { logger.Log(1, "could not parse gateway IP range. Not adding ", iprange) continue // if can't parse CIDR } - nodeEndpointArr := strings.Split(peer.Endpoint, ":") // getting the public ip of node + nodeEndpointArr := strings.Split(node.Endpoint, ":") // getting the public ip of node Excuse me for my English 😦
2 Views