Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-09-2007, 06:41 AM
|
#1
|
|
Member
Registered: Aug 2004
Posts: 296
Rep:
|
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.
|
|
|
|
06-10-2007, 11:00 AM
|
#2
|
|
Member
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90
Rep:
|
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
|
|
|
|
06-10-2007, 01:35 PM
|
#3
|
|
Member
Registered: Aug 2004
Posts: 296
Original Poster
Rep:
|
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.
|
|
|
|
06-10-2007, 01:40 PM
|
#4
|
|
Member
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90
Rep:
|
Can you post your .vmx file and the result of your ifconfig command, for me to take a look
|
|
|
|
06-10-2007, 05:40 PM
|
#5
|
|
Member
Registered: Aug 2004
Posts: 296
Original Poster
Rep:
|
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.
|
|
|
|
06-11-2007, 03:14 AM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
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.
|
|
|
|
06-11-2007, 04:42 PM
|
#7
|
|
Member
Registered: Aug 2004
Posts: 296
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|