VirtualBox

Changes between Version 1 and Version 2 of Ticket #13656, comment 2


Ignore:
Timestamp:
Dec 8, 2014 3:24:22 PM (10 years ago)
Author:
Luis Nunes

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13656, comment 2

    v1 v2  
    22If I'm wrong and NetworkManager may control vboxnet then something needs to be set.
    33
     4Summary of what was happening:
    45As per the host boot.log, my referenced workaround above in rc.local is invoked at 11:42.
    56At 11:42 vboxmanage is called and eth0 becomes 192.168.56.1 and it seems by NetworkManager.
     
    2930I figure its okay NM to control other interfaces but not vboxnet.
    3031
     32Solution:
    3133The best approach I've read is to leave NM manage all devices as above, and add NM_CONTROLLED=no to the ifcfg-vboxnet as exception t the controlled interfaces:
    3234{{{
     
    5153Plus, not having vboxnet0 managed by NM this interface got the IP 192.168.56.1 after called vboxmanage and not only after a VM starts (a situation found before solution).
    5254
    53 In summary, after I call vboxmanage, NM finds a new device called vboxnet and detached current eth0 ip with the one belonging to vboxnet0, breaking remote access to eth0 and leaving vboxnet without an IP. Kind of strange what it did.
     55In summary what was happening IMHO, after I call vboxmanage, NM finds a new device called vboxnet and detached current eth0 ip with the one belonging to vboxnet0, breaking remote access to eth0 and leaving vboxnet without an IP. Kind of strange what it did.
    5456
    5557I would appreciate a comment from development, because, I want to leave NM working and not allowing it to manage vboxnet. Letting me know if other approaches keeping NM working is known.

© 2023 Oracle
ContactPrivacy policyTerms of Use