Hi Guys,
I am in desperate need to have internet on my Virtual machine. Host OS=Windows 7 Enterprise.
Virtualization Software: Virtualbox
Network Mode: Bridge Adapter
Code :
[root@vm1 ~]# yum install nmap
Loaded plugins: fastestmirror, langpacks
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
Loading mirror speeds from cached hostfile
* base: mirror.as24220.net
* epel: mirror.as24220.net
* extras: mirror.as24220.net
* updates: mirror.intergrid.com.au
Package 2:nmap-6.40-7.el7.x86_64 already installed and latest version
Nothing to do
[root@vm1 ~]# yum install docker
Loaded plugins: fastestmirror, langpacks
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
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"
Trying other mirror.
Loading mirror speeds from cached hostfile
* base: mirror.as24220.net
* epel: mirror.as24220.net
* extras: mirror.as24220.net
* updates: mirror.intergrid.com.au
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.6-11.el7.centos will be installed
--> Processing Dependency: docker-common = 2:1.12.6-11.el7.centos for package: 2:docker-1.12.6-11.el7.centos.x86_64
--> Processing Dependency: docker-client = 2:1.12.6-11.el7.centos for package: 2:docker-1.12.6-11.el7.centos.x86_64
--> Processing Dependency: oci-systemd-hook >= 1:0.1.4-9 for package: 2:docker-1.12.6-11.el7.centos.x86_64
--> Processing Dependency: oci-register-machine >= 1:0-1.11 for package: 2:docker-1.12.6-11.el7.centos.x86_64
--> Processing Dependency: container-selinux >= 2:2.9-4 for package: 2:docker-1.12.6-11.el7.centos.x86_64
--> Processing Dependency: skopeo-containers for package: 2:docker-1.12.6-11.el7.centos.x86_64
--> Running transaction check
---> Package container-selinux.noarch 2:2.9-4.el7 will be installed
---> Package docker-client.x86_64 2:1.12.6-11.el7.centos will be installed
---> Package docker-common.x86_64 2:1.12.6-11.el7.centos will be installed
---> Package oci-register-machine.x86_64 1:0-1.11.gitdd0daef.el7 will be installed
---> Package oci-systemd-hook.x86_64 1:0.1.4-9.git671c428.el7 will be installed
---> Package skopeo-containers.x86_64 1:0.1.18-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
docker x86_64 2:1.12.6-11.el7.centos extras 20 M
Installing for dependencies:
container-selinux noarch 2:2.9-4.el7 extras 26 k
docker-client x86_64 2:1.12.6-11.el7.centos extras 4.4 M
docker-common x86_64 2:1.12.6-11.el7.centos extras 71 k
oci-register-machine x86_64 1:0-1.11.gitdd0daef.el7 extras 1.1 M
oci-systemd-hook x86_64 1:0.1.4-9.git671c428.el7 extras 29 k
skopeo-containers x86_64 1:0.1.18-1.el7 extras 7.6 k
Transaction Summary
================================================================================================================================================================================
Install 1 Package (+6 Dependent packages)
Total download size: 26 M
Installed size: 104 M
Is this ok [y/d/N]: N
Exiting on user command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2017-03-29.17-20.O5pwGz.yumtx
[root@vm1 ~]#
My network interface file is as follows:
Code :
[root@vm1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp0s3
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=enp0s3
UUID=0837ec6f-7e66-47c0-8d96-d423af21b9f1
DEVICE=enp0s3
ONBOOT=yes
IPADDR=192.168.1.12
PREFIX=24
GATEWAY=192.168.1.1
DNS1=192.168.1.1
[root@vm1 ~]# nmap $(hostname)
Starting Nmap 6.40 ( http://nmap.org ) at 2017-03-29 17:22 AEDT
Nmap scan report for vm1.master (192.168.1.12)
Host is up (0.000012s latency).
Other addresses for vm1.master (not scanned): 192.168.122.1
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
Nmap done: 1 IP address (1 host up) scanned in 33.17 seconds
[root@vm1 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 0 0 0 enp0s3
link-local 0.0.0.0 255.255.0.0 U 1002 0 0 enp0s3
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s3
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
[root@vm1 ~]# ping google.com
ping: google.com: Name or service not known
[root@vm1 ~]# ping 192.168.1.1 -c 5
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.12 icmp_seq=1 Destination Host Unreachable
From 192.168.1.12 icmp_seq=2 Destination Host Unreachable
From 192.168.1.12 icmp_seq=3 Destination Host Unreachable
From 192.168.1.12 icmp_seq=4 Destination Host Unreachable
From 192.168.1.12 icmp_seq=5 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4002ms
pipe 4
Also because of this I suppose I cannot access internet in firefox.
I don't know what is the problem as default route is there.
When I did not add line
DNS1=192.168.1.1, I could ping 192.168.1.1 but after addition of that of that line I cannot.
Either way I get heaps of errors and cannot access internet and this is the problem statement.
Any ideas to resolve ?