Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 5 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.