Security

 View Only
Expand all | Collapse all

ClearPass Hyper-v loses mgmt IP after reboot

This thread has been viewed 58 times
mkk

mkkNov 24, 2018 03:08 PM

  • 1.  ClearPass Hyper-v loses mgmt IP after reboot

    Posted Nov 23, 2018 04:51 PM

    Hi Airheads friends,

     

    Today i focus a weird issue. I installed Clearpass 6.7.0 on Hyper-V everything works so far but after reboot the management IP is gone. I update to 6.7.7 and got the same issue.

     

    I read some about Hyper-V issues with networkcards on the forum and first what i did is to set the hyper-v mac-adres from the default dynamic mac to static mac.

     

    I checked the network interface and it is just a normal interface, not a legacy.

     

    After a reboot the management interface is gone time after time.

     

    Only thing to mension is that the customer is running Hyper-V 2019 and that is not supported in the release notes right now. But iam not sure if that is the big issue because i see some similar issue on the forum with 2012R2. Customer insists that I install it on 2019.

     

    Who as the gold tip?

     

     



  • 2.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Nov 24, 2018 03:08 PM
    Nobody familar with this issue?


  • 3.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Nov 26, 2018 01:34 PM

     

    Yeah, I've had the same issue. Mine was solved with doing the things you described. Normal (not legacy) and static mac. But if I remember correctly TAC had to do some adjustment aswell. So maybe try contacting aruba support ?

     

    EDIT: did you follow all of these steps ? 

    https://www.arubanetworks.com/techdocs/ClearPass/6.7/InstallingOnVM_6.7_TechNote/Content/InstallOnHyperV/AfterUpgradeToHyperV.htm

     

    system refresh-network

    and reboot



  • 4.  RE: ClearPass Hyper-v loses mgmt IP after reboot
    Best Answer

    Posted Dec 25, 2018 07:04 AM

    Problem is fixed by TAC support. From what i understand (i wasnt onsite) is that  they remove both nics from hyper-v create two new one and leave it on "dynamic mac". 



  • 5.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Aug 27, 2019 09:19 AM

    Hey guys, to anybody who wants to solve this without calling TAC, we had the same issue and it was resolved by using a fixed mac-address on the Hyper-V servers (requires the server to be off to change), then issuing the system refresh-network command at CLI, which will require a reboot. Apparently this command remaps the ethernet ports to the new MAC addresses. After that no more IP loss after reboot.

     

    -RK



  • 6.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Sep 10, 2020 03:09 PM

    Today, I ran into the same problem with an upgrade from 6.9.0 to 6.9.2.

    This bug is still present and fix is still usable!

    Thanks to you, I didn't have to contact TAC.



  • 7.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Oct 05, 2021 04:39 AM

    Hi,

    I can confirm that the dynamic mac setting leads also on Hyper-V 2016 to a llost IP.

    In my case, it was enough to shut down the VM and change the setting to "Static".

    After the next boot, the clearpass VM was reachable again.

    It was not necessary to issuing the system refresh-network command in this case.
     



    ------------------------------
    Best regards, mom
    ------------------------------



  • 8.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Apr 09, 2026 05:39 AM

    After several emails back and forward from TAC with them saying that IP settings would not be lost after a reboot, I had to look into this myself.

    Confirming that this fixed the issue for us on v6.11.13.264080. Thank you!

    -------------------------------------------



  • 9.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Apr 09, 2026 06:33 AM

    Hi,
    as this thread is a bit dated, I would say there are some new insights to this topic.

    I think this behaviour is not a ClearPass related problem.
    But more an issue with Hyper-V.
    I saw this not only with ClearPass but also with Mobility Conductor VMs and basically with any linux VM.

    After several installations, I can recommend the following best practice:

    • Use Static MAC Addresses
    • Use MAC Addresses reserved for private use, like recommended also for VSX Active Gateway VMAC
      (May the Hyper-V management will reuse a dynamic assigned MAC, converted to a static MAC, if the Guest VM was moved.)
    • Use a lower MAC Address for NIC 1
    • Use a higher MAC Address for NIC 2

    You should use the lower MAC address for adapter one.
    Because the guest will use the adapter with the lowest MAC address for the first (lowest numbered) NIC.
    There are also hints about it in the ClearPass Update and installation guides:
    After You Install on ESXi Servers: Establishing NW Connectivity
    VMware vSphere Hypervisor Installation Process Overview
    This is indeed VMware specific, but I saw the same behaviour also on Hyper-V.
    And also regardless of the guest VM product.
    For example, if you boot up a Rocky Linux, the adapter with the lowest MAC will get the first NIC within the guest.

    If you now move the VM to another Hyper-V host, it could happen that the target hypervisor renumbers the NICs in a "dynamic fashion".
    And if the NICs get completely new MAC Addresses (based on the HW MAC of the host), the IP will not be migrated from the old VM NIC to the new one.
    You will have to reconfigure your IP settings on the Guest, or recover the original MAC address settings for the guest VM.

    I had also the problem once, that the VM on the source Hyper-V host was using a higher MAC address (static) for NIC one, than for NIC two on the target Hyper-V Host (dynamic).
    In this case, the VM was flipping the NIC numbering.
    And because NIC two was not connected, it was going offline.
    We had to enable NIC 2 and disable NIC 1.

    If this happens to you on a Mobility Conductor, the Conductor will change its license passphrase - so if you download your licenses from NSP, you know what to expect.

    So this is true not only for ClearPass, but potentially for all Linux guests on Hyper-V.
     



    ------------------------------
    Best regards, mom
    ------------------------------



  • 10.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Apr 09, 2026 04:40 PM

    Cheers for the detailed update - I'll have a look at the MAC numbering.

    Out of interest, how have you found the reliability of Mobility Conductor on Hyper-V? Our findings showed it's not officially supported (might just be specific versions, I don't remember), so we had to spin up a KVM instance specifically for it. Our customer, like everyone, was moving off VMware. I'd be keen to hear how it's been for you - I'm sure you can imagine that having a separate server just for KVM isn't the most perfect solution.

    -------------------------------------------



  • 11.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted Apr 10, 2026 03:32 AM

    Hi,

    in my opinion, it is supported for Aruba AOS-8 for quite a while.
    For example, the installation is documented already in the AOS 8.2.0.0 Virtual Appliance Installation Guide from page 51.
    It is also documented in the 8.10 Version from page 60.
    But it is not documented in the initial document from 2016, so Hyper-V Support seems to be introduced with 8.2.x. and Windows Server 2012 R2.

    However, I'm realy not an Hyper-V fan.
    There are several disadvantages over other Hypervisors.
    But, if you follow the installation guide, mobility conductor VMs are running stable.

    I am accompanying a client since 8.4 on hyper-v with a conductor setup.
    We have done several migrations (MS Server 2012R2 -> 2016 -> 2019).

    The main problem was always, that Hyper-V may flips the MAC addresses in dynamic mode.
    Even at migrating the VM within the cluster! I don't know if this is a Microsoft Bug or Feature...
    We learned, that the master my change its license passphrase, because its obviously related to the MAC address.
    And, if you fail the machine back to the origin cluster node, it may or may not, changes its passphrase back.

    If you are using the license download feature (from NSP), the licenses are gone. (May also if you install them manually, but I always use the download mode.)
    So if there is a HW failure on Hyper-V layer, lets say in the middle of the nigth, you may have a global SSID outage, if nobody has an eye on monitoring.
    Of course, it depends on all the cirumstances (was the VM also crashing, or only rebooted on the next node, does the backup MM taking over...?).

    To get arround with this, we configured all mac addresses to static.
    This means also, if you migrate to new HW and Hyper-V Version, be sure, not to boot up the VM on the new cluster before it is ensured, that the VM has the correct settings.
    This may depend on how the compute guys carried out the migration from the old to the new cluster.

    But if you take an eye on all this, it works very reliable.
    (Despite, Hyper-V is slower ... many nice features are missing [private V-Lan -> 10k micro segmentation, and so on]).
     


    ------------------------------
    Best regards, mom
    ------------------------------



  • 12.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted 24 days ago

    Thanks for the detailed info. Yes, I agree that Hyper-V is fairly simple compared to some other hypervisors - although with VMware now being priced out of the market for most then we're quite limited on options. Thanks again!

    -------------------------------------------



  • 13.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted 24 days ago

    My you trie to evaluate HPE Morpheus VME.



    ------------------------------
    Best regards, mom
    ------------------------------



  • 14.  RE: ClearPass Hyper-v loses mgmt IP after reboot

    Posted 23 days ago

    Thanks, yeah we're aware of it - it's probably still a little too new for us to consider though. Cheers!