I have a CENTOS 64bit running, with 1 guest OS (WinXP) in a VMWare Server. I have tried the following: I have 6 public IP's attached to my 1 Ethernet card in the CENTOS host.
Try 1:
The Guest OS is set to use "Bridged" Networking. This allows full use of the internet, in both directions. Not exactly optimal, but it does work. I can reach the Guest via RD, which is a requirement for this client. The guest OS is mainly assigned one of the 6 public IP's (x.x.x.118). The problem with this setup is the Guest OS can not reach the host. For example the host has a mail server on it, and when the Guest tries to reach the host, it times out.
Try 2:
The Guest OS is set up to use "NAT" and gets 192.168.100.128 as its IP via DHCP inside of VMWare. The nat config file for VMWare is set to open port 3389 (RD port). Guest OS can reach the host with out any problem, and can reach the internet with out any problem, however I can not RD in to the Guest OS.
I prefer setup number 2 for all the obvious reasons, but I just can not get my IPTables rules to work. This is what I thought should work, but does not:
iptables -t nat -I PREROUTING -d x.x.x.118 -j DNAT --to-destination=192.168.100.128
iptables -t nat -I POSTROUTING -s 192.168.100.128 -j SNAT --to-source=x.x.x.118
I realize that would have done all traffic, and defeated the benefits of NAT,but since forwarding only 3389 was not working I tried forwarding everything.
Recently, I installed VMWare Server 1.0.4 on my dedicated server.
When I tried to install my private IP on my VMWare, I had no clue how to do that. I used NAT networking to share my main OS with my private VPS, but when I try to run a service that needs the port XXXX to be open, it wouldent let me use it.
For an example, my main OS IP is 82.00.000.000. My VPS is sharing the same IP address with the main OS. I tried to run an Apache service on my VPS, but when I try to access it by the IP 82.00.000.000 it gives me a connection reset page.
This also happens on other services like FTP and stuff.
My VPS is running Windows XP Professional SP2 with a legal retail license and my main OS on the server is CentOS 4.5
I really need some help with a new server I just got over at SL, I have windows 2003 and vmware server installed and I want to have 2-3 vmwares running websites each on port 80 and each having a separate external ip.
I have contacted SL and they have set me up with the vlan and extra ips I need I have enabled IP forwarding on the 2003 host but I don't know exactly how to configure the vmware server networking and each vmware to use my new ips and to make sure each external ip is pointing to each vmware.
I have two servers with SL- both running Windows with two NICs for Private and Public Interfaces.
What I want to do is keep the first server Internal only, so basically, just disable the Public Network interface in Windows. On this Server, I want to create a VM that can network with the server as well as the second server and any VMs on that second server.
The second server will have both the Public and Private Interfaces enabled. On this server, I will have two VMs and both of these VMs should be able to access both the host PCs, each other, as well as the VM on the first server. Additionally,t These two VMs should also be able to access the Internet.
What would be the best way of going about this configuration.
Right now, I've just started and on the first server, created a VM using a bridged connection to the Private Network. I've give the VM an IP address in the same range as the host PC that is part of the block that SL has reserved for me. However, I cannot ping the host PC from the VM and vice versa. Firewall is disabled on the VM at the moment so I know that is not the issue.
I installed VMWare Server 1.0.4 on my dedicated server, and set-up a new Windows XP Professional VM.
I have 3 more IP's that are not used.
When installing the VM, I used NAT networking to share my main OS network with my private VPS, but basically no one can access the VM from the outside world. I can surf the net while being on NAT status in the VM, but if I try to run any service like Apache, no one can enter to the service besides the localhost.
My VPS is running Windows XP Professional SP2 with a legal retail license and my main OS on the server is CentOS 4.5 (detailed hardware is mentioned below)
Do you have any idea how can I configure my network so anyone can enter the VPS?
And please, if you can explain me step by step because I'm a real newbie hehe
Kind Regards, - Nadav Peretz
Also, I saw some topics with solutions but I didn't got a chance to understand something ;
ow and sorry for my English, I know its not perfect : P
(I read the sticky, I dont think this stuff are necessary but I posted them anyway: Kernel Version: 2.6.9-22.ELsmp Dual Xeon 3.20GHz with 2GB RAM, 120GB HD 10,000 RPM (Sorry for the un-detailed hardware) [root@server ~]# vmstat 5 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 160 17132 6572 1930168 0 0 121 295 31 146 1 8 90 2 0 0 160 17132 6580 1930160 0 0 0 7 1020 589 0 1 99 0 0 0 160 17132 6580 1930160 0 0 0 0 1016 597 0 1 99 0 0 0 160 17132 6580 1930160 0 0 0 0 1020 601 0 1 99 0 0 0 160 17132 6580 1930160 0 0 0 0 1016 598 0 1 99 0
how to install Ubuntu (either 7.10 or 8.04) as a XEN domU guest on a CentOS 5 / Fedora Core 8 XEN dom0 server?
I have tried installing Ubuntu as a fully virtualized guest, but the Ubuntu CD doesn't even bootup. I get the Linux bootloader, and that's it,it doesn't continue to boot. Odd.
When trying to install a Paravirtualized guest, I had to use the debootstrap method, but can't get it to boot up.
Quote:
xm create anya_zanet Using config file "/etc/xen/anya_zanet". Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found ')
I'm trying to boot up a centos install on vmware it keeps stalling when trying to run sendmail in the bootup. All I have access to is the grub command line. Is it possible to remove sendmail from startup using grub?
I have a server and I need to use several domains with it. it has apache, php, mysql all installed on it, also, I set up ns1.mydomain.com and ns2.mydomain.com to it's IP address. I downloaded SimpleDNS and I'm having trouble setting it up though. Can somebody give me a clue on what to do now?
i want to buy a vps to run my personal usage, and i can put some data on it and connect it anywhere, i hope to install winxp or vista on vps, and use windows's Remote Desktop to connect it, is it possible?
my school-issued laptop needs to be "unjoined" from their Active Directory domain.
They provide a tool to do this, but it also does some other nasty stuff. I'd like to remove myself from the domain by hand. I am an administrator on the local machine.
I just setup my new Windows 2008 Server. My backed up files are on a Win XP machine. Now, I've tried everything I can think of to connect the two so I can transfer them over. But I can't. Neither machine can see the other, but they are on the same subnet and workgroup. No changes I make to sharing on either machine seems to work.
I have been using Linux for the past 3 or so years, either running it for workstations or servers, and now I want to set up a server for Virtualization. I have been doing a fair bit of research about the different ways of doing this, and I have decided to go with KVM. I usually use CentOS, but will have to use Debian to use KVM. I just have a few questions about the best way of setting it up.
We have a pretty powerful server* which we are planning on collocating to a data centre and running web servers from the VMs. Virtualization seems like the best way to allow for simpler administration, and also allow us get the most out of our server's resources. *Intel Xeon X3230 Quad Core, 8GB Ram, 4x 15k 147gb SAS (RAID 6)
What is the best way to set this up then? I was thinking we could install Debian as the Host/Hypervisor over the whole drive, and give it a 16GB swap partition. Then I guess when the VMs are installed they live on the Debian drive as a file, or do they need their own partitions?
Are the guest OS's capable of using the Host's swap space? Its bad enough losing 16GB as a swap partition to the host OS, but please don't tell me I need to supply the VMs with their own swap partition aswell - im curious as to if the server will ever need to use swap space as it has alot of ram, let alone require extra swap for each VM too?
KVM is still very new, but does anyone know any good books/resources out there? The virtualization books I have seen don't seem to cover KVM, just Xen and others.
I have this vps,which is pending cancellation in a few days. Hardware Node = EL 5 x86_64, Vz = Xen
I asked my provider for 32 bit centos, I even rebuilt it, but my "uname --all" still
Quote:
Linux xxx.xxx.com 2.6.18-128.1.10.el5xen #1 SMP Thu May 7 11:07:18 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
so I opened a ticket asking about the vps arch. The provider have told me that to run a vps 32 bit guest, what you have to do is (?)
+++++++++++++++++++++++++ yum clean all echo i686-redhat-linux > /etc/rpm/platform +++++++++++++++++++++++++
so yum will exclude any x86_64 packages. The provider has told me also that my "uname" display x86_64 because the hardware node is 64 bit. Is this true ?
I'm no linux or vps guru, but that's doesnt feel right at all. This has cause me some issues especially with kernel-headers and some program failed to compile.
So, is it possible to run a 32 bit OS as xen guest inside 64 bit node?
I was surprised when hypervm brought in a 64bit guest os. Maybe it's me..but...is this a good idea? Maybe it works fine.. it just does not *seem* like it would.
After a yum update on a centos 5.2 box (including an update to the latest version of xen) my guests don't have a network connection anymore (nor windows, nor linux VMs). The windows VM does see an unknown PCI device (great, no drivers and no internet), of which I guess is the network card seeing there are no other network cards listed in the VM.
I've just downloaded Microsoft Virtual PC and the Internet Explorer 6 Application Compatibility VPC Image containing an XP installation for testing sites with IE6 [url].
Everything works fine, I chose VPC Shared Networking (NAT) and I can access the internet from the VPC as well as my Apache development server which runs on the host OS (Win XP) by going to the host's IP address which is [url] in my case. And here I have 2 problems:
1. I want to access [url]on VPC just by typing [url]. I added the following line to the hosts file:
192.168.52.141 localhost
But this doesn't work. Interestingly, any name other than localhost works fine, for example:
192.168.52.141 localhost.localhost or 192.168.52.141 local
This is not a major problem but I'd prefer localhost. Any ideas how to do that?
2. And the more important issue: on my host OS I have some development sites which I have set up to be accessed by subdomains, for example [url], in httpd.conf:
Code: <VirtualHost 127.0.0.3> ServerName perfekt.localhost DocumentRoot C:wwwperfekt DirectoryIndex index.php index.html </VirtualHost> and in hosts file:
Code: 127.0.0.3 perfekt perfekt.localhost And now I want to access this site from my VPC too by using subdomains like this! How can I do that? The address 127.0.0.3 seems to be local to the OS and VPC can't see it. I have tried setting other IP addesses in httpd.conf but nothing outside the 127.x.x.x range works on either OS. I suppose I need to make each of my sites to be seen under a different IP from the outside network so that VPC (which is "outside" the host OS) can access them - then I just set up the appropriate subdomain names in VPC hosts file -
How do I run a virtual instance of Windows server 2008 on my Linux dedi? Do I need to partition the server and create a VPS for this or can I run it on something like VMware? (Please look at my other thread here [url]t=857377 to learn more about my server, its resources and current config.)
Why would I want to do this? Because my primary desktop OS is still Vista Ultimate 64 and I've invested a lot in Windows-based software and hardware--too much to make a total switch to Linux. But, I don't want to invest more than I have to in order to run a Windows server that allows my business partner to access documents remotely or for us to share various files securely and privately and still serve my mostly Windows-based clients and colleagues. I'm one of, well, two people I know who even use Linux (at least at the OS level and know it).
Since my research shows I **can** do this on Centos 5, the responses that would be most useful to me would be those that focus on how I can do this successfully (even if it seems complicate; I can figure it out with help and/or direction) and what to consider or avoid when creating this virtual guest OS on my Linux dedi.
I have a linux server that has a few gigabytes of data to retrieve off this system. I'm trying to network with so I can have outbound access to sftp into another server to relocate the files. I'm unable to ping google.com or access this other server. I tried setting it up using dhcp and static information, I've rebooted network protocals, I'm still unable to access any thing. Does anyone have any suggestions on what I could try next?
The machine is running fedora, no GUI only command prompt.
I am currently looking for a managed hosting solution for a small start-up.
The site will have a repository of articles in it, these will initially solely consist of documents (av. 2mb in size) and (based on performance) may be expanded to containing video/audio, however this is not likely to happen within (at least) the next six months.
The site will be running on a Linux server (we will not be considering any Microsoft products), using PHP 5 and MySQL 5. There will be a registration form and users will (based on performance) eventually be able to upload articles to the site.
We have contacted various hosting providers (am in talks with Rackspace, Rochen and Network Redux) and have had everything from SAN to a 500GB (RAID 1) recommended to us.
As the site is still currently in Beta with nothing in it and proposed launch date is March 09, I would be grateful if anyone who was in a similar position could inform me how their infrastructure evolved as the site demanded more resource.
I would like to take this opportunity to thank you for taking the time to read my query.
I'm experiencing some odd issues, I have a cpanel setup, however on port 2086 the server is currently listening however on port 80 it fails to listen. Apache is running and no errors appear in the errors log.
Running ifconfig shows that there are errors and dropped packets. I was changing ip routes earlier that day however all seems fine...
Oddly I can ping internally on the network and noticed a number of other servers in the broadcast range. These respond fine, however pinging google or outside the data center fails.
I have a question: I was asked this on an interview, now I am good at home networking but nothing enterprise and this was not for a networking position but for data entry and possibly some ASP NET coding.
I was asked if you had two nics on one server each connected to a seperate switch with different IPs and subnets what possible problems could arise?
Note I am curious about this I do not plan on leanring more about networking then curiosity which this is.
I am getting confuse about all those companies and reviews. All reviews tell you different story. Please tell me which review site is reliable and they don't put good review of company just because of affilate.
I need VPS for starting and once we get enough users we will take dedicated. So which VPS hosting company should I choose to start with minimum?
I have 3 computers networked, 2 of them connects to each other for filesharing just fine, but the 3rd one is having problems.
on the 3rd computer, it can access the other 2 for file sharing, but is 'NOT' accessible from the other 2. when try to access the 3rd computer through 'network places', i get the error: "//COMPUTER is not accessible. You might not have permission...."
however, if I actually type in "COMPUTERsharedfolder" - to access the 3rd computer, I can, so basically, I CANT access "COMPUTER" but CAN access "COMPUTERsharedfolder" ..
I have a server with CentOS 5.4 with 5 IPs. Now i want to spare 1 IP for the host, and create 4 virtual machines, each with 1 dedicated IP and has direct access to internet (virtual machines created with KVM come with NAT as default)
Anyone can point me to a tutorial or tell me how to setup networking for this ? Working over GUI is not possible since i only have ssh access and don't want to install X just to install things. Is it possible to use Xen networking scripts for KVM guests ? I have tested Xen on my server and its default networking setting worked ie with guests have direct connection to internet.
I am building a social network site, and I'm very skeptical about the offer the social networking company had for hosting (mainly storage and bandwidth costs). They are hosted through AT&T, and did the whole "tier 1" ******** speech, and wanted to charge $179/mbps/month, $1.17/GB for CDN storage, and $1/GB for normal storage.
I know these prices are high, and to make it worse, they offered no scalability whatsoever on this. This is a big problem, as I expect the site to be popular. I did some research, and know the prices for storage have deep discounts when buying in bulk, but not sure about scalability of bandwidth costs.
I did find several price structures for bandwidth. One of these was for HostPortal, and showed deep discounts as the bandwidth needs increased (colocated prices as low as $50 per mbps once you get above 100mbps total)
Can anyone please shed some insight on the pricing, and let me know if the scalability listed by HostPortal is common and applicable to my situation. Also, if my situation is different, can anyone give me fair market rates with regards to scalability
Also, most social networking companies restrict me from hosting it myself (they state to protect their code).
I have windows and linux both are connected through dlink switch, but these are not communicating. How can I setup the network to communicate each other? I have linux box with samba. I am not sure how exactly I need to setup the network.
I'm working on a social networking prototype that will hopefully soon become a beta with moderate user load. I have zero experience in the field of web hosts other than rolling out a web application in an internal server at my last job.
The application is being developed in C#/ASP.NET 3.5 with MS SQL Server.
1. Given the fact that I'm trying to save on costs now and worry about scale later, how much would you think that I should spend on hosting? I figured that I'd have my SQL Server instance and the web app on the same box and it wouldn't really matter too much. Would a dedicated server be a minimum requirement? Or perhaps 2, with one hosting the database and the other hosting the application?
2. Does anyone recommend or disapprove of cloud computing?
3. Are there any other factors I must take into consideration? I'm quite ignorant on these matters, and am more focused and knowledgeable on actual development.