Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux on VMware on iMac - IP/DNS config?
#1

I have Red Hat Linux running on VMware on my iMac. My network is on the 10.0.1.xxx range but when I check the ifconfig on my Linux install the range is 192.168.2.xxx

 

Is that because it's running on a virtual machine?

 

I want it to be on the same network as my iMac....on the 10.0.1.xxx network.

 

How can I make it that way? I want to run the Linux on same network as everything else.

 

Help really appreciated.

 

Thanks!

Reply
#2

The default network setting in your virtual machine will be NAT, which gives the VM its own IP address in its own personal subnet (the 192.168.1.* range you are referring to).

 

To make the virtual machine share your Mac's connection directly, you need to switch the network mode to Bridged. This will make your VM appear as its own computer on your local network, and it should get a 10.* IP.

 

This setting should be under Network on the Virtual Machine menu of VMware Fusion.

 

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_06_2008/post-1019-1212874345.png" data-fileid="1099">[img]<fileStore.core_Attachment>/monthly_06_2008/post-1019-1212874345.png[/img]</a>

 

After changing the option, you might have to force the Linux VM to get a new IP address to reflect the new change. You can either restart it, or from a terminal and as root inside the VM, run:

 



Code:
ifdown eth0 && ifup eth0




 

to restart the network connection.

 

I run Linux VMs frequently under Parallels all the time, and I often choose Bridged Networking over the default option to make the VMs appear as computers in their own right to the local network.

 

More information is available on this page (and is where I sourced that image).



Attached Files
.png   network_options.png (Size: 123.45 KB / Downloads: 34)
Reply
#3

Thanks very much for your help/advice. I'll give it a try. I really appreciate it. I love this forum already.....nice place where a noob like me can get started with Linux. Anyway, my goal is to turn my Linux VM to a webserver and run Scalix off of it.

 

Thanks again!

Reply
#4

Quote:Thanks very much for your help/advice. I'll give it a try. I really appreciate it. I love this forum already.....nice place where a noob like me can get started with Linux. Anyway, my goal is to turn my Linux VM to a webserver and run Scalix off of it. 

Thanks again!
 

No problem, that's what we're here for! :)

Reply
#5

running linux vm and win2k3 vm in a vmware team...

 

how do i join the team to my real lan settings?

 

[router (linksys wrt54gc) + pc(vista) + wifi lappy(winxp) + virtual team(win2k3 and redhat9)]

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)