Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created November 5, 2014 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dysinger/44308d025f98e0108257 to your computer and use it in GitHub Desktop.
Save dysinger/44308d025f98e0108257 to your computer and use it in GitHub Desktop.
coreos-with-etcd-and-flannel-from-a-guests-perspective
core@ip-10-181-28-164 ~ $ sudo netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 [::]:afs3-callback [::]:* LISTEN
tcp6 0 0 [::]:4001 [::]:* LISTEN
udp 0 0 *:8285 *:*
udp 0 0 ip-10-0-37-1.ec2.in:ntp *:*
udp 0 0 ip-10-0-37-0.ec2.in:ntp *:*
udp 0 0 ip-10-181-28-164.ec:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp6 0 0 fe80::2000:bff:fe45:ntp [::]:*
udp6 0 0 localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 10016 /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 11588 /var/run/docker.sock
unix 2 [ ACC ] STREAM LISTENING 11590 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 7277 /run/systemd/journal/stdout
unix 2 [ ACC ] SEQPACKET LISTENING 10418 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 13763 /var/run/fleet.sock
core@ip-10-181-28-164 ~ $ ifconfig docker0|awk '/ \<inet\>/ { print $2 }'
10.0.37.1
core@ip-10-181-28-164 ~ $ docker run -i -t busybox /bin/sh
Unable to find image 'busybox' locally
busybox:latest: The image you are pulling has been verified
511136ea3c5a: Pull complete
df7546f9f060: Pull complete
e433a6c5b276: Pull complete
e72ac664f4f0: Pull complete
Status: Downloaded newer image for busybox:latest
/ # telnet 10.0.37.1 4001
...
<timesout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment