Hyper-V Static MAC Address Best Practice

Hi guys,
Looking for some advice please..
We have several VM's running within a 6 node cluster that run an application which keeps losing it's license whenever the LAN MAC changes i.e. when the VM moves to a new node.
The obvious solution is to set these VM's with a STATIC MAC address however I have a few questions.
1. Is there a 'private' range I can use to ensure that we never see any conflicts?
2. What's the best way to implement this change? simply power off each machine and manually edit the settings or can I use SCVMM?
3. Will the VM's lose there current network card settings? static ip etc?
4. Will VM's set with a static MAC still fail over to other nodes?
Many thanks for your help
Robbie

For an answer you're much better off posting in the Hyper-V forum here:
https://social.technet.microsoft.com/Forums/en-US/winserverhyperv/threads
This forum is for Virtual Server 2005, no similarities to Hyper-V.

Similar Messages

  • Static MAC address without configuration

    Hello,
    i am a german guy, so please excuse my bad english.
    I have a question about static MAC addresses on a WS-C3750G-48TS Switch.
    I have no static adresses configured on my switch, but see some when execute the "show mac address-table static" command. And i mean not the 0000.0c07.ac01 addresse for HSRP, Spanning-tree or something else, which are forwarded to the CPU, i mean entries like this:
    Switch#show MAC address-table interface g2/0/47
              Mac Address Table
    Vlan    Mac Address       Type        Ports
       3    1212.1212.1212    STATIC      Gi2/0/47
       3    1414.1414.1414    STATIC      Gi2/0/47
    Total Mac Addresses for this criterion: 2
    This entries not configured or dynamicly learned.
    I suspected functions like gratitious-arp, but this is only for IP<->MAC translation. Then i have searched functions like gratitious-mac or mac-notification. I have searched for a function with tells the switchport: "Hey, that is my MAC address. There is no need to learn this address dynamicly", but with no luck.
    Does anybody can tell me, why these MAC addresses are shown static, and not dynamicly?
    Thanks for help.
    Thomas

    Hi Thomas,
    Are there any port-security related configurations in interface Gi2/0/47? Could you post the running-configuration of this interface in concern, output of show mac-address-table interface Gi2/0/47 and also could you let me know what is connected to this interface?
    Thanks,
    Arun

  • Static mac-address

    Hi
    static mac-address x.x.x.x vlan xx interface f0/0 interface f0/1
    if this packet come to switch, switch will send out two interface or load-share on each interface
    Thanks

    Hi,
    For interface-id, specify the interface to which the received packet is forwarded. Valid interfaces include physical ports and port channels. For interface-id, specify the interface to which the received packet is forwarded. Valid interfaces include physical ports or port channels. For static multicast addresses, you can enter multiple interface IDs. For static unicast addresses, you can enter only one interface at a time, but you can enter the command multiple times with the same MAC address and VLAN ID.
    Regards,
    Pravin

  • SG200-8 Static mac address problem

    Hi!
    My second problem with sg200-08 (firmware: SG200-08x_FW_1.0.6.2.stk) is when I try to add specific MAC address as secure:
    MAC Address Tables - Static Addresses - Add; insert vlan id, port, mac address and select "Secure":
    I get error message: "Error: Failed to Add 'Static Address' entry.
    Again, thanks for reply!
    Best regards,
    Boris Bahes.

    Moritz Lipfert wrote:I have the same problem using the current firmware 1.0.6.2. But even an upgrade by TFTP followed by a factory reset does not help. A downgrade to firmware 1.0.5.1 also does not fix this issue.Are there any other suggestions?
    Strange as it may sound, try playing with compatibility mode in Internet Explorer. I have found that these switches interface respond well only in IE.

  • Router cannot see Hyper-V Guest MAC address

    Greeting,
    I have been trying to build a server on Hyper-V, on a host running Windows Server 2012 R2, and a wireless adapter is used.
    A virtual switch was created as external, connected to the host's wireless adapter.
    The guest OS is Debian 7, and the problem is it's unable to use DHCP to connect to the internet.
    I have to manually specific an IP address and the subnet mask in order to access the internet in the Guest OS, say 192.168.0.50. And I set port forward to this IP for external connection to the guest, but then sometimes I cannot connect; without doing anything
    it restores the connection after a while. At the same time I am keeping the MSRDP connection to tthe host so the host has not lost connecting to the internet.
    When the server on Guest is not accessible from the web, I can still connect to the server within the host machine by typing the lan IP of the guest: 192.168.0.50
    On checking the router, I found that two IP address 192.168.0.50 (Guest OS) and 192.168.0.15 (Host) are sharing the same MAC address (of the wireless card). It means the MAC address of the Guest OS is not seen by the router, and I suppose this is the root
    for the instability.
    Would you have any ideas about the situation, and suggested solution?
    Thank you.

    An update to my issue:
    Just realized the possible cause: the (freaking) router is dropping inactive machine.
    Basically the DHCP issue is not solved, but it doesn't seem to be a cause after all, as long as I manually assign the IP it works, even having the  2 IPs with the same MAC on the ARP table on router. (Host connection drop has to be further investigated).
    As I found that the loss of connection actually happens after a while I don't touch the web server on VM, the longer I leave it idle the more likely I cannot connect to it again. The situation is like a prolonged loading when trying to access a website,
    where sometimes you can connect after a while, or you never.
    What's weird is, if I somehow manage to connect to the idle VM server by multiple attempts, and that after I have restored the connection, I can reconnect to the server from another computer very quickly without any significant loading time.
    On some quick searches, I found someone using Linksys router is suffering from a similar situation as I do:
    http://serverfault.com/questions/522448/application-request-routing-on-a-hyper-v-guest-intermittently-stops
    So what I can try are basically 3 ways 
    -Change the router, not viable as I don't own it.
    -Insert a wireless bridge in between
    -Do something with Debian, making it periodically generate network request to the internet to keep the connection alive
    Any ideas about my observation, and maybe possible solutions?
    Thank you for reading.

  • CAS array internal DNS IP address best practice

    Hi, Just a question about a best practice approach for DNS and CAS arrays.
    I have an Exchange 2010 Org. I have two CAS/HUB servers and two MBX servers. My external DNS (mail.mycompany.biz) host record points to a public IP address which is NAT'd to the internal IP address of my NLB CAS cluster. I maintain a split brain
    DNS. Should the internal DNS entry for mail.mycompany.biz also point to the public IP address or should it point to the internal IP address of the NLB cluster?

    A few comments:
    The reason you have split DNS is to do exactly these sort of things: inside users hit the inside IP and outside users hit the outside IP.  You'll have to look at your overall network design to see if it makes sense for users to take this shortest route
    to the services, or if there is value in knowing all users simply take the same path.
    You should not be using the same DNS name for your web services (e.g. OWA) as you are for your CAS array.  This can cause very long connection delays on Outlook clients, not to mention overall confusion in your design.  Many orgs will use something
    like "outlook.domain.com" for the Client Access Array and "mail.domain.com" for the web services.  Only the later of these two need to be exposed to the internet.
    Keep in mind, Exchange 2013 dramatically changes this guidance.  There is no more CAS array, and the
    recommended design is to use dedicated namespaces for each web service.
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • Windows 2012 Hyper-V Virtual SAN Switch Best Practice

     I have a four node cluster running W2012 Datacenter edition on each.  All systems have Emulex HBA compatible with Hyper-V and Virtual SAN technology. The hosts are connected to a Brocade SAN Switch with NPIV Enabled. I've
    created a Virtual SAN on each host. The vSAN is connected to 2 physical HBA. Each HBA is connected to a different physical SAN Switch.
    I have some questions about the best practice of the whole system.
    1. Do I have to create a vSAN per physical HBA ? Or create one vSAN that include 2 HBA ?
    2. Add 2 virtual HBA per VM to have fault tolerance ? Or one virtual HBA that is connected to a vSAN with 2 HBAs ?
    3.  Do I have to create a virtual port for each VM on the HBA Gui (OCManager) ?
    Any best pratice or advice ?
    Thanks

    Hi,
    first you will do almost the same as you do on a physical SAN, normally you build 2 Fabrics right ?
    In Case you have that in place you will configure also 2 vSANs to build up your 2 seperate ways/pathes.
    Here my top links for that Topic
    Hyper-V Virtual Fibre Channel Design Guide
    http://blogs.technet.com/b/privatecloud/archive/2013/07/23/hyper-v-virtual-fibre-channel-design-guide.aspx
    Very Good Blog with all the Scenarios you can have, sinlge Fabric to Multi ......
    Here the TechNet Info around "Hyper-V Virtual Fibre Channel Overview"
    http://technet.microsoft.com/en-us/library/hh831413.aspx
    and the "Implement Hyper-V Virtual Fibre Channel"
    http://technet.microsoft.com/en-us/library/dn551169.aspx
    A good Advice is also to install this Hotfix -
    http://support.microsoft.com/kb/2894032/en-us
    It is a sexy feature but if one point in the chain is doing wrong things with your NPIV Packets you are lost, so in my personal view you miss the for me most inportant point why i do Hyper-V, the Separation of HW and Software :-)
    One Problem i had once was after live Migration of a VM with configured vFC the Destination Host lost there FC Connection, but only if the Host have been one SAN Hop away from the HP Storage , was a HP Driver Problem, used the original Qlogic Driver and
    everything was fine, so same as with some HP Networking Driver for Broadcom, do not trust every update, test it before puting it in production.
    Hope that helps ?
    Udo

  • Management IP Address : best practices ?

    Hi,
    What are the advantages to assign the mgmt IP @ to service profil rather to blade server ?
    Can we do the both ?... and in what puropose ?
    what are the best practices for specific use ?
    many thx in advance for you feedback.
    Nicolas.

    The ability to assign the IP address to the SP was done at the request of users.  This allows the KVM IP adddress to follow the SP (and OS associated with that SP).  Customers wanted to know that KVM IP was also associated with there OS.
    The IP associated to the blade can be used at any time for a KVM session.  An IP address associated with the SP can only be used while the SP is associated with a blade.
    Both can be used.  I dont believe there is a best practice for their assignment.
    Thank You,
    Dan Laden
    Cisco PDI Data Center
    Want to know more about how PDI can assist you?
    http://www.youtube.com/watch?v=4BebSCuxcQU&list=PL88EB353557455BD7
    http://www.cisco.com/go/pdihelpdesk

  • Assigning static mac address via powershell

    Hey,
    in our company i have to change the mac addresses of all vms from dynamic to static.
    so i wrote a little script, but the macadress wont swtich to static..
    here is what i did, maybe you can help me (im new to powershell)
    $vmname = "gpotest"
    foreach($vm in $vmname)
    $macaddress = get-vm -name $vm | get-VMNetworkAdapter | fl MacAddress
    $macaddress = $macaddress | Out-String
    $macaddress = $macaddress.Substring(17)
    $macaddress = $macaddress.Insert(0,'"')
    $macaddress = $macaddress.insert(13,'"')
    get-vm -name $vm | get-VMNetworkAdapter | set-VMNetworkAdapter -StaticMacAddress $macaddress
    thanks in advance

    Please check the link below. I believe it answers most of your questions.
    http://www.cisco.com/en/US/products/ps6441/products_configuration_guide_chapter09186a008071c342.html#wp1074511
    regards,
    Leo

  • Defragmenting Mac (Leopard) best practice for the safest disk optimisation

    What is the best way to defragment?
    Its always dangerous to perform disk related stuff, sometimes some of the apps can lead to file corruption, I know lot cases where almost all the third party software has caused issues.
    I have disk warrior, Techtool pro, drive genius, which one is safest? I know most of them require to boot of media to perform on boot drive.
    Recently, i upgraded to 320gb 7200 rpm and since i had about 190gb of data, i thought disk utility will be faster, and it did copy in 1.5 hour but it didn't defragment my hard drive since it does block level copy. My computer is IN FACT RUNNING SLOWER.
    Im thinking of carbon copy cloner to external hard drive, file level copy, and then boot of restore dvd 10.5 to perform restore function by disk utility which is lot faster since it does block level copy.

    I use idefrag.
    http://www.coriolis-systems.com/iDefrag-faq.php
    from iDefrag help:
    Why Defragment?
    It has often been asserted that defragmentation (or disk optimization) is not a good idea on
    systems using Apple’s HFS+ filesystem. The main reasons given for this historically have been:
    HFS+ is very much better at keeping files defragmented than many other commodity filesystems.
    Advanced features in recent versions of HFS+ can easily be disrupted by a defragmentation tool
    that does not support them, resulting in decreased performance.
    There is a risk associated with defragmentation.
    Whilst these arguments are certainly valid, they are not the whole story. For one thing, iDefrag,
    unlike most other disk defragmentation tools, fully supports the most recent features of HFS+,
    namely the metadata zone (or “hot band”) and the adaptive hot file clustering support added in
    Mac OS X 10.3. Not only does it avoid disrupting them, but it is capable of fixing disruption caused
    by other software by moving files into or out of the metadata zone as appropriate.
    Sensible arguments for occasional optimization of your disk include:
    HFS+ is not very good at keeping free space contiguous, which can, in turn, lead to large files
    becoming very fragmented, and can also cause problems for the virtual memory subsystem on
    Mac OS X.
    Older versions of the Mac OS are not themselves aware of the metadata zone policy, and may
    disrupt its performance.
    HFS+ uses B-Tree index files to hold information about the filesystem. If a large number of files
    are placed on a disk, the filesystem may have to enlarge these B-Tree structures; however, there
    is no built-in mechanism to shrink them again once the files are deleted, so the space taken up
    by these files has been lost.
    Whilst HFS+ is good at keeping individual files defragmented, mechanisms like Software Update
    may result in files that are components of the same piece of software being scattered across the
    disk, leading to increased start-up times, both for Mac OS X itself and for applications software.
    This is a form of fragmentation that is typically overlooked.
    Defragmenting disk images can be helpful, particularly if they are to be placed onto a CD/DVD, as
    seeks on CD/DVD discs are particularly expensive.
    Some specific usage patterns may cause fragmentation despite the features of HFS+ that are
    designed to avoid it.
    We do not recommend very frequent optimization of your disk; optimizing a disk can take a
    substantial amount of time, particularly with larger disks, far outweighing the benefits that are
    likely to be obtained by (say) a weekly optimization regime.
    Optimization may make more sense, however, following large software updates, or on an
    occasional basis if you notice decreased performance and lots of hard disk seeking on system
    start-up or when starting an application.
    Kj

  • Migrating to new Mac. Best Practices?

    I just ordered my first Mac Pro and will be migrating Aperture (and everything else) from my MacBook Pro in a few days.
    Question is: Use Migration Assistant or not?
    I've heard good stories and bad about people using Migration Assistant and I'm wondering if anyone has some good advice on whether I should trust it.
    Some details about my particular situation:
    My photography is the most critical content on my MBPro.
    I use Aperture with a few plugins (Nik, and others)
    All my images are referenced to an external drive.
    Other critical apps include Adobe CS3 Photoshop, Illustrator, Dreamweaver
    I also have 150+ other apps that can be installed (or not) easily and individually.
    Thanks.

    i would not recommend migrating applications ... ever ... at all ... especially the pro apps ...
    things can go wrong ...
    obviously the choice is yours to make, but me, never ... i have all my install disks and would just do it manually ... why take the chance on screwing up a new clean fresh computer ...
    this is a topic that pops up now and again ... you can search this board for more opinions ...

  • Hyper-V Failover Clustering MAC Address Question

    Hello,
    Can someone please explain how MAC address assignment works in a hyper-v cluster? I have a couple machines that need to have a static MAC address assigned and want to know how the cluster handles it when the VM is Live migrated to a new host. Thanks in advance.

    Hi ice2921,
    Yes, after export and import to another Hyper-V host, the dynamic MAC address of the VM changes
      after export and import to another Hyper-V host, the dynamic MAC address of the VM changes, this is by design.
    As Alexey offered article, to have a dedicated Mac Address for the VMs they should be set to static MAC address, it is normal the dynamic assign to vm when the all the Hyper-v
    host as there own MAC address range , this is by design of Hyper V and failover clustering when using Dynamic MAC addresses for VMs.
    If you are using 2008R2 Hyper-V failover and you found it often lost the network connection and configuration, please install the hotfix.
    Reinstalled the integration services
    The network connection of a running Hyper-V virtual machine may be lost under heavy outgoing network traffic on a computer that is running Windows Server 2008 R2 SP1
    http://support.microsoft.com/kb/2263829
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Hyper-V MAC addresses

    Hi,
    I understand that each Hyper-v node in a cluster will have its own dynamic pool of MAC addresses that should be different between them. When a VM is started on a node it gets a MAC from this pool, if it's moved to another node and restarted it will get a
    new MAC from the pool on that node. This is a concern for me as I don't want MAC addresses to change when VM's are restarted on different nodes, besides statically assigning a MAC address to EVERY single VM (which could be a fair few with the amount you can
    host these days) is there any easier way to ensure once a VM has a MAC then it will always retain that MAC regardless of which node it is restarted on?
    I am running Server 2012 R2 as the hyper-v host if that makes any difference.
    Many thanks
    Steve

    Hi,
    With Hyper-V you can configure a virtual machine to use a dynamic or a static MAC address for any given network adapter.
    The default option is to use a dynamic MAC address – which means that Hyper-V will generate an initial MAC address for the network adapter, and it will regenerate the MAC
    address if it believes it is necessary.
    If you use static MAC addresses you need to manually specify the MAC address to use, but Hyper-V will never change it.
    More information:
    Hyper-V and Dynamic MAC Address Regeneration
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/05/14/hyper-v-and-dynamic-mac-address-regeneration.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Help setting VM's to use Static MAC using Powershell

    Hi all,
    I would like to create a powershell script to set all VM's with a Static MAC address on one of our Hyper-V Clusters.
    So far I've managed to do this in the gui buy creating a new MAC Pool then shutting down 1 of the VM's and changing the network card from dynamic to static 00:00:00:00:00:00 within it's properties. After the changes are applied the VM is given a MAC address
    from my MAC pool range.
    I'd now like to create a script to do this for the remaining VM's - could somebody possibly help me out.. I have tried using the 'view script' button but I don't understand the output.
    Many thanks for your help
    Robbie

    See this post:
    https://social.technet.microsoft.com/Forums/en-US/886dcbd0-ffb8-4468-90aa-ee84aa5d2b3f/scvmm-2012-how-do-i-assign-a-static-mac-from-the-default-mac-address-pool-to-about-300-vms-with?forum=virtualmachinemanager
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Static MAC stay if interface down

    Hello,
    Due to business circonstance I need a static mac in my switch.
    However, if the interface releated to this static mac is down the mac entry remain and cause all traffic to be dropped.
    I would, this mac address to be learned only if a specific interface is down. otherwise my static entry should direct of this mac to this specific interface.
    I need a static mac, but this also break redundancy if this specific interface is down :(

    Hi,
    I am not sure whether this answers your specific requirement or not, but have you tried adding the 'auto-learn' option to the static mac-address entry - this seems to cause the switch to ignore the static mac address if the same mac address is learnt on another interface. Is that what you want or do you simply want the static mac address to have precedence over dynamically learnt mac addresses unless the line protocol of the static mac address interface goes down.
    Very best wishess
    Mike

Maybe you are looking for