Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.08 KB | None | 0 0
  1. [root@vm1 ~]# yum install nmap
  2. Loaded plugins: fastestmirror, langpacks
  3. http://mirror.aarnet.edu.au/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  4. Trying other mirror.
  5. http://mirror.as24220.net/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  6. Trying other mirror.
  7. http://mirror.overthewire.com.au/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  8. Trying other mirror.
  9. http://ftp.swin.edu.au/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  10. Trying other mirror.
  11. http://mirror.ventraip.net.au/CentOS/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  12. Trying other mirror.
  13. http://mirror.internode.on.net/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  14. Trying other mirror.
  15. http://mirror.optus.net/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  16. Trying other mirror.
  17. http://centos.mirror.serversaustralia.com.au/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  18. Trying other mirror.
  19. http://centos.uberglobalmirror.com/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  20. Trying other mirror.
  21. http://mirror.nsw.coloau.com.au/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  22. Trying other mirror.
  23. http://mirror.colocity.com/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  24. Trying other mirror.
  25. http://centos.mirror.crucial.com.au/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  26. Trying other mirror.
  27. http://centos.mirror.digitalpacific.com.au/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  28. Trying other mirror.
  29. http://mirror.intergrid.com.au/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  30. Trying other mirror.
  31. http://mirror.as24220.net/pub/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  32. Trying other mirror.
  33. http://mirror.overthewire.com.au/pub/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  34. Trying other mirror.
  35. http://mirror.optus.net/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  36. Trying other mirror.
  37. http://centos.mirror.serversaustralia.com.au/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  38. Trying other mirror.
  39. http://centos.uberglobalmirror.com/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  40. Trying other mirror.
  41. http://mirror.nsw.coloau.com.au/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  42. Trying other mirror.
  43. http://ftp.swin.edu.au/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  44. Trying other mirror.
  45. http://mirror.ventraip.net.au/CentOS/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  46. Trying other mirror.
  47. http://mirror.internode.on.net/pub/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  48. Trying other mirror.
  49. http://centos.mirror.crucial.com.au/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  50. Trying other mirror.
  51. http://centos.mirror.digitalpacific.com.au/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  52. Trying other mirror.
  53. http://mirror.intergrid.com.au/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  54. Trying other mirror.
  55. http://mirror.optus.net/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  56. Trying other mirror.
  57. http://centos.mirror.serversaustralia.com.au/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  58. Trying other mirror.
  59. http://centos.uberglobalmirror.com/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  60. Trying other mirror.
  61. http://mirror.nsw.coloau.com.au/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  62. Trying other mirror.
  63. Loading mirror speeds from cached hostfile
  64. * base: mirror.as24220.net
  65. * epel: mirror.as24220.net
  66. * extras: mirror.as24220.net
  67. * updates: mirror.intergrid.com.au
  68. Package 2:nmap-6.40-7.el7.x86_64 already installed and latest version
  69. Nothing to do
  70. [root@vm1 ~]# yum install docker
  71. Loaded plugins: fastestmirror, langpacks
  72. http://mirror.aarnet.edu.au/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  73. Trying other mirror.
  74. http://mirror.as24220.net/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  75. Trying other mirror.
  76. http://mirror.overthewire.com.au/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  77. Trying other mirror.
  78. http://ftp.swin.edu.au/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  79. Trying other mirror.
  80. http://mirror.ventraip.net.au/CentOS/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  81. Trying other mirror.
  82. http://mirror.internode.on.net/pub/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  83. Trying other mirror.
  84. http://mirror.optus.net/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  85. Trying other mirror.
  86. http://centos.mirror.serversaustralia.com.au/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  87. Trying other mirror.
  88. http://centos.uberglobalmirror.com/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  89. Trying other mirror.
  90. http://mirror.nsw.coloau.com.au/centos/7.3.1611/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  91. Trying other mirror.
  92. http://mirror.colocity.com/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  93. Trying other mirror.
  94. http://centos.mirror.crucial.com.au/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  95. Trying other mirror.
  96. http://centos.mirror.digitalpacific.com.au/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  97. Trying other mirror.
  98. http://mirror.intergrid.com.au/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  99. Trying other mirror.
  100. http://mirror.as24220.net/pub/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  101. Trying other mirror.
  102. http://mirror.overthewire.com.au/pub/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  103. Trying other mirror.
  104. http://mirror.optus.net/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  105. Trying other mirror.
  106. http://centos.mirror.serversaustralia.com.au/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  107. Trying other mirror.
  108. http://centos.uberglobalmirror.com/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  109. Trying other mirror.
  110. http://mirror.nsw.coloau.com.au/centos/7.3.1611/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  111. Trying other mirror.
  112. http://ftp.swin.edu.au/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  113. Trying other mirror.
  114. http://mirror.ventraip.net.au/CentOS/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  115. Trying other mirror.
  116. http://mirror.internode.on.net/pub/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  117. Trying other mirror.
  118. http://centos.mirror.crucial.com.au/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  119. Trying other mirror.
  120. http://centos.mirror.digitalpacific.com.au/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  121. Trying other mirror.
  122. http://mirror.intergrid.com.au/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  123. Trying other mirror.
  124. http://mirror.optus.net/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  125. Trying other mirror.
  126. http://centos.mirror.serversaustralia.com.au/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  127. Trying other mirror.
  128. http://centos.uberglobalmirror.com/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  129. Trying other mirror.
  130. http://mirror.nsw.coloau.com.au/centos/7.3.1611/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.131.78.30:1080; No route to host"
  131. Trying other mirror.
  132. Loading mirror speeds from cached hostfile
  133. * base: mirror.as24220.net
  134. * epel: mirror.as24220.net
  135. * extras: mirror.as24220.net
  136. * updates: mirror.intergrid.com.au
  137. Resolving Dependencies
  138. --> Running transaction check
  139. ---> Package docker.x86_64 2:1.12.6-11.el7.centos will be installed
  140. --> Processing Dependency: docker-common = 2:1.12.6-11.el7.centos for package: 2:docker-1.12.6-11.el7.centos.x86_64
  141. --> Processing Dependency: docker-client = 2:1.12.6-11.el7.centos for package: 2:docker-1.12.6-11.el7.centos.x86_64
  142. --> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-1.12.6-11.el7.centos.x86_64
  143. --> Processing Dependency: oci-register-machine >= 1:0-1.11 for package: 2:docker-1.12.6-11.el7.centos.x86_64
  144. --> Processing Dependency: container-selinux >= 2:2.9-4 for package: 2:docker-1.12.6-11.el7.centos.x86_64
  145. --> Processing Dependency: skopeo-containers for package: 2:docker-1.12.6-11.el7.centos.x86_64
  146. --> Running transaction check
  147. ---> Package container-selinux.noarch 2:2.9-4.el7 will be installed
  148. ---> Package docker-client.x86_64 2:1.12.6-11.el7.centos will be installed
  149. ---> Package docker-common.x86_64 2:1.12.6-11.el7.centos will be installed
  150. ---> Package oci-register-machine.x86_64 1:0-1.11.gitdd0daef.el7 will be installed
  151. ---> Package oci-systemd-hook.x86_64 1:0.1.4-9.git671c428.el7 will be installed
  152. ---> Package skopeo-containers.x86_64 1:0.1.18-1.el7 will be installed
  153. --> Finished Dependency Resolution
  154.  
  155. Dependencies Resolved
  156.  
  157. ================================================================================================================================================================================
  158. Package Arch Version Repository Size
  159. ================================================================================================================================================================================
  160. Installing:
  161. docker x86_64 2:1.12.6-11.el7.centos extras 20 M
  162. Installing for dependencies:
  163. container-selinux noarch 2:2.9-4.el7 extras 26 k
  164. docker-client x86_64 2:1.12.6-11.el7.centos extras 4.4 M
  165. docker-common x86_64 2:1.12.6-11.el7.centos extras 71 k
  166. oci-register-machine x86_64 1:0-1.11.gitdd0daef.el7 extras 1.1 M
  167. oci-systemd-hook x86_64 1:0.1.4-9.git671c428.el7 extras 29 k
  168. skopeo-containers x86_64 1:0.1.18-1.el7 extras 7.6 k
  169.  
  170. Transaction Summary
  171. ================================================================================================================================================================================
  172. Install 1 Package (+6 Dependent packages)
  173.  
  174. Total download size: 26 M
  175. Installed size: 104 M
  176. Is this ok [y/d/N]: N
  177. Exiting on user command
  178. Your transaction was saved, rerun it with:
  179. yum load-transaction /tmp/yum_save_tx.2017-03-29.17-20.O5pwGz.yumtx
  180. [root@vm1 ~]#
  181.  
  182. [root@vm1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp0s3
  183. TYPE=Ethernet
  184. BOOTPROTO=static
  185. DEFROUTE=yes
  186. NAME=enp0s3
  187. UUID=0837ec6f-7e66-47c0-8d96-d423af21b9f1
  188. DEVICE=enp0s3
  189. ONBOOT=yes
  190. IPADDR=192.168.1.12
  191. PREFIX=24
  192. GATEWAY=192.168.1.1
  193. DNS1=192.168.1.1
  194. [root@vm1 ~]# nmap $(hostname)
  195.  
  196. Starting Nmap 6.40 ( http://nmap.org ) at 2017-03-29 17:22 AEDT
  197. Nmap scan report for vm1.master (192.168.1.12)
  198. Host is up (0.000012s latency).
  199. Other addresses for vm1.master (not scanned): 192.168.122.1
  200. Not shown: 998 closed ports
  201. PORT STATE SERVICE
  202. 22/tcp open ssh
  203. 111/tcp open rpcbind
  204.  
  205. Nmap done: 1 IP address (1 host up) scanned in 33.17 seconds
  206. [root@vm1 ~]# route
  207. Kernel IP routing table
  208. Destination Gateway Genmask Flags Metric Ref Use Iface
  209. default gateway 0.0.0.0 UG 0 0 0 enp0s3
  210. link-local 0.0.0.0 255.255.0.0 U 1002 0 0 enp0s3
  211. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s3
  212. 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
  213. [root@vm1 ~]# ping google.com
  214. ping: google.com: Name or service not known
  215. [root@vm1 ~]# ping 192.168.1.1 -c 5
  216. PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
  217. From 192.168.1.12 icmp_seq=1 Destination Host Unreachable
  218. From 192.168.1.12 icmp_seq=2 Destination Host Unreachable
  219. From 192.168.1.12 icmp_seq=3 Destination Host Unreachable
  220. From 192.168.1.12 icmp_seq=4 Destination Host Unreachable
  221. From 192.168.1.12 icmp_seq=5 Destination Host Unreachable
  222.  
  223. --- 192.168.1.1 ping statistics ---
  224. 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4002ms
  225. pipe 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement