VMware vSphere

 View Only
  • 1.  Disable Ethernet Interface on HOST

    Posted Jun 18, 2020 09:06 AM

    Good day to you!

    Any one knows how to create shedule task on HOST that Enable/Disable ethernet interface.

    Please help!



  • 2.  RE: Disable Ethernet Interface on HOST

    Posted Jun 18, 2020 11:31 AM

    Why are you capitalizing the word "host" here? Why do you want to do this?



  • 3.  RE: Disable Ethernet Interface on HOST

    Posted Jun 19, 2020 08:31 AM

    Good day!

    Our local net is isolated from internet, but periodically I need to update virtual machines and some software products in internet. I can disable network interfaces in virtual machies but our security administrator said that not right because on host network interfaces of local net and internet are still working.I need that host must shut down his local network interface and internet interface enable so virtual machines can update software. When update is over host must shut down internet interface and enable local net interface.



  • 4.  RE: Disable Ethernet Interface on HOST

    Posted Jun 19, 2020 11:28 AM

    That makes...no sense. In any case, the esxcli command pointed out by Scott will bring the vmnic uplinks associated with those switches up or down.



  • 5.  RE: Disable Ethernet Interface on HOST

    Posted Jun 18, 2020 03:48 PM

    esxcli network nic down -n vmnicX

    Replace "down" with "up" to enable.