Created
August 8, 2014 17:34
-
-
Save Aricg/84a482af1f5ac6297e49 to your computer and use it in GitHub Desktop.
No change in netstat output ->
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
No change in netstat output -> | |
$ sudo docker run -i -t ubuntu:latest /bin/bash | |
#NotWorking | |
root@f438e250c939:/# netstat -rn | |
Kernel IP routing table | |
Destination Gateway Genmask Flags MSS Window irtt Iface | |
0.0.0.0 192.168.0.106 0.0.0.0 UG 0 0 0 eth0 | |
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |
root@f438e250c939:/# ping google.com | |
ping: unknown host google.com | |
#Working | |
root@f438e250c939:/# netstat -rn | |
Kernel IP routing table | |
Destination Gateway Genmask Flags MSS Window irtt Iface | |
0.0.0.0 192.168.0.106 0.0.0.0 UG 0 0 0 eth0 | |
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |
root@f438e250c939:/# ping google.com | |
PING google.com (74.125.226.130) 56(84) bytes of data. | |
64 bytes from yyz08s14-in-f2.1e100.net (74.125.226.130): icmp_seq=1 ttl=57 time=52.2 ms | |
64 bytes from yyz08s14-in-f2.1e100.net (74.125.226.130): icmp_seq=2 ttl=57 time=53.1 ms | |
^C | |
--- google.com ping statistics --- | |
2 packets transmitted, 2 received, 0% packet loss, time 1001ms | |
rtt min/avg/max/mdev = 52.251/52.684/53.117/0.433 ms | |
root@f438e250c939:/# netstat -rn | |
Kernel IP routing table | |
Destination Gateway Genmask Flags MSS Window irtt Iface | |
0.0.0.0 192.168.0.106 0.0.0.0 UG 0 0 0 eth0 | |
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |
root@f438e250c939:/# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment