Solved

virtual switch in windows 2012

Posted on 2012-12-29
9
733 Views
Last Modified: 2012-12-29
I have windows 2012 with 4 ports in HP DL380 and a VM.
I assigned 1 of 4 ports to the virtual switch and everything seems work fine.
But when I changed the host computer's teamed nic (3 ports) to a static IP, it didn't update DNS server, then I found out that the IP address in DNS was the IP address of virtual switch.

I'm a bit confused with this virtual switch, haven't worked with it. First of all, if I want to balance good bandwidth with these 4 ports, how do I configure the virtual switch and how can I assign static IP addresses to both host and VM guest?
0
Comment
Question by:crcsupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
9 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38729991
normally you would dedicate an IP Address to the Host and networking to the host, and then build a virtual switch.

So if you have four ports, a pair for the host teamed, with a sinlge IP Address, which will leave you two nics to build a virtual switch.
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38730005
So should I team 2 for 2 connections? 2 for host and 2 for virtual switch?

Also, to physical network, if I want to assign static IP to the host, where do I assign the IP, host or virtual switch?
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38730008
I seems like the host is reached by the virtual switch IP address, not the IP address of the host. Why is this?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:crcsupport
ID: 38730045
I just teamed 2 for host, assigned static IP address, and teamed 2 for Virtual External switch with DHCP.

I seems like working fine. Now, Is it good to keep this virtual switch as DHCP or static?
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38730071
Other question, after I played with virtual switch, I think Host also can be reachable from physical network only through the virtual switch I configured. correct?

So, if I turn off the virtual switch, neither host and guest vm can be reached from physical network.
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38730096
when I try to assign static ip to virtual switch in control panel/network, it gives warning message, 'multiple gateways....' I just proceeded. I had to delete some DNS records manually. So for now below is how it's set up.

HOST:
TEAM 1: 2 NICs teamed, 192.168.50.100
TEAM 2: 2 NICs teamed, 192.168.50.101

I got a warning message when I assign IP address to the TEAM 2, says 'multiple gateway....'. Then I just proceeded.

Then, I deleted and recreated Virtual switch, then assigned TEAM 1 to it.

Then, I assigned 192.168.50.102 to VM GUEST.

Now, the HOST is pinged by 192.168.50.101 and GUEST is pinged by 192.168.50.102.
But, after reboot, now HOST created two A records, 192.168.50.100 and 192.168.50.101.
I'm wondering if the virtual switch should not be assigned with a static IP at all.

Am I doing correct?
0
 
LVL 121
ID: 38730213
it depends if you want resilience, I would recommend that any network interface is teamed.
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38730362
Resolved. If you need to have one IP address in A record of DNS,  you need to team NICs ,then share it with virtual switch. That way, virtual switch and host will have the same IP.
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38730365
I've requested that this question be closed as follows:

Accepted answer: 0 points for crcsupport's comment #a38730362
Assisted answer: 250 points for hanccocka's comment #a38729991

for the following reason:

two IP address problem on host DNS record can be resolved as I provided answer.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question