Guest User!

You are not Sophos Staff.

Hyper-V synthetic nic can't handle 'resets'

Hi.

Using Hyper-V with Astaro Security Gateway, works well, 
but everytime my cable modem resets, for firmware upgrade, or whatever,
Astaro loses connection with the network interface that Hyper-V provides.

The moment my cable modem resets, the NIC in Windows that has the Virtual Switch Protocol enabled, says 'Cable Disconnected', followed by 'Cable Connected'. But from that moment on, Astaro remains disconnected.
 
Strangely enough when I manually disable that adapter and then Enable it again, Astaro picks this up, and the connection is running again.
 
Is this a bug that can be fixed? Would be great!

Cheers,

atm0s_.
Parents
  • are you using the legacy nic?  if so redo the vm with the hyper-v native nics.  I am running my network off hyper-v and my cmodem resets at least weekly without issue on the Astaro vm here.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • I ran asg in hyper-v with a cable modem for about one year.

    I found that the physical nic on the hyper-v machine which is used by the asg guest (and which the cable modem plugs into) has to have ip4 unselected in properties for the cable modem to work correctly when it rebooted.

    The cable modem binds to the first mac address it "sees" on boot up.  It will then only provide internet access to that same mac address until it is restarted. 

    If the hyper-v machine has ip4 enabled on the physical nic, the cable modem will bind with the mac address of the hyper-v machine's actual physical nic.  The mac address of that physical nic will be different from the mac address of the virtual asg guest.  Thus, asg will not be able to connect to the internet.



    For clarification:

    Hyper-v machine:
    PHYSICAL NIC 1 ----> Cable modem (used by ASG guest as WAN - external)
    PHYSICAL NIC 2 ----> Hyper-v host uses it to connect to switch

    PHYSICAL NIC 1 will have a mac address [MAC ADDRESS A]
    ASG GUEST will have it's own seperate mac address for WAN-external interface [MAC ADDRESS B] This asg mac will be different than PHYSICAL NIC 1 mac.

    If PHYSICAL NIC 1 has ip4 selected in properties, then on cable modem reset it will bind with MAC ADDRESS A (the actual physical nic on the host). It will not bind with [MAC ADDRESS B] - asg's virtual nic.  ASG will not have internet access.

    IF PHYSICAL NIC 1 has ip4 unselected in properties, then on cable modem reset it will bind with MAC ADDRESS B (the asg guest).  ASG will work correctly

    Bob
  • I ran asg in hyper-v with a cable modem for about one year.

    I found that the physical nic on the hyper-v machine which is used by the asg guest (and which the cable modem plugs into) has to have ip4 unselected in properties for the cable modem to work correctly when it rebooted.

    The cable modem binds to the first mac address it "sees" on boot up.  It will then only provide internet access to that same mac address until it is restarted. 

    If the hyper-v machine has ip4 enabled on the physical nic, the cable modem will bind with the mac address of the hyper-v machine's actual physical nic.  The mac address of that physical nic will be different from the mac address of the virtual asg guest.  Thus, asg will not be able to connect to the internet.



    For clarification:

    Hyper-v machine:
    PHYSICAL NIC 1 ----> Cable modem (used by ASG guest as WAN - external)
    PHYSICAL NIC 2 ----> Hyper-v host uses it to connect to switch

    PHYSICAL NIC 1 will have a mac address [MAC ADDRESS A]
    ASG GUEST will have it's own seperate mac address for WAN-external interface [MAC ADDRESS B] This asg mac will be different than PHYSICAL NIC 1 mac.

    If PHYSICAL NIC 1 has ip4 selected in properties, then on cable modem reset it will bind with MAC ADDRESS A (the actual physical nic on the host). It will not bind with [MAC ADDRESS B] - asg's virtual nic.  ASG will not have internet access.

    IF PHYSICAL NIC 1 has ip4 unselected in properties, then on cable modem reset it will bind with MAC ADDRESS B (the asg guest).  ASG will work correctly

    Bob


    THe one thing you have to do in hyper-v is set a mac address statically on the nic used for the cable modem..forgot about the nic binding thing...  Set a static mac on the cmodem nic and then power cycle the modem and things work fine after that with no issues..[:)]  You don't even have to have a "valid" one just make one up and set it statically.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Reply
  • I ran asg in hyper-v with a cable modem for about one year.

    I found that the physical nic on the hyper-v machine which is used by the asg guest (and which the cable modem plugs into) has to have ip4 unselected in properties for the cable modem to work correctly when it rebooted.

    The cable modem binds to the first mac address it "sees" on boot up.  It will then only provide internet access to that same mac address until it is restarted. 

    If the hyper-v machine has ip4 enabled on the physical nic, the cable modem will bind with the mac address of the hyper-v machine's actual physical nic.  The mac address of that physical nic will be different from the mac address of the virtual asg guest.  Thus, asg will not be able to connect to the internet.



    For clarification:

    Hyper-v machine:
    PHYSICAL NIC 1 ----> Cable modem (used by ASG guest as WAN - external)
    PHYSICAL NIC 2 ----> Hyper-v host uses it to connect to switch

    PHYSICAL NIC 1 will have a mac address [MAC ADDRESS A]
    ASG GUEST will have it's own seperate mac address for WAN-external interface [MAC ADDRESS B] This asg mac will be different than PHYSICAL NIC 1 mac.

    If PHYSICAL NIC 1 has ip4 selected in properties, then on cable modem reset it will bind with MAC ADDRESS A (the actual physical nic on the host). It will not bind with [MAC ADDRESS B] - asg's virtual nic.  ASG will not have internet access.

    IF PHYSICAL NIC 1 has ip4 unselected in properties, then on cable modem reset it will bind with MAC ADDRESS B (the asg guest).  ASG will work correctly

    Bob


    THe one thing you have to do in hyper-v is set a mac address statically on the nic used for the cable modem..forgot about the nic binding thing...  Set a static mac on the cmodem nic and then power cycle the modem and things work fine after that with no issues..[:)]  You don't even have to have a "valid" one just make one up and set it statically.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?