CentOS Network problem in VMware

Dodi300

Distinguished
Jan 5, 2009
25
0
18,530
Hello. I am using VMware (virtual machine) to run a server using CentOS.
I've installed Cpanel and everything else onto it, but I cannot port-forward the IP.
The IP of CentOS is 192.168.164.129 and I need it to be 192.168.1.xxx
My router will not let me port-forward the IP 192.168.164.129 because it says it's not a LAN address.

Any ideas? :)
Thanks.
 

linux_0

Splendid
Hey :)

What are your specs?

Have you tried bridged networking? You're probably using NAT. With bridged networking you should get an IP in the 192.168.1.xxx range from your dhcp server.

Good luck :)
 

Dodi300

Distinguished
Jan 5, 2009
25
0
18,530
Thanks. I did have it using NAT and I've change it to bridged.
Although now CentOS cannot get the internet even-though my IP is now 192.168.1.5.
Anyone know how to fix this?

Thanks!
 

Dodi300

Distinguished
Jan 5, 2009
25
0
18,530
Okay, I've fixed this problem now.
Turns out VMware Workstation doesn't work in the way I want, so I've used VMware server.

Thanks linux_0 for the help! :)