Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Home arrow Other arrow Other Features arrow Virtualization for the Small Network – Part 2
Virtualization for the Small Network – Part 2 Print E-mail
Doug Reid   
February 21, 2008

Virtualization and Network Interface Considerations - more

The figure shows that the onboard NIC on my server is VMnet0, and the additional NIC is VMnet2. I then uninstalled the virtual NIC from my virtual FreeNAS machine and installed a new virtual NIC mapped to VMnet2 as per Figure 7. Notice the configuration requires selecting the custom option to designate the new interface.

VMware NIC config
Click to enlarge image

Figure 7: Virtual NIC configuration in VMware

I didn't expect to see any performance difference over the dedicated NIC in my case, since my test server wasn't heavily loaded with network traffic. Indeed, reruns of Iozone tests on the virtual NAS with the dedicated NIC revealed performance similar to the shared NIC. In a high-powered server with heavy network traffic, however, network capacity can be increased by installing additional network interface cards on the host server and allocating them to the appropriate virtual machines.

Virtual Networks

An interesting virtualization option to improve overall network performance is to put virtual server communication on a dedicated virtual network. Virtualized servers can run multiple NICs connected to both the physical world and the virtual world.

On a server running multiple virtual machines, each machine can be given a virtual interface connected to a virtual switch. These virtual interfaces can be given IP addresses statically or through the creation of a virtual DHCP server, creating a dedicated virtual network to pass real data between virtual servers.

Windows-based VMware Host machines can create ten virtual switches for networking virtual machines either to physical interfaces or for internal network communications, while Linux based VMware Host machines can create up to 200 virtual switches. In either case, creating a virtual switch to connect each of the virtual machines provides separate dedicated network(s) between the servers, reducing traffic and potential congestion on the physical network.

To test this functionality, I added a second virtual NIC to my Ubuntu Linux server, using the Hardware Add tab in the VMware virtual machines menu, as shown in Figure 8. This NIC was configured in VMware as Host-only, meaning it does not have access to the physical network. Since Linux can support multiple network interfaces, and my Linux machine already has a working connection to the physical LAN, this second connection can be used for the internal virtual LAN.

VMware add NIC
Click to enlarge image

Figure 8: Adding a NIC from the VMware Hardware Add tab

Figure 9 is a screen shot from Ubuntu's network configuration page showing the presence of two network interfaces. The first Ethernet interface (eth0) is bridged to the physical network. The second Ethernet interface (eth1) is connected to the Host-only or virtual network. I've set up this second network interface with a static IP on the 192.168.188.0/24 LAN, which is the pre-assigned subnet for the VMware Host Only LAN. This can be changed, but since I wasn't using this subnet, there was no need to adjust it.

Ubuntu network config

Figure 9: Network configuration page in Ubuntu

With my Host server on 192.168.188.1 and my virtual Ubuntu Linux server on 192.168.188.2, both machines are now connected to a virtual network and to a physical network. Additional virtual machines on the same physical server can be connected to his virtual network.

Creating a virtual network like this is one of the cooler aspects to virtualization. This separate virtual network has none of the negatives of the physical network, such as physical points of failure and resource costs, yet provides all the necessary functionality.

The end result of using a virtual LAN to connect the virtual machines is a reduction in network traffic on the physical network. In an environment with large amounts of traffic between servers, creating virtual LANs can be a useful option for managing and optimizing the network.



Tags: Virtualization, VMware,

Related Articles:

Virtualization for the Small Network - Part 1
Monitor your Network for Free with Nagios
Paltalk adds Vumber Virtual Phone Numbers
Slideshow: Linksys RVL200 4-Port SSL/IPSec VPN Router
How To Set Up Server NIC Teaming
 

Most Read

 
 

Over At The Forums

New firmware 2.1.0
see also http://forum.qnap.com/viewtopic.php?f=142&t=10052 i had already the beta's running with also iscsi. Many more features are there.

Your thoughts about QNAP TS-109 II
I'm at the point where DVD backups for my photos,mp3 is taken too much of my time. I'm thinking of using the TS-109 II to...

OpenWRT not working as wireless repeater bridge on Netgear WGR614L
Hi , I have flashed my wgr614l with openwrt firmware . I have tested it for wireless client bridge mode and it is working fine but I...

OpenWRT working as wireless client bridge on Netgear WGR614L
Hi everybody , I have flashed my Netgear WGR614L with openwrt firmware and have tested it for client bridge mode . It is working grt .......

DIY or buy used?
Hi everybody, I am looking for a new NAS solution for my office. 1. SITUATION I use with video files and animations a lot. The big video...

Slideshows

NETGEAR ReadyNAS Pro Western Digital ShareSpace QNAP TS-509 Pro D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router More

Win This!

Enter to Win!

You could win a Trendnet TEW-633GR Wireless N Gigabit Router and two TEW-621PC 300Mbps Wireless N-Draft PC Cards

Learn How!

 

Ldr:0.00170302391052, Rct:0.00573492050171, Sky:0.00749897956848, Tlink:0.326522111893, TopPG:0.326595067978, GQV:0.326745986938 seconds to load.