Created
January 10, 2014 18:16
-
-
Save zmarcantel/8359580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROBLEM | |
------- | |
I'm trying to get two peers to connect to each other. | |
It seems, however, that the machines are only listening on the client port? | |
Looking at netstat, the only port being bound is my client port (4600) and each machine is saying the connection to the other was refused. | |
Any ideas, help, or obvious oversights? | |
PEER TOPOLOGY | |
------------- | |
2 Peers: 192.168.50.{100 | 10} | |
Virtual machines with private subnet of 192.168.50.0/24 | |
ETCD CONFIG FILE (for one peer) | |
------------------------------- | |
addr = "192.168.50.100:4600" | |
bind_addr = "192.168.50.100" | |
data_dir = "/srv/etcd/machines/Dock.0.local.divvy" | |
peers = ["192.168.50.10:4500"] | |
max_cluster_size = 1000 | |
max_retry_attempts = 3 | |
name = "Dock.0.local.divvy" | |
verbose = true | |
very_verbose = true | |
[peer] | |
addr = "192.168.50.100:4500" | |
NETSTAT OUTPUT | |
-------------- | |
tcp 0 0 192.168.50.100:4600 0.0.0.0:* LISTEN 8114/etcd | |
ETHERNET/NETWORK CONFIG | |
----------------------- | |
eth0 Link encap:Ethernet HWaddr 08:00:27:26:f5:88 | |
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe26:f588/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
eth1 Link encap:Ethernet HWaddr 08:00:27:d4:7b:17 | |
inet addr:192.168.50.100 Bcast:192.168.50.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fed4:7b17/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment