LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-24-2012, 07:33 AM   #1
mentos
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Linux VMware Server 2.0.2 IP configuration


I have Centos 5.7 64bit with CPanel and VMware Server 2.0.2 installed on the same server. My Hosting give me 4 Dedicated IP that accessible from internet.

96.44.184.51
96.44.184.52
96.44.184.53
96.44.184.54

so i used 96.44.184.51 as main ip for cpanel sharing and i added other ip to cpanel as well.

Below is my ifconfig:
Code:
root@mechine [~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:81:43:95:42
          inet addr:96.44.184.51  Bcast:96.44.184.55  Mask:255.255.255.224
          inet6 addr: fe80::2e0:81ff:fe43:9542/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39548 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36060 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12122245 (11.5 MiB)  TX bytes:32513609 (31.0 MiB)
          Interrupt:177 Memory:fc8b0000-fc8c0000

eth0:cp1  Link encap:Ethernet  HWaddr 00:E0:81:43:95:42
          inet addr:96.44.184.52  Bcast:96.44.184.55  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:177 Memory:fc8b0000-fc8c0000

eth0:cp2  Link encap:Ethernet  HWaddr 00:E0:81:43:95:42
          inet addr:96.44.184.53  Bcast:96.44.184.127  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:177 Memory:fc8b0000-fc8c0000

eth0:cp3  Link encap:Ethernet  HWaddr 00:E0:81:43:95:42
          inet addr:96.44.184.54  Bcast:96.44.184.55  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:177 Memory:fc8b0000-fc8c0000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:29148 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29148 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20018287 (19.0 MiB)  TX bytes:20018287 (19.0 MiB)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:172.16.61.1  Bcast:172.16.61.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1916 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@mechine [~]#
I installed vmware server 2.0.2, it work fine, i able to install windows 7 inside vm mechine and start fine, the problem is i only able to use NAT to the guest os. For Bridged and Hostonly, they dont have internet access on it. Here is the IP given screenshot for NAT inside guest OS:

http://i.stack.imgur.com/ldgr5.png

-Current public ip for guestOS is 96.44.184.51, it used my cpanel main ip

-My question is: how do i use the ip 96.44.184.54 (dedicated ip given by hosting) to the guest OS?
 
Old 05-03-2012, 01:02 AM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Quote:
Originally Posted by mentos View Post

-My question is: how do i use the ip 96.44.184.54 (dedicated ip given by hosting) to the guest OS?
Production NICs on the Linux host should be bridge interfaces. When the bridged interfaces are up, (ex. br0, br1) they should appear in vmware's GUI. Inside the Windows guest, vmware emulates an ethernet card, so you don't see the bridge inside the guest. Put up a thorough firewall with the bridged interface if your host isn't doing it for you.

This might help. http://www.sgenomics.org/~jtang/blog...entific_Linux/

I take your question to mean you got the control panel working from the public IP address. FYI, you'd better limit access to it somehow. Put it on an abnormal port, firewall rules, fail2ban, something....

Last edited by mpapet; 05-03-2012 at 01:11 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration of BIND server in RHEL5.4 on VMware kinamedebo Linux - Newbie 1 01-09-2010 03:47 PM
Configuration to access internet from vmware(host=winXP, guest on vmware=linux-5) afz_linux Linux - Newbie 3 12-30-2008 12:20 AM
Vmware changes pre-installed linux configuration. yuxingpiao Linux - Newbie 1 05-21-2008 06:06 AM
LoadBalancng with Linux under VmWare - given configuration inside freaky2202 Linux - Networking 7 10-21-2007 11:51 AM
configuration of vmware 5.0 workstation for linux fails randomx Linux - Software 5 05-23-2005 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration