Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running RHEL 6 on my Win-XP using VMware.

On VMware it has the local IP. I want it to be same as that of XP.

i.e. 123.237.115.199 on both. (This is dynamic IP but I want that the dynamic IP on both should be same, whatever it is)

How can I do it?

Here are all the info.

enter image description here

enter image description here

enter image description here

enter image description here

share|improve this question

migrated from stackoverflow.com Jun 27 '11 at 9:52

This question came from our site for professional and enthusiast programmers.

1  
Two different devices on the same network cannot have the same IP address. How would you expect the packets to get to the right device? – Cody Gray Jun 25 '11 at 14:15
    
They're most likely not on the same network. I'll bet that "the IP address" of the Windows machine is in fact the IP address of its Ethernet adapter, or Wifi - certainly a physical network. The RHEL adapter is virtual, and therefore not on the physical network. It does leave you with a big question, how would you reach that RHEL address? While it's somewhat possible to reuse addresses on different networks, that does mean that routing between them becomes practically impossible. – MSalters Jun 25 '11 at 14:57
    
I believe you'd have to use a NAT operating mode for your virtual nic. Explore the network types in your VMs config in VMware. – Doc Jun 27 '11 at 23:27
up vote 6 down vote accepted

They can't use the same ip address unless NAT is turned on. If NAT is enabled, the host's IP is like a router to the VM. If bridged mode is enabled, the VM gets a new address from your current router, as if it's a physical computer

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .