-
Notifications
You must be signed in to change notification settings - Fork 54
How to configure Squiggle Multicast
To connect two networks with the bridge you need Squiggle bridge to be installed on a machine in each network as a windows service. To install the bridge execute the following command on command prompt (in bridge directory).
Squiggle.Bridge -i
Now change the BridgeConfiguration section of Squiggle.Bridge.exe.config file on both the nodes to point to each other like so:
<BridgeConfiguration>
<InternalServiceBinding ip="127.0.0.1" port="1235" />
<ExternalServiceBinding ip="127.0.0.1" port="1236" />
<PresenceBinding MulticastIP="224.10.11.12" MulticastPort="9998" ServicePort="9997" CallbackPort="9996" />
<targets>
<add ip="127.0.0.1" port="1234" />
</targets>
</BridgeConfiguration>
InternalServiceBinding refers to the IP and (TCP) Port used by bridge to talk to the nodes with in its own network ExternalServiceBinding refers to the IP and (TCP) Port used by bridge to talk to the other bridge across the network. (The two bridges should be able to communicate with each other using their ExternalServiceBinding) channelbinding refers to the multicast IP and udp and tcp port used by bridge to talk to the nodes with in its own network.
Please note that PresenceBinding, InternalServiceBinding and ExternalServiceBinding all point to different IPs of the same bridge node (possibly on different network cards).
In the target section you have to specify the (ExternalServiceBinding) ip and port of other bridges that this bridge needs to talk to. So if you have 2 bridges and 2 networks then each bridge will have one target node specified containing the ExternalServiceBinding of the other bridge.
Make sure the service is running on both the nodes and then signing Squiggle on a client on each network. Both clients should be able to see each other now.