LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do i connect linux guest OS to a windows guest OS in vmware? (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-connect-linux-guest-os-to-a-windows-guest-os-in-vmware-942810/)

nooralain 05-01-2012 07:01 PM

How do i connect linux guest OS to a windows guest OS in vmware?
 
I've set up an ldap server in the linux machine (opensuse)
would like to connect it to the windows xp as a virtual
lan
liux machine config

ip -1.1.1.2

Subnet mask-250.250.250.0

gateway 1.1.1.3

windows machine config


ip 1.1.1.1

subnet mask 255.255.255.0

gateway 1.1.1.5


am able to ping with windows machine and not with the linux machine



And can i know what the gateway address should be

i guess it should be with a zero

like 1.1.1.1

and i also that 1.1.1.0 means a broadcast address
may be thats why linux does not ping ??

jefro 05-01-2012 08:35 PM

Since you can ping windows you already know that a two part and two direction communication worked. Why are you even trying to ping the other way?

nooralain 05-02-2012 03:59 AM

hmm point to be noted logically but i believe it should work the other way too...anyways thanks :)
am unable to resolve hostname to an ip address

i want the linux machine hostname to be resolved with ip of that


as mentione ip of linux is 1.1.1.3

i tried snlookup 1.1.1.3 does not work anyway out:)

Steviepower 05-02-2012 04:09 AM

it's hostname should be known by the dns server or on the local system somewhere /etc/hosts for example. I always just use IP addresses.

nooralain 05-02-2012 05:24 AM

it can ping to that ip address so i guess no question of firewall

i have added the line 1.1.1.3 ldapserver which is the hostname of linuxmachine

in the host file of windows


1.1.1.3 ldapserver

does not work

i would like to know coz I have a Business itelligence software which likes to only have a hostname coz ip is not working i believe in this case i tried with the ip address

any way out ??:)


you can watch this viideo you get it better


http://www.youtube.com/watch?v=KkziT...ature=youtu.be


RegardsRegards

Steviepower 05-02-2012 06:59 AM

if you can ping the linux machine from windows by IP and not by hostname then it's not put in the host file the right way. the traffic going out of your windows machine should be the same as it would be if you ping the IP, name conversation to IP takes place on the system itself.

nooralain 05-02-2012 10:17 AM

1 Attachment(s)
You can check the image and i believe you mite get that stuff!!

cbtshare 05-02-2012 10:48 PM

where is the win PC looking for dns records?

nooralain 05-03-2012 10:51 AM

i believe thats what you do inorder to add a hostname to an ip

if am wrong please post the rite thing to be done:)


All times are GMT -5. The time now is 02:53 AM.