I have an Ubuntu 10.10 host running in VirtualBox 4.0.8 r71778, and I need to setup a LDAP authentication network between two VM's: a Maverick-based distro and Ubuntu Server 11.04.
Screenshot of the two running perfectly fine:
Using NAT, I can have the two VM's up and running on VBox, but they get the same IP (10.0.2.15).So I googled it and quickly found out that I needed to change the VM's network interfaces to Bridged Networking. So I tried that. Here's two screenshots of the default configurations:
1- Ubuntu Maverick based distro:
2- And here is one of the Ubuntu Server:
(I'm Portuguese, that's why there are mixed languages in the UI)It's pretty stupid to explain like this, but whenever I try to start one of those two using Bridged Networking, I get a black screen full of errors (I can't take a printscreen of that, so I took a bunch of pictures - yeah, it's lame, I know ). Then, I have to press the power button to shut down my host, and restart the pc.Here they are:
Where I think the problem is:
My host is currently running Linux kernel 2.6.38-10.I have dkms, linux-header-generic and build-essentials installed (and the VB extension package too)And my host is a laptop, connecting to the internet using the router my ISP provided me.How can I solve this? Is this some kind of bug regarding 2.6.38-10 kernel?I don't have other pc's to test my LDAP authentication, so I needed the two VM's to have different IP's.
Just something that struck me while working on our virtual servers today.
I have bonded 3 NICs at the host in Ubuntu Server 8.04 LTS. They are using mode 0 for Round-robin. Point is to increase the speed/performance of all the servers, but mainly the fileserver. The fileserver is a virtual server running Ubuntu Server 8.04 LTS on VMware Server 2.0.
1) I noticed the NIC in the slave OS reported link speed as 1000 and Im unable to change it as the NIC (virtual one) doesnt support it. Does this not really matter, as the NIC doesnt exist, and it will run at higher speeds anyway? Or do I have to remove the bond on the host, bridge all 3 interfaces from the host to the slave OS, and then make a bond in the slave OS?
2) While at it, does mode 0 only increase performance on data being sent from the host or does it also increase the available incoming bandwidth?
I've set up bridged networking so that I can have KVM virtual machines that are accessible from outside the host. I can access both the Host and my VM from other machines on the local network, and from the VM I can access the internet but from the Host I can only access my local network. Since I can access the local network and the same issue applies regardless of whether I use host names or IP addresses I suspect it's not picking up the gateway properly.
How do I go about allowing the VM host to access the internet while still having bridged networking so I can access my VMs?
What I've checked so far: Ping Google DNS (22.214.171.124 ) From Host: Destination Host Unreachable From VM: Suceeds
The issues are only with accessing things outside of my subnet. I can access other machines on the same subnet from the Host just fine.
I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora. I would like to mount a folder of the host machine on my VM, but never succeeded. The result of the command is :
root@armnlib-kvm:~# mount -v 192.168.1.10:/nfs /nfs mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Thu Jul 7 06:02:43 2011 mount.nfs: text-based options: 'addr=192.168.1.10'
I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:
Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.
apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.
I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.
First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)
Second virtual host file
And my hosts file
# The following lines are desirable for IPv6 capable hosts
Also I'm using a dyndns.org...would that make a difference?
I have a WindowsXP virtual machine which I need to isolate from the host machine completely (have the host act as a bridge but not be visible on the IP layer at all.) It still needs to have Internet access. Obviously it has to be able to contact the router but I would like to be able to block port 80 (or even just block all SYN packets addressed to the router.) I also want to allow port forwarding from the router to the virtual machine. I can use basic iptables but this is way beyond me.
The host OS is probably going to be Debian Lenny but this is not built yet so if someone can recommend a different distro which is as lightweight as possible but will support VMWare, iptables and tcpdump then that would be great. I was thinking of Slackware but I have not used it in ages and from what I can remember their is no real package management.
When i am trying to access the any directory other on port *80, its not being accessible from the static ip which is routed through a DMZ server. http://126.96.36.199:8085 something like this returns the error "could not connect to web browser"
I am using FC 2.6.31 kernel and am tying to bring up a SDIO network card. I am not able to change the SDIO clock speed which is by default 50MHz.I have to bring it down to somewhere around 25Mhz to make the card working smooth.How can we set the host clock speed from our driver in this kernel.
My brother has a Ubuntu server attached to a LAN with Windows PCs. I set up an openVPN tun service on the server, let's call this VPN1, so that I can connect remotely from my Ubuntu desktop. The server has one NIC and the LAN has a router that is the gateway to the internet.
My brother would like to remotely access his windows network when roaming with his Windows laptop.
Therefore, I would like to set up a second VPN service, this time tap, that is bridged with his LAN. Let's call this VPN2.
The LAN subnet is 192.168.1.0/24. The internet gateway is 192.168.1.1
The NIC has a fixed IP set by the router of 192.168.1.150
How do I set up VPN2 so as not to trash VPN1? That is, if I bridge eth0 with tap0 how will that impact VPN1's tun0 that is using eth0? Do I need a separate NIC for the VPN2 bridge?
I currently have one of our clients set up to use a routed VPN for their 5 laptops to connect to the server remotley. And this works brilliantly. They are about to bring on a remote office that will need a VPN connection back to the main office, so I was going to set up a bridged connection between the two sites (and possibly more sites in the future).
So my question is whats the best way to go about this? Can I have one instance of OpenVPN running with tun0 set up for a routed connection to the laptops and add a second tun (tun1) to the config that will be for the bridged connection between the sites? Or am I going to have to run multiple instances of OpenVNP, one for the routed and another for the bridged?
If routed and bridged have to run in seperate instances, will I have to add another instance for each new remote site that needs a connection? Can a bridged config connect to multiple sites, or have multiple tuns in the one config?
I have two eth interfaces bridged in CentOS, one of these interface is connected to a Windows Server, I can do a ifconfig down on both these interfaces and there is no change of status at the windows side, I don't get the message that 'network cable has been unplugged'
Is this behavior normal ? I think when you shut an interface than you get the interface down message at other end ? And what becomes the status of the bridge if I shutdown one of its interface ?
Newbie Question: How do I setup networking on openSuSE 11.4 on an HP Proliant DL385 G7 with 4 NICs to host Windows 2008 R2 on Xen? I've installed openSuSE 11.4 with all the patches (and most of the server patterns - Mail and News, LAMP, LDAP, Samba, etc.), and I've installed Windows 2008 R2 in a Xen virtual machine. I'm having problems configuring the 4 NICs eth0, eth1, eth2, eth3 are "bound" without an ip_address as br0
eth0 connects to my ISP - currently through a private LAN - It connects directly to the router with static IP 192.168.0.105 Eventually, one of the other NICs will serve ip_addresses via DHCP to a separate LAN (for use in an office setting), and eth0 will be set with a static IP from the ISP That means, eth0 will be static to the ISP, and the other NICs will attach to a switch serving private ip_addresses in the 192.168.0.xxx range.
Currently, I have br0 unconfigured and eth0 static. I have configured eth0 in the External Zone and br0 in the Internal Zone in the firewall, and all the correct ports are opened (afaik) I have enabled masquerading. Hostname, Domain (workgroup), DNS Server addresses and IPv4 Gateway are configured.
Windows 2008 R2 (Guest VM in Xen) "sees" the other machines on the network, and "browses" the internet, although it will not download patches except intermittently. I have not tried connecting to it from the LAN Eventually, I wish to run Windows Terminal Server. openSuSE cannot "browse" the internet, though it initially did. What am I missing? I "think" I need routing or NAT, or I may have my bridge setup incorrectly, although I've tried almost every combination. Google says Xen should be setup with either NAT or a Bridged Network.
Im using fedora 13 x64 install from DVD. Has anyone else found problems using vmware 7.0.1 or 7.1. My bridged networking will not pickup a dhcp address, and even if I configure static my network will still not work, yet NAT works fine. Even configuring bridged to use a dedicated device doesnt work. Workstation worked fine on Fedora 12 but this seems to be a reoccuring problem in every other release.
Bridged successfully but cannot access the Internet.I installed VMware in my Fc13,and installed XP sp3 in the VMware.I can access the Internet in XP,I set the network as Bridged with Fc13,but Fc cannot open a page,but I ping google.com,it can display: Code: Pinging google.com [188.8.131.52] with 32 bytes of data: then nothing.I still cannot access the Internet in my Fc13.
I have been trying to set up bridged networking, but I keep failing. I am using Fedora 14 x86_64 KDE as host with qemu-kvm and SPICE. The plan is to install a windows server, a few windows clients and then rawhide as guests on that. Naturally I want to use bridged networking for the windows guests.[URL]..But those both leave the guest without internet access. Is it really this difficult, or am I doing it wrong(tm)?
Few days back I have installed VirtualBox in my ubuntu 9.04. Then in VB I have installed one distro of linux based on ubuntu 8.04 ( BAISHAKHI LINUX). Since then my system ( i.e., host ubuntu 9.04,) started hanging and behaving quiet irregularly. The GUI package manager of my host ubuntu 9.04 does not responding each time I start it from system>administration; rather its gets hanged and I have to use "force quit". I have installed Virtual Box 3.1.
I'm having trouble getting Fedora 15 to work with my em/bond/br configuration as it did in Fedora 14. I've got a bonding interface over em1 and em2, and then individual bond vlans (bond0.2, bond0.10, etc...), I then have a similarly named bridge interface (br0.2, br0.10, etc...) for kvm. Regardless of if I assign bond0.2 or br0.2 the IP address, I am unable to ping the gateway, but the native untagged VLAN (bond0, br0) has no issue at all.
To try to isolate this issue down to the switch or Fedora 15, I went with a plain em setup and configured em1, and em1.2 which works as expected. This issue has been plaguing me since Fedora 15 came out and I'm about to trash it and go back to Fedora 14 (Which didn't have this issue), but some of the new kvm features have kept me trying to get over this incomprehensible hump.
I'm configuring a CentOS 5.5 2.6.18-194.17.1.el5.centos.plus server in order to have multiple VirtualMachines in it. The throughput of the machine is at least 300KBps (yes KB), I configured two web servers one on the virtual machine and the other in the physical machine, the difference was: 300bps-3 KBps on the virtual machine, 230KBps on the physical machine.
The configuration is as follows:
If I attach the public ip address to the virtual machine this gets smoothly.
I upgraded karmic to lynx today and I'm stuck with some weird behaviour with one of my virtual hosts. The virtual hosts under /var/www/site work but my virtual host for DAVICAL which points to /usr/share/davical/htdocs/ doesn't.
Navigation to any html pages works but php files just show up blank!
Has there been a configuration change in lynx for virtual hosts outside of /var/www?