From: Tony Asleson <stackframe@charter.net>
To: nayyer zubair <nayyerzubair@hotmail.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: connecting to remote network from vmware machine
Date: Sat, 04 Jun 2005 13:04:22 -0500 [thread overview]
Message-ID: <42A1ED26.5090607@charter.net> (raw)
In-Reply-To: <BAY107-F367BEAB42917B3B523263C0F90@phx.gbl>
nayyer zubair wrote:
> Hi all
>
> I am in a bit of a fix. I have a VPN connection to my office's network
> and I would like to connect to an office machine from my vmware linux
> virtual machine.
>
> At home I connect through the net through my cable and I have a
> wireless router which gives me a IP address. Right now the router
> gives the VM machine an internal IP address like 192.168.0.3. And it
> gives my host Windows machine a similar IP like 192.168.0.2.
>
> Now from the host windows machine and with my VPN connection I can
> easily connect to my remote office machine just by telneting into it.
> But I cant do it from my vmware machine. Telnet just hangs.
>
> I guess the reason could be that the Linux VM doesnt see that the host
> windows machine has a VPN connection set up, right? Is there a way
> the VM can detect the VPN connection?
>
> any ideas?
I believe you have 2 options:
1. Your current VMware configuration is bridged to the physical
adapter, so for all practical purposes your VMware session appears as
just another computer on your network, that is why they both get a DHCP
address from your router. For you to use this configuration you would
need to install the VPN software on your linux partition just like you
would for any other computer you may have at home.
2. Change your VMware configuration so that you are sharing the hosts
IP address using NAT (Mine is virtual network VMnet8). This _should_
allow you to connect to your work office through the same VPN session.
Your VMware traffic will be just like any other application on the
host. VMware creates a private network on your host system, gives out a
addresses via DHCP on the private network (or can be static) just like
your wireless router, but it is done in software. Please note that
office systems will not be able to connect to your linux partition just
as people on the internet cannot connect to your system behind your
wireless router unless you enable port forwarding on the router. I
don't think VMware supports port forwarding with their NAT.
Option 2 may not work in all cases and option 1 may not be available if
your vendor does not support Linux. I was going to use option 2, but I
haven't tested it yet.
Hope this helps.
-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-06-04 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-04 3:49 connecting to remote network from vmware machine nayyer zubair
2005-06-04 18:04 ` Tony Asleson [this message]
2005-06-05 17:12 ` nayyer zubair
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42A1ED26.5090607@charter.net \
--to=stackframe@charter.net \
--cc=linux-newbie@vger.kernel.org \
--cc=nayyerzubair@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox