- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to disable layer 2 on VM guest
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2016 05:25 AM
04-29-2016 05:25 AM
How to disable layer 2 on VM guest
Hi.
1. I woud like to disable LAN interface on VM. Not only L3 via "ifconfig down" but L2 as well . Could you prompt me how to do it?
2. Is it possible to disable (somehow) specific port on vswitch? In hpvmnet man i've found posibility to tag/untag one but not to disable...
regards
Artur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2016 05:32 AM
04-29-2016 05:32 AM
Re: How to disable layer 2 on VM guest
I can only guess what this OS is, but why not unassign the LAN of the client from hosting device?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2016 05:55 AM
04-29-2016 05:55 AM
Re: How to disable layer 2 on VM guest
Sorry about OS. HP-UX 11.31 (1403) host/guest. VirtualBase B.06.30.
I want the NIC to be visible and inactive.
regards
Artur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2016 09:33 AM
04-29-2016 09:33 AM
Re: How to disable layer 2 on VM guest
Bonsoir
1) Not sure, but from the VM side try the command nwmgr --disable -c lanX where lanX is the interface you want do deactivate
2) In my knowledge there is no way to disable a port on a virtual switch
Maybe you could have a better answer if you tell us why you need an inactive NIC ... ???
HTH
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2016 01:09 AM
05-02-2016 01:09 AM
Re: How to disable layer 2 on VM guest
@Eric SAUBIGNAC wrote:1) Not sure, but from the VM side try the command nwmgr --disable -c lanX where lanX is the interface you want do deactivate
"nwmgr --disable -c lan4
ERROR: Unsupported operation: --disable"
This behaviour is not specific only to VMs. The same i've fount on rx2660 box (1403).
2) In my knowledge there is no way to disable a port on a virtual switch
That was my best shot. Unortunately, does not work ;-)
Maybe you could have a better answer if you tell us why you need an inactive NIC ... ???
Just testing differtent kinds of networking in clusters & VMs in comparition to linux. I want to force NIC to be in "DOWN" status not only "*". In linux ~"ifconfig down" closes 3 & 2 network layers.
In real life a can remove plug from NIC. In VMs I can not simulate that situation.
I've found similar unresolved thread.
Reagards
Artur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2016 02:01 AM
05-02-2016 02:01 AM
Re: How to disable layer 2 on VM guest
Bonjour,
IMHO it's a shame that --disable doesn't work with virtual NIC.
Anyway, a silly idea : what is happening to a vNIC if you halt the vswitch it is connected on ? I guess that the vNIC will appear disconnected on all layers but I have no HP-UX box within easy reach to make a test.
If it gives the result you are waiting for, and depending on how many physical NIC you can play with, the idea could be to configure a special vswitch that you can halt or restart on demand. You keep your VMs connected to a "normal" vswitch and you add virtual NIC connected to the "special" vswitch for those VM you want to test ?
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2016 02:39 AM
05-02-2016 02:39 AM
Re: How to disable layer 2 on VM guest
@Eric SAUBIGNAC wrote:Bonjour,
IMHO it's a shame that --disable doesn't work with virtual NIC.
Anyway, a silly idea : what is happening to a vNIC if you halt the vswitch it is connected on ? I guess that the vNIC will appear disconnected on all layers but I have no HP-UX box within easy reach to make a test.
I guess the same but I don't have additional/free NIC to create vswitch. And I can not disable existing one because there are connected more clients. Besides AFAIK I should restart VM to add new vNIC.
If it gives the result you are waiting for, and depending on how many physical NIC you can play with, the idea could be to configure a special vswitch that you can halt or restart on demand. You keep your VMs connected to a "normal" vswitch and you add virtual NIC connected to the "special" vswitch for those VM you want to test ?
I'm looking for advisably solution notwithstanding your idea is worth thinking. Thanks for it.
Regards
Artur