Page 1 of 1

Need help with CentOS 4.7 in VM Workstation

Posted: 2009/05/05 19:58:36
by razer
Im trying to make a cabal private server but I dont know what IP to assign centOS to its being opareted in VM workstationand also my ipconfig comand doesnt work so dont know what its curent ip is.

If anyone can help me would be great

Re: Need help with CentOS 4.7 in VM Workstation

Posted: 2009/05/05 20:25:15
by pschaff
Not enough information to allow much help. By "VM Workstation" do you mean "VMware Workstation"?

If so, is CentOS 4.7 the guest OS? What type of network have you set up - NAT or Bridged? What is a "cabal private server" (apparently a game server?) and what network does it need to work for?

You say "my ipconfig comand doesnt work" - seems to imply a Windows host OS. Is that correct? If so, you should be able to get the IP address from the network properties, although I'd be worried about why it didn't work, and it may not be relevant. For CentOS the command is "/sbin/ifconfig".

Please be more clear about what you need.

Re: Need help with CentOS 4.7 in VM Workstation

Posted: 2009/05/06 06:32:42
by razer
Yes VMware workstation

centOS is guest os and network is bridged

cabal server is game server (server databases are on sql server centos is need to make clients login)

im working on windows xp sp3

in windows command I get this
[code]ipconfig
Windows IP-configuratie


Ethernet-adapter VMware Network Adapter VMnet8:

Verbindingsspec. DNS-achtervoegsel:
IP-adres. . . . . . . . . . . . . : 192.168.181.1
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standaardgateway. . . . . . . . . :

Ethernet-adapter VMware Network Adapter VMnet1:

Verbindingsspec. DNS-achtervoegsel:
IP-adres. . . . . . . . . . . . . : 192.168.131.1
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standaardgateway. . . . . . . . . :

Ethernet-adapter Hamachi:

Verbindingsspec. DNS-achtervoegsel:
IP-adres. . . . . . . . . . . . . : 5.218.36.101
Subnetmasker. . . . . . . . . . . : 255.0.0.0
Standaardgateway. . . . . . . . . :

Ethernet-adapter Draadloze netwerkverbinding 2:

Verbindingsspec. DNS-achtervoegsel: lan
IP-adres. . . . . . . . . . . . . : 192.168.1.71
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standaardgateway. . . . . . . . . : 192.168.1.254[/code]

Re: Need help with CentOS 4.7 in VM Workstation

Posted: 2009/05/06 11:55:14
by pschaff
If the CentOS VMware guest OS is on a bridged adapter it should be able to get an address either via DHCP or (perhaps easier) by using a fixed IP address on the subnet where you want it to appear as a game server. A fixed IP address needs to be reserved by the DHCP server - obviously (or perhaps not) on the same network to which the virtual NIC is bridged. Still not enough information as you seem to have 2 physical NICs, but being neither highly conversant in Windows-speak nor in the language of the ipconfig output, can't be sure.

Quoting myself :-) :
[quote]
pschaff wrote:
...and what network does it need to work for?
...
Please be more clear about what you need.[/quote]

Once you have a working IP address for the CentOS guest/server, it should act just like a physical host, with the possible exception of Windows firewall issues - can't help you there.