Question

Vsphere 4 networking

Asked by: Network_Padawan

Hi All,

I cant seem to get my head around how vm networking works. Ive read the documentation and although its simple for a basic setup I have a more advanced setup I have to do and Im not sure how to proceed.

I have a DELL R700 machine with 2 nic card (quad ports). I need to do team bonding for every server I have. I am creating 4 vms, three linux and one windows.

I have provided an attachment of the networking scene. Is this correct?

Wireless server will have a public IP, 203.38.X.X

Priv-Web1 server will have internal, 10.0.X.X

ecgconnect and ecgconnect will also only have internal IPs, 10.0.X.X each

Now, I can only see one NIC card on ALL my vms. Why is this when as you can see their are two assigned to each vm. Also, is this the correct structure or do I just need to have two nics assigned to priv-web1 and the two ecgconnect aswell as they are all in the same subnet range?

Before anyone posts a link to the manual, Ive already read it and still dont quite understand.

Thanks

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-19 at 22:37:31ID24667167
Tags

vm

,

vshpere

,

networking

Topics

Virtualization

,

Microsoft Virtual Server

,

VMware

Participating Experts
2
Points
500
Comments
17

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ethernet bonding
    Dear All, Does anyone know how many network cards I can bond together with the linux 2.4.18 kernel ethernet bonding driver. The dosumentation suggests only 2, but I'd like to be sure. Thanks, Paul
  2. Bonding Wireless Adapters?
    Ok, Here is an interesting question. Is it possible to bond multiple wireless network adapters in windows xp in order to increase the bandwidth available to the system? I have messed with it and cannot find a way to do this, but it should be possible.
  3. bonding on esx3.5 server
    I want to configure bonding on vmware ESX 3.5 server with 2 NICs interfases. The server is a HP DL 360 G5. The NIC's are intel broadcom. Is this possible? if not, which is the way to use the 2 NICs interfases to load balancing?
  4. Nic Bonding with bridge
    Hi folks, I have one Archlinux VirtualBox (Host) server. I installed two NIC card in my server, for bonding purpose. I need to set up the bond0 interface in bridge mode to share my NIC card to my Guest VMs. So I make this first : http://wiki.archlinux.org/index.php/Confi...
  5. Bonding or link aggregating wireless access points
    I am trying to figure out a way that I may be able to increase bandwidth on a point to point wireless connection. I have 2 point to point wireless access points at each location. Currently one is just there for backup. Is there a way I can bond or link aggregate the 2 connect...
  6. Is it possible to dedicate a CPU core to xenserver VM?
    I have a quad core CPU in my server. Can I hard code (or bind) one of the four cores to a particular VM so that it's the only VM that can use it?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Network_PadawanPosted on 2009-08-19 at 22:47:43ID: 25139610

This is how I have the network configured at the moment, not sure its ideal.

 

by: ryder0707Posted on 2009-08-20 at 00:47:36ID: 25140029

It is correct, because the teaming is managed by esx and you can configure teaming policy as needed for each vswitch
by the way, i dont think you should assign any vm with public ip directly, you should setup NAT instead
the number of vNIC for each VM depends on how many you assign and has nothing to do with vswitch
I dont see why you want to separate NICs for 10.0.X.X, just assign 3 NICs to vSwitch2(eg. vmnic2, vmnic3, vmnic6)
remove vSwitch3, and assign vmnic5 to vSwitch0 then remove VM Network from vSwitch0(security reason)
If for know you dont need vmkernel port that is fine
Let me know if this is clear
Cheers!

 

by: KaffiendPosted on 2009-08-20 at 00:49:39ID: 25140039

Did you try:

Edit virtual machine settings > Add Hardware > Add network adapter?
 
Do this for each server that you want to have 2 NICs. You could specify a particular NIC to a particular server this way.

And, looks like you don't have any guest VMs set up to use vmnic0.  
Also, what happened to vmnic4?  (Might as well enable it)
Then, move either eg-connect or egconnectdb to the vmswitch0 with these two NICs.

Then, you will have four guest VMs, each with 2 dedicated NICs.  (Well, the guest on vmswitch0 will have to share with the service console, so the preceding statement is not 100 percent true)

 

by: Network_PadawanPosted on 2009-08-20 at 17:23:47ID: 25148213

Thanks guys for the info, as you can see i have two nics assigned to each guest vm...why is it that I only see ONE nic for each vm. What am I missing?

 

by: ryder0707Posted on 2009-08-20 at 18:06:00ID: 25148368

Can you screenshot the VM properties?

 

by: Network_PadawanPosted on 2009-08-20 at 18:14:06ID: 25148389

Hi, here it is. These are the screen shots for the ecgconnect vm.

 

by: ryder0707Posted on 2009-08-20 at 18:19:01ID: 25148414

So it is correct, you only assign 1 NIC to it NOT 2 NICs
If you need 2 NICs for this VM, then you need to add 2 "Network adapter"
as i said "the number of vNIC for each VM depends on how many you assign and has nothing to do with vswitch"
i thing you are confused with this part right?

 

by: Network_PadawanPosted on 2009-08-20 at 18:34:41ID: 25148482

I guess I must be, but in that screenshot doesnt it show 2 NIC cards assigned to each VM??? Where is there only one Nic?

 

by: Network_PadawanPosted on 2009-08-20 at 18:36:51ID: 25148494

Look at vswitch1, ecgconnect is there as a vm with vmnic1 and vmnic7 assigned. Doesnt it mean those two "Physical Adapters" are assigned to that network and all vm in that network?

 

by: ryder0707Posted on 2009-08-20 at 18:50:46ID: 25148543

Nope, that concept is wrong
You can assign multiple NICs to a vSwitch and team them for redundancy/load balance and better performance
But this vSwitch can be used by many VMs, depends on how many ports you defined
Just like the real physical switches, they have 8, 12, 24, 48, etc.
But at the VM level, you define how many NICs you want for each VM and each NIC can be connected to different vSwitch as desired
As you can see in your screenshot, at the drop down list "Network label" has 4 different vSwitch to connect to and this setting is only for "Network adapter 1" for ecgconnect VM
Hope this is clear

 

by: ryder0707Posted on 2009-08-20 at 18:59:13ID: 25148572

Just to add, see example below

Let say you assign 4 NICs to a vSwitch labeled 192.168.100.x, you set to have 24 ports for this vSwitch
And you create 10 VMs in your ESX
Each VM has a single NIC and each NIC is connected to 192.168.100.x
So, all 10VMs can connect to each other via 192.168.100.x vSwitch, and Internal_Net has 4 NICs to utilize(depends on team policy set for this vSwitch)
And you still have extra ports for other VMs to connect to 192.168.100.x vSwitch since you use only 10 ports

 

by: ryder0707Posted on 2009-08-20 at 19:03:49ID: 25148596

Sorry correction for this
So, all 10VMs can connect to each other via 192.168.100.x vSwitch, and Internal_Net has 4 NICs to utilize(depends on team policy set for this vSwitch)

Should be

So, all 10VMs can connect to each other via 192.168.100.x vSwitch, and 192.168.100.x has 4 NICs to utilize(depends on team policy set for this vSwitch)

 

by: Network_PadawanPosted on 2009-08-20 at 19:06:23ID: 25148612

Ok I understand the physical adapters attached to each vm...I have done this and it works do thanks.

The vswitch concepts is what is confusing me...

You said  "But this vSwitch can be used by many VMs, depends on how many ports you defined
Just like the real physical switches, they have 8, 12, 24, 48, etc."...ok, if three of the VM use 3 different subnets connected to the one Vswitch, will this work? Or are you saying that each vswitch is equivalent to a real switch, and that each adapter provides traffic for all vms on that network? Thus, if you have multiple vms on that one vswitch with different subnets, you need to do some vlans?

Sorry. Im just confused with the entire concept.

 

by: Network_PadawanPosted on 2009-08-20 at 19:14:46ID: 25148640

I guess to add to that...in my scenario where I have vmnic1 and vmnic7 assigned to ecgconnect, if I have the actual VM connected solely to ONE physical adapter, and vmnic1 is busted, will vmnic7 continue providing services to that VM? Does this mean if that vm only requires one IP, there is no reason to apply TWO physical adapters because the redunancy is at the vswitch?

 

by: ryder0707Posted on 2009-08-20 at 19:16:54ID: 25148647

Yes because under each vSwitch you can further create port group and assign vlan id :)
But you need to understand how vlan works so this is consider as advanced configuration
Perhaps the following pdf can shine the path http://www.vmware.com/pdf/esx3_vlan_wp.pdf
Cheers!

 

by: ryder0707Posted on 2009-08-20 at 19:17:56ID: 25148658

I guess to add to that...in my scenario where I have vmnic1 and vmnic7 assigned to ecgconnect, if I have the actual VM connected solely to ONE physical adapter, and vmnic1 is busted, will vmnic7 continue providing services to that VM? Does this mean if that vm only requires one IP, there is no reason to apply TWO physical adapters because the redunancy is at the vswitch?

Hey, you got it already! Well done mate!

 

by: Network_PadawanPosted on 2009-08-20 at 19:24:15ID: 31618012

Great...finally got it! LOL, thanks

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...