Discussion:
connecting 2 VM's on single machine
(too old to reply)
Alex
2003-07-20 22:55:44 UTC
Permalink
Hello .

I've never used vmware , though heard a lot about it.
( I myself a network administrator and a programmer )

What I'm interested in , is setting up two virtual machines ,
and "connecting them" - as if there is a network card on both of them , and
they are connected with a cross cable .

Is this possible ?
Do I have to actually put 2 network cards and connect them ,
or there is some "virtual" connection that can act as a network card
or something like this?



Thanks .
JDH§
2003-07-20 22:22:08 UTC
Permalink
VMware provides a virtual NIC in any and every guest machine it creates (AMD
NIC). How you connect machines depends upon how you set up the host. There
are three methods of networking (Bridged, NAT and Host-Only). Only use
Bridged networking if your host has a real NIC (and preferably a good one)
and has an always-on connection to the nearest external DHCP server.
Otherwise use NAT. For NAT, VMware provides an internal DHCP server that
your guests can use whether your host is connected external or not.

NAT mode is like true networking - not a cross-connected cable. Bridged mode
is true networking - your guests get their connectivity and IP address
externally to the host. Either way works, and you need only (1) pay
attention to any firewalls (especially default ones like RedHat Linux or
Windows XP) and (2) connect like you would any machine (Tools -> Map Network
Drive: \\pcname\share ).

Good luck. .... John Hurst
___________________
Post by Alex
Hello .
I've never used vmware , though heard a lot about it.
( I myself a network administrator and a programmer )
What I'm interested in , is setting up two virtual machines ,
and "connecting them" - as if there is a network card on both of them , and
they are connected with a cross cable .
Is this possible ?
Do I have to actually put 2 network cards and connect them ,
or there is some "virtual" connection that can act as a network card
or something like this?
Thanks .
Alex
2003-07-21 00:07:14 UTC
Permalink
Hmm.. I got a little confused ..
I meant to put two virtual machines on one computer .
( for example : win2k server and workstation) and connect between them - on
the same computer ..
Post by JDH§
VMware provides a virtual NIC in any and every guest machine it creates (AMD
NIC). How you connect machines depends upon how you set up the host. There
are three methods of networking (Bridged, NAT and Host-Only). Only use
Bridged networking if your host has a real NIC (and preferably a good one)
and has an always-on connection to the nearest external DHCP server.
Otherwise use NAT. For NAT, VMware provides an internal DHCP server that
your guests can use whether your host is connected external or not.
NAT mode is like true networking - not a cross-connected cable. Bridged mode
is true networking - your guests get their connectivity and IP address
externally to the host. Either way works, and you need only (1) pay
attention to any firewalls (especially default ones like RedHat Linux or
Windows XP) and (2) connect like you would any machine (Tools -> Map Network
Drive: \\pcname\share ).
Good luck. .... John Hurst
___________________
Post by Alex
Hello .
I've never used vmware , though heard a lot about it.
( I myself a network administrator and a programmer )
What I'm interested in , is setting up two virtual machines ,
and "connecting them" - as if there is a network card on both of them ,
and
Post by Alex
they are connected with a cross cable .
Is this possible ?
Do I have to actually put 2 network cards and connect them ,
or there is some "virtual" connection that can act as a network card
or something like this?
Thanks .
JDH§
2003-07-20 23:19:38 UTC
Permalink
My answer was a bit generalized - you can connect two guests together. It is
the same process as I described. I don't think you can set up your server as
a domain controller (you might be able to - try it). But from your
workstation guest, you can map the server drive with the map command. I have
Windows 2003 server running as a guest under VMware 4.0.1 and it is
accessible by the Linux guest on the same machine. I connect workstation
guests together fairly often.
... John Hurst
_____________
Post by Alex
Hmm.. I got a little confused ..
I meant to put two virtual machines on one computer .
( for example : win2k server and workstation) and connect between them - on
the same computer ..
<snip>
Ken Kato
2003-07-21 13:53:04 UTC
Permalink
Alex,
the straight answer is "yes, you can connect two virtual machines
without any physical network cards on your machine".

John,
I respect your eagerness to help others, but I must say sometimes
your answer is rather unfocused and more than a little confusing.
Alex haven't asked anything about domain controller, mapping drives,
Linux, or type of virtual networks or how to configure them.

Also in this particular case, except for that the guest cannot be a
domain controller of the host itself, there's absolutely no reason
that a guest cannot be a domain controller.

I don't want to sound harsh but IMHO unnecessary or inaccurate
information is worse than no information at all.

Please don't misunderstand me: I'm not saying that your post are
useless or anything like that. I just wanted to tell you that sometimes
it is better to keep something back than to offer everything you know.

Regards.

JDH§ wrote on Sun, 20 Jul 2003 19:19:38 -0400
Post by JDH§
My answer was a bit generalized - you can connect two guests together. It is
the same process as I described. I don't think you can set up your server as
a domain controller (you might be able to - try it). But from your
workstation guest, you can map the server drive with the map command. I have
Windows 2003 server running as a guest under VMware 4.0.1 and it is
accessible by the Linux guest on the same machine. I connect workstation
guests together fairly often.
... John Hurst
_____________
Post by Alex
Hmm.. I got a little confused ..
I meant to put two virtual machines on one computer .
( for example : win2k server and workstation) and connect between them -
on
Post by Alex
the same computer ..
<snip>
--
Ken
JDH§
2003-07-22 01:59:53 UTC
Permalink
"Ken Kato" <***@cij.co.jp> wrote in message news:bfgr76$j6p$***@london.vmware.com...

<snip> inaccurate information is worse than no information at all.

<snip>sometimes it is better to keep something back

My apologies to the group for confusing things (my normal state of
affairs:) )
Michael Geary
2003-07-21 16:49:32 UTC
Permalink
Post by Alex
Hmm.. I got a little confused ..
I meant to put two virtual machines on one computer .
( for example : win2k server and workstation) and connect between them - on
the same computer ..
Alex, the best place to start would be the VMware documentation:

http://vmware-svca.www.conxion.com/software/ws40_manual.pdf

Read the Networking section, and take a particular look at Custom Networking
Configurations.

-Mike
j***@yahoo.com
2003-07-21 15:01:33 UTC
Permalink
Post by JDH§
VMware provides a virtual NIC in any and every guest machine it creates
Can someone tell me if these virtual NICs are of the
PXE type?

Im thinking abt getting VMWare to setup a test/training
lab for MCSE.....and would want to be able to play with
remote install (RIS)..... but the NICs have to be PXE
type for that
Alex
2003-07-22 17:03:01 UTC
Permalink
Thanks for the help guys .
I think I've found the answer - that it's possible.

All that remains now is to install and see this all in action :)

Thanks
Post by Alex
Hello .
I've never used vmware , though heard a lot about it.
( I myself a network administrator and a programmer )
What I'm interested in , is setting up two virtual machines ,
and "connecting them" - as if there is a network card on both of them , and
they are connected with a cross cable .
Is this possible ?
Do I have to actually put 2 network cards and connect them ,
or there is some "virtual" connection that can act as a network card
or something like this?
Thanks .
Loading...