Oramcle
asked on
How can I network between these two VMs on VMWare workstation 8
Hypervisor: VMWare workstation 8
Two VMS: 2 CentOS server each 400 MB RAM (myserver & myclient)
How can I network between these two VMs?
I have updated the hostname to myserver & myclient and update /etc/sysconfig/network file for persistence. If I ping localhost it is showing same IP address for both machine.
My networking rating 4 out of 10
My Unix rating 5 out of 10
Two VMS: 2 CentOS server each 400 MB RAM (myserver & myclient)
How can I network between these two VMs?
I have updated the hostname to myserver & myclient and update /etc/sysconfig/network file for persistence. If I ping localhost it is showing same IP address for both machine.
No how can I assign the different IP to each VMs?
How can I make each machine to talk ?
How can I ssh from one VM to another?
How can I make each machine to talk ?
How can I ssh from one VM to another?
My networking rating 4 out of 10
My Unix rating 5 out of 10
You can change the NIC settings on the HOST from NAT to BRIDGED and it will pick up whatever your DHCP server is using for your host machine.
WS8.JPG
WS8.JPG
ASKER
Thank you all
I am trying to connect just local between the VMs.
so that i can practice NFS , NIS and all having one client & other as server .
when i try BRIDGED mode i am able to connect between the machine. I am running this machine on text only mode when i ping www.ibm.com it is not pinging so i believe that it is not seeing external site is that right?
I am trying to connect just local between the VMs.
so that i can practice NFS , NIS and all having one client & other as server .
when i try BRIDGED mode i am able to connect between the machine. I am running this machine on text only mode when i ping www.ibm.com it is not pinging so i believe that it is not seeing external site is that right?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
can you ping 158.152.1.222? yes
if using bridged mode, are you using the same IP network as the host or using DHCP?
I am doing ifconfig -a(Attached image) and taking IPaddres BIG SORRY! i am not sure where to check for DHCP IP address.
do you have a default gateway specified?
How to find this SORRY to make you take networking class!
can you resolve domain names e.g. www.ibm.com
When i ping www.ibm.com the 100% data loss is that mean so it is not resolving! is that right !
pardon me & thank you for your help.
clientifconfig.gif
if using bridged mode, are you using the same IP network as the host or using DHCP?
I am doing ifconfig -a(Attached image) and taking IPaddres BIG SORRY! i am not sure where to check for DHCP IP address.
do you have a default gateway specified?
How to find this SORRY to make you take networking class!
can you resolve domain names e.g. www.ibm.com
When i ping www.ibm.com the 100% data loss is that mean so it is not resolving! is that right !
pardon me & thank you for your help.
clientifconfig.gif
okay if you can ping 158.152.122, this is an internet address.
so.
1. internet is okay
2. default gateway is okay
3. ip address are okay
4. routing is okay
5. its possible DNS servers are not set.
You need to configure DNS servers on your Centos Servers.
usually this could be your router IP address which is the same as your default gateway, dhcp server, or DNS servers for your ISP.
But networking between VMs should be working okay.
You just have no DNS resolution for internet.
so.
1. internet is okay
2. default gateway is okay
3. ip address are okay
4. routing is okay
5. its possible DNS servers are not set.
You need to configure DNS servers on your Centos Servers.
usually this could be your router IP address which is the same as your default gateway, dhcp server, or DNS servers for your ISP.
But networking between VMs should be working okay.
You just have no DNS resolution for internet.
you may need to edit the /etc/resolv.conf
and add your DNS nameservers
see here
http://www.techiecorner.com/123/how-to-add-primary-and-secondary-dns-server-etcresolveconf-linux/
and add your DNS nameservers
see here
http://www.techiecorner.com/123/how-to-add-primary-and-secondary-dns-server-etcresolveconf-linux/
ASKER
1. internet is okay
which mean i can install new software using yum
yum install some-utils some-utils-lib Right?
Thank you very much for your help (Honestly I mean it). Oramcle
which mean i can install new software using yum
yum install some-utils some-utils-lib Right?
Thank you very much for your help (Honestly I mean it). Oramcle
well internet connectivity is okay.
but you need to ADD DNS servers you can resolve domain names yum will likely fail.
see the above to add your name servers.
but you need to ADD DNS servers you can resolve domain names yum will likely fail.
see the above to add your name servers.
ASKER
how can i find my Primary and Secondary Domain Name server?
is that some thing from my internet provider details?
is that some thing from my internet provider details?
these should be available from your ISP, you should see them in your router configuration, and if you use DHCP on your router, DHCP clients may list these IP addresses.
ASKER
Thank you
ASKER
The best
~coolsport00