Solved

ESXi: upgrade e1000 to vmxnet3 in bulk (powershell)?

Posted on 2013-01-22
10
2,065 Views
Last Modified: 2013-01-24
Hi,

Is it possible to upgrade e1000 to vmxnet3 in bulk (powershell to multiple vm's)?

Thanks.
J.
0
Comment
Question by:janhoedt
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 42

Expert Comment

by:paulsolov
Comment Utility
It may be possible but a secondary issue may arise with the IP addresses.  Since you're placing a new nic into each guest there needs to be process to re-ip the nic with the same setting as the previous nic and I"m not sure that there is a simple way to do this.
0
 
LVL 37

Expert Comment

by:Neil Russell
Comment Utility
In short, no.
As Paul says, you will have a brand new NIC in each of your hosts that will need configuring INSIDE the OS.

On a brighter note, performance will be MUCH better with the VMXNet3 when you have finished :D
0
 

Author Comment

by:janhoedt
Comment Utility
Thanks, I know that. Therefore the question indeed how to "copy" nic-settings from old to new nic. F.e. add new nic disabled, then copy within windows the settings and enabling the new nic ....
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
what OS?

Windows 2008 R2 ?

this script will change the IP Address

Get-VM VMName | Get-VMGuestNetworkInterface -GuestUser Administrator -GuestPassword <password> -HostUser root -HostPassword <password> | Set-VMGuestNetworkInterface -IPPolicy Static -Ip <IPAddress> -Netmask 255.255.252.0 -Gateway <Gateway> -GuestUser Administrator -GuestPassword <password> -HostUser root -HostPassword <password> 

Open in new window

0
 

Author Comment

by:janhoedt
Comment Utility
Mostly Windows 2008 R2 indeed, some Windows 2003 also.
So this could work in my scenario, only problem is vm's with 2 nics ...
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:janhoedt
Comment Utility
Note: a company I know mentions "why do we need vmxnet3, bandwith now isn't heavily used at all,  so why the effort migrating to vmxnet3?
Indeed, what other advantages vmxnet gives versus e1000 and how can I explain/prove this in human understandable format?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
E1000 is a legacy network adaptor, which should only be used for initial installation, it has a higher overhead on the host that the virtualised VMXNET3, and therefore is generally recommended to switch from e1000 to vmxnet3.

That's always been the recommendation.
0
 
LVL 37

Expert Comment

by:Neil Russell
Comment Utility
Also the E1000 is prone to drop outs and the mysterious "Dissapearing" network. This is never the case with the VMXNET3 virtual NIC.
As hanccocka says, Always use the VMXNET3 in any OS that supports it.
0
 

Author Comment

by:janhoedt
Comment Utility
Thanks, I'm already convinced but that won't convince "them" ....
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
Using VMXNET interface has always been the recommendation, since version 1.0!

Well just park it, if they have network issues, it's likely to be related to E1000.

Just make sure all templates are updated, and in the future they deploy on VMXNET3.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now