Networking :: Lost In Network / Setting Up Network On Laptop With Virtual Guest Machines
Feb 16, 2010
I've been trying to understand how Linux creates the network/interfaces on a machine (been reading the Linux admin guide), but as I'm pretty new to this subject, I've got lost in the forest.
To provide with my goal:
1.) Learn about network setups on Linux
2.) Be able to maintain my own (virtual) network
3.) Configure my (virtual) network
give a reference to the definition of 'isolated network' as used in the Virtual Machine Manager? I have virtual machines that I do not want to have access to the host, I thought 'isolated network' did this but the VM's can ping the host. If (probably) I am wrong, how can I create an network that can not see anything else but what is also on the same network? The host and the isolated network are 192. and 172. The virtual bridge is not connected (or so it says) to any physical device.
I've run into a problem gathering usage for my xen virtual systems. With my old model I used to gather all network usage via my cisco devices using the the counters for each port. Each system had it's own port on the switch, and I tracked network usage accordingly. Now that I'm using xen for virtual systems, and multiple vm's share the same switch port, i'm not exactly sure what my best option is for tracking usage.
I thought I may be able to setup vlans on the switch, and bind each vm to a different vlan using vconfig... but it seems like there has to be a better solution than that.
I've been learning linux for a while now with half an eye on making a career out of it in future. One sizeable gap in my knowledge at the moment is networking. Is it feasible/desirable to set up a network of virtual machines to use as an environment to learn networking? My budget is non-existent so I was hoping to be able to get a basic understanding of the principles from installing a few desktops, a virtual gateway etc on VMware workstation on my laptop, and doing a lot of reading online.
Is this feasible, or will I just end up learning about virtual networks instead of real ones? Also how much power would be required, because my 3GB RAM lappy has just gone bang and all I have now is a (new) 1GB RAM lappy.
I'm having issues setting up file sharing between two Linux machines. I've tried the forum cookie cutter answer of "right click folder, sharing options, share, allow others to write and edit, allow guest accounts", but I simply cannot get my two Ubuntu 10.10 machines to see each others shared files. I HAVE been able to download and use the program "Personal File Sharing", and with it I CAN share the "Shared" folder between both machines. I'd prefer to learn the correct way to link these two boxes up though, and be able to share more than 1 directory. Am I missing any programs to complete this link? Do I need to use Samba? I've tinkered with it, and I can get both computers to see a workgroup name I set up, but cannot get them to view each other in it.
So I'm wanting to learn a bit more about networking (ok, ALOT more), and I was thinking of trying to setup a virtual network via Virtualbox on my desktop, and as seperated from the internet as humanly possible (preferably no connection whatsoever).
Ignoring a few of the obvious problems (like my little dual core potentially running half a dozen VMs on 2G RAM), I am wanting some guidance as to what programs I would need or some documentation on setting things up.
I have no real clue where I would want to start with this, but I want it as a testbed for future toying with, to learn from, and just generally as something for me to hack at to see what does what, how, and why.
My latop has suddenly lost it's ability to see my main computer. I have changed nothing other than updates and a few non-network related program installs. The laptop is an HP Pavillion DM3 running 10.10 and the PC is a Dell XPS400 running 10.04.01. I have both Samba and folder sharing in use. I have checked all the permissions etc on the shares and in Samba and everything is as it was and should be. So I am confused. How do I get it back and why did it go away?
I only have one IP adress to access the server. But the server will host 3 web sites and I want them to be hosted in a vm. So, I want to setup 3 virtual machines to do it and use apache reverse proxy and vhosts to redirect the domain requested to the right vm. Now. I understand the concept, but I am not an expert to set that up....
I have an openSUSE 11.3 server. So, I have to set a virtual machine server, is that right? I have been told that I cannot do it with VMware server in oS 11.3. Can I use virtualbox for this? I only have to install virtual box? Is there a special version to install? Once the virtual machine server is install, is it trivial to create 3 vm? So, I want to know wich are the steps I have to take to set that up.
I have OpenSuse 11.3 with VirtualBox on it, and with installed Oracle DB (on host OS).. but, sometimes this computer is disconnected, without it's gateway (adsl router)... and in that case, I cannot ping from virtual OS to host OS, or another virtual OS. I tried to use 'Host only' option within VirtualBox, but it doesn't work. What should I do? It seems that virtual machines requires some kind of gateway/router, but since machine is disconnected, it's not working.. how could I fix it?
I am new to networking and trying to setup my own local area network using virtual box machines. I have installed BIND 9.7.3 using yum in Fedora (dns server) and created all necessary .conf and zone fil es. I am successfully able to resolve domain names on this host machine (dns server). for example dig @dns.domain.lan client1.domain.lan correctly resolves domain name.
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
I'm looking for virtual machine software that supports dual monitors on a Linux guest with a Windows 7 host.VirtualBox supports dual monitors only for Windows guests. VMware Player was extremely slow, so I gave up. I'm not sure it supports dual monitors, anyway. Can anyone recommend a product for what I want to do?
I have a server that is on both a standard network and a virtual network, as follows: server1 attached to standard network server1 acting as Dom0 with two linux DomU guests (under Xen) I only have one network card. How do I configure server1 to have a different hostname on the standard network than on the virtual network? Here are the relevant network configuration files for server1:
The only things i need out of it are: mars_nwe (Netware server under Linux) and a reverse telnet server (the dos machine is a bbs) I need the virtual server to support a very old dos machine, and while i COULD use samba for drive mapping, the VNC server I'm useing on the dos machine is a progrm called TINY which pretty much means i'm stuck useing the novell dos network stack.
how best to configure opensuse for this? I'm running the install off of the live-dvd which has quite a bit selected by default. I'm not in need of an x-server or a desktop manager, as this will be a set it up and forget about it once it works VM
I have the required drivers from this website: Broadcom.com - 802.11 Linux STA driver As far as I can tell I have followed all the instructions given by the readme, I have all kernel packages that I had understood to be required but when I try to make the Makefile I am given this:
borgs0@linux-yjl1:~/hybrid_wl> make KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: Entering directory `/lib/modules/2.6.34-12-desktop/build' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory `/lib/modules/2.6.34-12-desktop/build' make: *** [all] Error 2
I just installed open Suse 11.3, and I cannot SSH my school. Upon further investigation I could not even ping any machines outside my local area network. Ironically I could nmap machines outside my local area network.
Does anyone know how to permanently enable X connections from all machines on my local network. I keep having to enter 'xhost +' to allow X connections.
Me and my friend have been talking about networking our two machines over the internet. So he has done his side. Now i need to do my side... Any ideas on how i would go about configuring my computer to do this?
My Windows guests see my VMware Host Only folders as \.hostShared Folders But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder.
I'm running Fedora 10 as host to vmplayer guests (win98se, Ubuntu 9.04). Each can connect to the Samba server and give me access to my home directory and 'backup' partition. Samba and nfs are both running. So far so good.
I've just installed Fedora 11 as a vmplayer guest. When I click Places > Network Nautilus opens up showing only Windows Network. Double-click on this item and I get a pop-up message: "Unable to mount location. Failed to retrieve share list from server." SELinux is disabled for the moment. I tried to mount the 'backup' partition: mount -t ext3 catinthehat2:/archive /mnt/archive but get the message: mount: special device catinthehat2:/archive does not exist.
So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:
Does lubuntu have some funky firewall built in to it that I can't find? (I've Googled for information on a Lubuntu default firewall and can't find any)
My two machines are both running Ubuntu 10.10. I want to transfer program files between them using a local area network.
My Ubuntu machines can both see the Window machines on the network, and get files from them. But my Ubuntu machines do not detect each other as being on the network. Nor can my Windows machines detect my Ubuntu machines.
From what I can tell, that's normal, and I've become resigned to using a pendrive to transfer files between the two machines. Or even sending files as email attachments.
there is a clean and easy way to transfer files between two Ubuntu machines on the same local area network.
I am not able to connect to the internet via Ubuntu guest in Vmware Workstation. Here is the ipconfig:
Here is the ifconfig -a:
I have the vmware os settings to connect through a nat connection and I am able to ping domains however I am unable to open a page in either firefox or chrome.
I have a home network of 4 computers - 3 Windows & 1 Xubuntu I'm able to connect to the Xubuntu machine from all of the Windows computers, but I can't do the opposite - connect to the Windows machines from the Xubuntu. I'm using Gigolo, and I can see the network, but it says no servers found.
I currently have VirtualBox installed on my Ubuntu 9.10 Desktop. I have windows xp as a guest os and it has network shares on it. My question is, is there a way for another computer to access those network drives on the guest os in virtualbox? I don't want to search for hours on end on google, a simple no would be fine - however if it is possible let me know because when I am in windows on another computer that has windows as a host os it sees it in the windows network folder but it says "....network location not found" or something similar but it still shows a pc picture of the virtual os of the virtual box program running in ubuntu.
Installed a security update for samba tonight via Opensuse updater.Now, when trying to access my home network an authentication box pops up (never used to)Asks me to enter authentication for my home network.I enter my username and password and hit enter. After a few seconds the authentication box pops up again askingfor the same indicating I have entered the wrong username / password combination (which I know I have not).
I was playing with my debian server when something went totally wrong while i was editing something on my network interface,i removed those crap that i wrote and left the network interface configuration as it was
Like for example after re-editing my network interface,it was like :
As i did a network restart, i get this error saying :
There is already a pid file /var/run/dhclient.eth0.pid with pid 2802 killed old client process, removed PID file.
What is this error and how can i fix it,because every time im re booting my server i lost my network config.
Last night while setting up wired & wireless connection in openSuse 11.2 Gnome version via YAST's ifup, I got wireless but lost wired connection (interface eth0). Dmesg shows that eth0 became eth1. I cannot get eth0 back. Is there any way to remedy this situation, eg. get info from the Ubuntu partition in my triple-boot laptop, without having to re-install openSUSE?
finding / mapping network shares on Win 7 guest in vmware. I am running 10.10 64 bit ubuntu and installed vmware workstation 7 (64 bit version). I created and installed win 7 (ultimate) vm. everything is good so far. The issue is I have a second desktop with ubuntu and I have shared 4 drives on that desktop. I want those shared available to the win 7 guest. And even after enabling the shared folders I do not see them.
Note: I have a shared folder on the same machine where I have vmware installed and win7 has assess to that drive.. its just that the shares on network are not available. Note2: i had virtualbox installed and it worked fine.