how to acess corporate (office) network , from a VM @ home

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
kahmed
Posts: 1
Joined: 11. Dec 2010, 07:35
Primary OS: Mac OS X Leopard
VBox Version: OSE Debian
Guest OSses: ubuntu, WindowsXp, Fedora, CentOs

how to acess corporate (office) network , from a VM @ home

Post by kahmed »

Hi,
Here is the scenario.
I have Virtual Box running on my Macbook Pro, with guest VM as ubuntu
My Mac ifconfig shows:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
ether c4:2c:03:0b:f0:fb
inet6 fe80::c62c:3ff:fe0b:f0fb%en0 prefixlen 64 scopeid 0x4
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
media: autoselect (100baseTX <full-duplex,flow-control>)
status: active
en1: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
ether 60:33:4b:04:45:e0
media: <unknown subtype> (<unknown type>)
status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
lladdr e8:06:88:ff:fe:ac:58:58
media: autoselect <full-duplex>
status: inactive
vboxnet0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 0a:00:27:00:00:00
vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:50:56:c0:00:01
inet 172.16.86.1 netmask 0xffffff00 broadcast 172.16.86.255
vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:50:56:c0:00:08
inet 192.168.89.1 netmask 0xffffff00 broadcast 192.168.89.255
tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.202.210.62 --> 10.202.210.61 netmask 0xffffffff
open (pid 537)

The ubuntu Guest VM has IP:
eth0: 10.1.0.162
vibr0: 192.168.122.1

Now, i cannot access the guest VM, from my host Mac, When i am at hoem, but when i am at work, i CAN.
also, from the guet VM, i cannot access my office network, even though i have VPN and from my host Mac, i can access the office network, and ssh to hosts there.
Any idea how i can resolve this ? I would really appreciate it.
Thanks,
-Kamal.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: how to acess corporate (office) network , from a VM @ home

Post by Sasquatch »

Get a book on networking 101. You have a network configuration error. The VM probably still has the IP of the Work LAN, or you set one statically. Either way, it's not in the range of your Host at this time. If you want to have connectivity between the Host and Guest no matter where you are, configure Host-Only as a separate adapter.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply