All:
I am new to virtualbox. I install virtualbox on a WIndow7x64 box(IP: 45.37.2.38, Mask: 255.255.255.0 Gateway:45.37.2.1
) which is behind office's proxy, inside virtualbox, I install Ubuntu 14.04 server. During the installation, I set proxy credential, and use other default setting except using bridge mode connection in virtualbox(IP: 45.37.2.42, Mask: 255.255.255.0
).
Right now, I run apache inside ubuntu and I can visit from windows. And in ubuntu, I can use sudo apt-get update, but can NOT ping www.google.com(which says Destination Host Unreachable.)
My route table is like:
default 45.37.2.1 0.0.0.0 UG
45.37.2.0 * 255.255.255.0 U
My questions are:
Should I set proxy in somewhere? (I already set it once during installation)
Is this route wrong to send request out? Why I can not ping www.google.com?
curl
to check if you can access anything via the proxy; see the answers here.