Skip to content

Commit

Permalink
clusterd: Change area router for 141.14.31.255 to wtf
Browse files Browse the repository at this point in the history
Some of the communications of clusterd is based on ip broadcasts. If the
nodes are distributed over multiple ipv4 networks, different nodes need
to do the broadcasts, because without special router setups, you can't
broadcasts to remote subnets.

For this reason, one node is a designated broadcaster for each subnet.
This node is called "area router" in the code. Data to be sent to all
nodes is sent via unicast to each area router which, in turn, brodcast
it to the networks they are resposible for.

Move the area router role for network 141.14.16/0 with broadcast address
141.14.31.255 from lol to wtf.
  • Loading branch information
donald committed Jan 18, 2022
1 parent 381abcd commit 86feb86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clusterd/clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -1656,8 +1656,7 @@ sub sync_cluster_pw {

our %AREA_ROUTER=
(
lol => '141.14.31.255',
# orkrist=> '10.14.0.255',
wtf => '141.14.31.255',
);

our $area_socket;
Expand Down

0 comments on commit 86feb86

Please sign in to comment.