LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-09-2007, 06:41 AM   #1
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
Setting Free VMWare Server Guest IP Address


I'm still having problems getting my WIN2000 guest to network to either the net or, sometimes to the CentOS 5.0 host. I'm running an AMD64 3800 dual core system with 4 GB of RAM.

I've set it up as a NAT network. When they say that the guest and host share the host's IP (static) address, do they mean that they are each set to, say, 192.168.1.3 or do they mean that the guest has it's own static IP address and gets its traffic as a pass-through via the host?

I saw under the CentOS 5.0 Gnome network applet that you can set up static IP forwarding. Do I need to do that?

My guest OS has to be able to reach not only the other machines on my Lan but also the Internet.

I kind of feel as if I just need to find and configure that one last setting and then I'll be golden.

Thanks for any help you can provide.
 
Old 06-10-2007, 11:00 AM   #2
jdogpc
Member
 
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Hi Linux31,

the NAT configuration works like this:
VMWare assigns a private network witch normally is 192.168.x.x/255.255.255.0, where 192.168.x.1 is set for the host and rest of the range will be assigned to the guests, in the guest you should leave it working with DHPC as it will aquire all the necessary configurations automatically.
Being this the case all your guest traffic will be routed trough the host re-writing the sender (guest) ip address with the host real address to allow th info to go out to the network, when a package arrives for the guest the host re-writes, again, the destination ip address to match the guest ip.

In my experience you should work with this configuration only if you've got no other alternative, if you can have another ip address from the network you can use the bridge mode as the host will only pass the packets to and from the network to the host.

Sorry for my english, hope this helps

JdogPC
 
Old 06-10-2007, 01:35 PM   #3
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
JdogPC

Thanks for the input. I tried setting things to DHCP but no go. I even re-set the host and the router to DHCP and shut off the other computers but still no good....after re-booting to make sure the services were restarting.

I think I'm going to have to try re-running the config.pl and set things up as a bridged network and see if that works.

Thanks for the help. I think it's getting me closer to a solution.
 
Old 06-10-2007, 01:40 PM   #4
jdogpc
Member
 
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Can you post your .vmx file and the result of your ifconfig command, for me to take a look
 
Old 06-10-2007, 05:40 PM   #5
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks for the offer.

I've looked through the various directories in the file system and I can't find a .vmx file . Can you tell me where to look?

Also, I tried running the command ifconfig in the terminal window as root and got a "command not found." I looked under yum in case I had to install it but nothing is listed.

I've got connectivity since I'm able to connect here to post this.

I don't know why this is.
 
Old 06-11-2007, 03:14 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
vmx files live in your vmware configuartion directory, often ~/.vmware. as stated above, you clearly want bridged networking if possible. ifconfig lives in /sbin/ifconfig. if you can't run it like you did, you're either not root when you run it, or you su'd to root incorrectly... run "su -" then root password, then "ifconfig" will work. you can always just run "/sbin/ifconfig" as any user though.
 
Old 06-11-2007, 04:42 PM   #7
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks for the input.

Here's what I get when I su
[vulcan@LIN3800A ~]$ su
Password:
[root@LIN3800A vulcan]# ifconfig
bash: ifconfig: command not found
[root@LIN3800A vulcan]#

And I ran the search feature on the file browser and didn't find any .vmx files.

Since I have to re-run the config.pl to change VMware from NAT to bridged, I guess it won't matter.

I had to do a couple of hard re-boots when a WIN app hung during installation in the guest OS but I'm hoping it didn't do any permanet damage, otherwise I'll just have to re-install everything again.

I'll try setting up the bridged newwork now.

Thanks again for the help.
 
  


Reply

Tags
centos, ip, networking, server, static, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 5 Main os vmware 5 guest os winxp, Help setting up serial ports o lizard_king825 Linux - Hardware 1 08-06-2008 05:01 AM
Running VMware Server on Windows XP, Guest OS is Debian. Problems! PiLLeN Linux - General 1 09-04-2006 07:58 PM
Running VMware Server on Windows XP, Guest OS is Debian. Problems! PiLLeN General 1 09-04-2006 05:10 PM
setting up bridged connection with guest OS in VMware jogurt666 Linux - Software 0 10-02-2005 07:53 AM
Setting up win98(guest vmware) network? hydro Linux - Networking 3 10-20-2003 05:33 PM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration