Networking :: Feasible / Desirable To Setup A Network Of Virtual Machines To Use As An Environment To Learn Networking?
Nov 18, 2010
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'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 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 attempting to set up a firewall in my home network environment. the rest of the environment is windows, sorry I am attempting now so bear with me. what I have is a cable modem coming in, then my fedora 11 box with 2 nics, then the wireless router and the rest of the network.
everything works fine until I put the linux box in. If I put the firwall in the firewall sees the internet but the wireless router directly after does not. I am doing something wrong with the dhcp I am guessing. I dont want the firewall to give the address to the network I want the router to. I tried to get the firewall to do it (yum install dhcp leafnode) but it kept saying something didn't work right.
so I figure I will let the cable modem give the firewall an ip and the router give the rest of the network their ip's but how do I get the firewall and router to see each other and allow passthrough?
finaly got my Centos host ready and configured,i have Vmware installed inside the Centos Host.how can i allow to RDP to the Virtual machines inside th Centos,
in my network, users has total access to their PCs, so theres a problem to filter (URL, ports,etc.) their virtual machines installed (they can assign self any IP, e.g.)
Id thought about use the MAC prefix in VMware VMs (00:0c:29:*), but i can only found a way through DHCP, and this isn't a good solution (they can assign a static IP to workaround...)
It will be better using firewall (iptables), but I don't found the way to add rules based in MACs with wildcards.
I want to setup some virtual machines that will use the same architecture and debian-version as my host-machine. I have started to setup VMs with a netinstall-image and now want to add more software using apt-get. As most of the software I will use is already installed on my host-machine I wonder if there is any way to configure apt in such a way that it will not download packages from the internet, but will use the packages from my host-machine to save network-traffic. Is there a good may to populate VMs using the debs from the host-machine.
I have a Slicehost VPS and I'm trying to set up PPTPD on it. I only have one IP address (the public IP of the box). All the PPTPD howto's I've seen rely on assigning remote clients IPs from the local subnet (e.g. the PPTD server's local IP is 192.168.0.20, and remote IPs are taken from a pool of 192.168.0.30-40).
However I don't think I can do that as I only have the one IP address on Slicehost's network - that public IP (and all other IPs in the segment are public). So what I really want to do is to be able to create a private LAN segment or virtual network adapter and have VPN clients assigned addresses in that segment, then routed out onto the Internet effectively using the PPTPD box as a router. I am using Ubuntu Hardy (LTS).
I have 4 debian boxes networked together through a basic 5 port switch. I am trying to simulate 2 Local Area Networks joined together by a WAN. Right now I can communicate with A <--> B, B<----> C, C<----->D. However, I cannot communicate with Host A to Host D which is the whole point of this experiment. It has to be my static routing is not right. This is a confusing area to me. Right now my routes are
I want to implement bandwidth shaping policy in a virtual environment. So i have 2mbps link, which i want to distribute it among Email,http(s),ssh,... and some other traffic. I want to do this in a virtual environment, for testing purpose. I want to run this script on a virtualbox virtual machine, which has ubuntu installed on it. and then use that as the router.
(a) is there any software that could simulate email,http,... traffic so that i could test it?
(b) my second question is (though not related to networking) how do i set a (virtual) machine as a router? or is it even possible?
I am in verse to test "Multicast Packet filtering".I want to setup Virtual Machines to be servers with bind option set to a multicast group address of 225.0.62.87.Then I want to configure the client VM, connecting to the multicast group address and setting the TTL as needed.
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?
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?
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 have several Windoz machines in a peer-to-peer network and now two SUSE machines, one 11.1 and another 11.2.I have a network printer accessible now to all the machines.My next step is to be able to share files between all the machines and several network drives. I know how to set this up between the Windoz machines, but the only way I can get the SUSE machines to see the network (and be seen) is to shut down their firewalls, and I don't think that's how you are supposed to do it?Can someone point me to what it is that I need to read, or is there a FAQ somewhere to help get me started?
I think that this has something to do with Samba and I installed Samba (client or server? I forget) on the 11.1 and 11.2 seems to have it already built-in, but I don't know how to set it up with the firewalls on the two Linux machines so that it is all seamless (as if anything can be seamless).
I want of learn what are gnome-sessions, how are they managed, windows managers etc. I also want to learn how display turns from textual (u know, black background and white text) to complete graphical screen during startup.
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 am using Ubuntu 10.04, 64-bit. I am trying to set up a virtual machine on it using vmbuilder. As I understand, I need to set up bridging. If I set up br0, then I cannot get out of the machine. Even a ping to 192.168.1.1 (my gateway) comes back as network unreachable. If I comment out #auto br0, then I can get out (on eth0), but i get an error from libvirt. My /etc/network/interfaces file (eth0 networking works, but libvirt does not):
#auto eth0 #iface eth0 inet dhcp auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.154 netmask 255.255.255.0
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.
is it possible to setup a DHCP server using the loopback or a virtual interface? I installed Sun VirtualBox on my fedora system and want to try and kickstart them from within the same box on a virtual network. Is this possible and has anyone done it? I only have a single NIC in the box and it is on my public network.
Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?
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:
I am using Ubuntu 9.10 and I've installed a Samba Server. Unfortunately I can't see any Linux/Unix/Mac systems in the networ environment. Only the Windows computers are visible.
while trying to set up Xen Virtual Nodes we encountered one issue with the network (which is why it is posted here On the DomU the interface is provided by a bonding -bond0- of three NICS. Now the Xen network script a) does not take this bonding b) destroyes even this bonding From a number of posts I assume I have to configure this by hand, correct? Is there an instruction how to do this? Simply create a bridge on top of bond0??