Created
November 12, 2014 14:59
-
-
Save errordeveloper/d2ba24c4a0ad47b27289 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
> gcloud compute instances create weave-11 --zone europe-west1-b | |
<...> | |
> gcloud compute ssh weave-11 --zone europe-west1-b --command 'curl https://get.docker.io/ | sudo bash && curl -L https://raw.github.com/zettio/weave/master/weave | sudo install --mode=0755 /dev/fd/0 /usr/local/bin/weave && sudo weave launch weave-12' ; | |
<...> | |
> gcloud compute ssh weave-11 --zone europe-west1-b | |
Warning: Permanently added '146.148.9.50' (RSA) to the list of known hosts. | |
Linux weave-11 3.16-0.bpo.3-amd64 #1 SMP Debian 3.16.5-1~bpo70+1 (2014-11-02) x86_64 | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
ilya@weave-11:~$ sudo weave status | |
Our name is 7a:19:a8:ca:4e:5f | |
Sniffing traffic on &{11 65535 ethwe 7a:01:2d:9b:a2:05 up|broadcast|multicast} | |
MACs: | |
Peers: | |
Peer 7a:19:a8:ca:4e:5f (v5) (UID 412709137665739938) | |
-> 7a:9e:4a:62:fb:f1 [10.240.66.55:45945] | |
Peer 7a:9e:4a:62:fb:f1 (v5) (UID 16417358629851657046) | |
-> 7a:19:a8:ca:4e:5f [10.240.127.48:6783] | |
Topology: | |
unicast: | |
7a:9e:4a:62:fb:f1 -> 7a:9e:4a:62:fb:f1 | |
7a:19:a8:ca:4e:5f -> 00:00:00:00:00:00 | |
broadcast: | |
7a:19:a8:ca:4e:5f -> [7a:9e:4a:62:fb:f1] | |
7a:9e:4a:62:fb:f1 -> [] | |
Reconnects: | |
10.240.66.55:6783 (next try at 2014-11-12 14:50:34.821276652 +0000 UTC) | |
ilya@weave-11:~$ sudo weave expose 192.168.1.1/24 && ping 192.168.1.2 | |
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. | |
64 bytes from 192.168.1.2: icmp_req=1 ttl=64 time=2022 ms | |
64 bytes from 192.168.1.2: icmp_req=2 ttl=64 time=109 ms | |
64 bytes from 192.168.1.2: icmp_req=3 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=4 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=5 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=6 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=7 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=8 ttl=64 time=109 ms | |
64 bytes from 192.168.1.2: icmp_req=9 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=10 ttl=64 time=110 ms | |
64 bytes from 192.168.1.2: icmp_req=11 ttl=64 time=110 ms | |
^C | |
--- 192.168.1.2 ping statistics --- | |
11 packets transmitted, 11 received, 0% packet loss, time 10994ms | |
rtt min/avg/max/mdev = 109.958/283.958/2022.128/549.657 ms, pipe 2 | |
ilya@weave-11:~$ sudo docker logs weave | |
weave 2014/11/12 14:35:39.499592 [/home/weave/weaver -iface ethwe -wait 5 -name 7a:19:a8:ca:4e:5f weave-12] | |
weave 2014/11/12 14:35:40.500732 Our name is 7a:19:a8:ca:4e:5f | |
weave 2014/11/12 14:35:40.786197 Sniffing traffic on &{11 65535 ethwe 7a:01:2d:9b:a2:05 up|broadcast|multicast} | |
weave 2014/11/12 14:35:40.786386 Discovered our MAC 7a:01:2d:9b:a2:05 | |
weave 2014/11/12 14:35:40.827334 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:35:40.938298 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:35:43.029602 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:35:43.142834 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:35:45.279879 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:35:45.388866 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:35:49.408782 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:35:49.520618 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:35:57.340756 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:35:57.451759 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:36:09.509870 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:36:09.627179 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:36:30.969385 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:36:31.079911 dial tcp4 10.240.66.55:6783: connection refused | |
weave 2014/11/12 14:36:41.286060 Peer 7a:19:a8:ca:4e:5f established active connection to remote peer 7a:9e:4a:62:fb:f1 at 10.240.66.55:45881 | |
weave 2014/11/12 14:36:41.308740 EMSGSIZE on send, expecting PMTU update (IP packet was 60028 bytes, payload was 60020 bytes) | |
weave 2014/11/12 14:36:41.308995 ->[7a:9e:4a:62:fb:f1]: Effective PMTU set to 1398 | |
weave 2014/11/12 14:36:41.448630 ->[7a:9e:4a:62:fb:f1]: Effective PMTU verified at 1398 | |
weave 2014/11/12 14:37:07.141370 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:37:07.359077 ->[7a:9e:4a:62:fb:f1]: error: read tcp4 10.240.66.55:6783: connection reset by peer | |
weave 2014/11/12 14:37:07.359170 ->[7a:9e:4a:62:fb:f1]: error: Multiple connections to 7a:9e:4a:62:fb:f1 added to 7a:19:a8:ca:4e:5f | |
weave 2014/11/12 14:37:07.359205 ->[7a:9e:4a:62:fb:f1]: connection shutting down | |
weave 2014/11/12 14:38:01.737241 Attempting connection to 10.240.66.55:6783 | |
weave 2014/11/12 14:38:01.955929 ->[7a:9e:4a:62:fb:f1]: error: Multiple connections to 7a:9e:4a:62:fb:f1 added to 7a:19:a8:ca:4e:5f | |
weave 2014/11/12 14:38:01.956087 ->[7a:9e:4a:62:fb:f1]: connection shutting down | |
weave 2014/11/12 14:38:01.956173 ->[7a:9e:4a:62:fb:f1]: error: read tcp4 10.240.66.55:45881: use of closed network connection | |
weave 2014/11/12 14:38:02.065521 Peer 7a:19:a8:ca:4e:5f established active connection to remote peer 7a:9e:4a:62:fb:f1 at 10.240.66.55:6783 | |
weave 2014/11/12 14:38:02.065750 EMSGSIZE on send, expecting PMTU update (IP packet was 60028 bytes, payload was 60020 bytes) | |
weave 2014/11/12 14:38:02.065791 ->[7a:9e:4a:62:fb:f1]: Effective PMTU set to 1398 | |
weave 2014/11/12 14:38:02.067218 ->[7a:9e:4a:62:fb:f1]: error: Multiple connections to 7a:9e:4a:62:fb:f1 added to 7a:19:a8:ca:4e:5f | |
weave 2014/11/12 14:38:02.067260 ->[7a:9e:4a:62:fb:f1]: connection shutting down | |
weave 2014/11/12 14:38:02.067315 ->[7a:9e:4a:62:fb:f1]: error: read tcp4 10.240.66.55:45889: use of closed network connection | |
weave 2014/11/12 14:38:02.176074 ->[7a:9e:4a:62:fb:f1]: Effective PMTU verified at 1398 | |
weave 2014/11/12 14:38:08.331686 ->[7a:9e:4a:62:fb:f1]: error: Multiple connections to 7a:9e:4a:62:fb:f1 added to 7a:19:a8:ca:4e:5f | |
<...> |
This file contains hidden or 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
> gcloud compute instances create weave-12 --zone us-central1-a | |
<...> | |
> gcloud compute ssh weave-12 --zone us-central1-a --command 'curl https://get.docker.io/ | sudo bash && curl -L https://raw.github.com/zettio/weave/master/weave | sudo install --mode=0755 /dev/fd/0 /usr/local/bin/weave && sudo weave launch weave-11' ; | |
<...> | |
> gcloud compute ssh weave-12 --zone us-central1-a | |
Warning: Permanently added '130.211.114.73' (RSA) to the list of known hosts. | |
Linux weave-12 3.16-0.bpo.3-amd64 #1 SMP Debian 3.16.5-1~bpo70+1 (2014-11-02) x86_64 | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
ilya@weave-12:~$ sudo weave status | |
Our name is 7a:9e:4a:62:fb:f1 | |
Sniffing traffic on &{11 65535 ethwe e6:5f:b8:4d:c2:40 up|broadcast|multicast} | |
MACs: | |
Peers: | |
Peer 7a:9e:4a:62:fb:f1 (v5) (UID 16417358629851657046) | |
-> 7a:19:a8:ca:4e:5f [10.240.127.48:6783] | |
Peer 7a:19:a8:ca:4e:5f (v5) (UID 412709137665739938) | |
-> 7a:9e:4a:62:fb:f1 [10.240.66.55:45945] | |
Topology: | |
unicast: | |
7a:9e:4a:62:fb:f1 -> 00:00:00:00:00:00 | |
7a:19:a8:ca:4e:5f -> 7a:19:a8:ca:4e:5f | |
broadcast: | |
7a:9e:4a:62:fb:f1 -> [7a:19:a8:ca:4e:5f] | |
7a:19:a8:ca:4e:5f -> [] | |
Reconnects: | |
ilya@weave-12:~$ sudo weave expose 192.168.1.2/24 && ping 192.168.1.1 # NOTE: I ran this before doing the same on weave-11 | |
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. | |
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=4 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=5 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=6 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=7 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=8 Destination Host Unreachable | |
From 192.168.1.2 icmp_seq=9 Destination Host Unreachable | |
64 bytes from 192.168.1.1: icmp_req=10 ttl=64 time=1059 ms | |
64 bytes from 192.168.1.1: icmp_req=11 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=12 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=13 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=14 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=15 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=16 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=17 ttl=64 time=110 ms | |
64 bytes from 192.168.1.1: icmp_req=18 ttl=64 time=113 ms | |
64 bytes from 192.168.1.1: icmp_req=19 ttl=64 time=110 ms | |
64 bytes from 192.168.1.1: icmp_req=20 ttl=64 time=109 ms | |
64 bytes from 192.168.1.1: icmp_req=21 ttl=64 time=110 ms | |
^C | |
--- 192.168.1.1 ping statistics --- | |
21 packets transmitted, 12 received, +9 errors, 42% packet loss, time 22938ms | |
rtt min/avg/max/mdev = 109.782/189.312/1059.392/262.340 ms, pipe 3 | |
ilya@weave-12:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment