how to create or modify vnic

Discussion in 'General Questions' started by beta_rmdf, Feb 24, 2010.

  1. beta_rmdf

    beta_rmdf Bit poster

    Messages:
    2
    I am trying to test out network booting. I have one machine acting as dhcp and tftp server. If i bridge both my machines to ethernet, and plugin, everything works fine. However, I would like to be able to test without an external switch (and without disrupting an existing network). It seems like there must be a way to create a new vnic, or to reconfigure one of the vnics to not run its own dhcp server.
    I have searched, and not been able to find how to do this. I was thinking it might have something to do with
    /Library/Parallels/Parallels Service.app/Contents/MacOS/prl_naptd, but have not found documentation.

    Thanks,
    ~Michael
     
  2. Elric

    Elric Parallels Team

    Messages:
    1,712
    Take a look at Preferences -> Networking

    The ability to create VNIC is not exported in Parallels Desktop, but I believe that just disabling DHCP for HostOnly network (in Preferences) will fit the requirements
     
  3. beta_rmdf

    beta_rmdf Bit poster

    Messages:
    2
    Fixed

    That did the trick.
    Thanks,
    ~Michael
     
  4. BassoB

    BassoB Bit poster

    Messages:
    1
    help

    the IP addresses that are associated with vnic0 and vnic1 are being registered with DNS (we are on corporate network).
    How do I stop this? I don't really need to have my hostname to resolve to bogus IP addresses.
     
  5. Perry Cadman

    Perry Cadman Bit poster

    Messages:
    10
    Stop vnic from registering DNS

    I am having the same problem. In Parallels Desktop 6 Preference/Advanced i unchecked the Shared and Host-Only Enable IPv4 and IPv6. The start range for Shared is 10.211.55.1 to 10.211.254 and the address of 10.211.55.2 registers in DNS for example and then for Host-Only the ranges is 10.37.129.1 to 254 and 10.37.129.2 registers in DNS. I am using Bridged mode only so the system ends up with 3 IP address in DNS.

    How can I stop the DNS registration for the vnic's -- we have more than one Parallels Desktop 5/6 setups and the DNS records are an issue.
     
  6. DJimenez

    DJimenez Bit poster

    Messages:
    4
    Same problem here with the VNICs registering in DNS. There has got to be some way to disable those vnics as we only support bridged mode for our users anyways. Parallels HELP.

    Daniel
     
  7. Elric

    Elric Parallels Team

    Messages:
    1,712
    Unfortunately I'm unable to verify the solution and have only steps for rather "expert" mac-users.. if you are, then try the next:

    start /Application/Utilities/Terminal and do the next (make sure that VMs are stopped):

    1. sudo vim /Library/Preferences/Parallels/network.desktop.xml

    find the line <Description>Shared Networking</Description> and correct the next line line <Enabled>1</Enabled> to be
    <Enabled>0</Enabled>

    Do the same for <Description>Host Only Networking</Description>

    2. restart the Parallels Desktop by executing commands

    sudo launchctl stop com.parallels.desktop.launchdaemon
    sudo launchctl start com.parallels.desktop.launchdaemon
     
  8. DJimenez

    DJimenez Bit poster

    Messages:
    4
    That worked and is a start, however you guys should provide a .pkg or at least some sort of a shell script please. I'm assuming it's not safe to copy that file between Macs.
     
  9. Elric

    Elric Parallels Team

    Messages:
    1,712
    We'll think about KB for this..

    btw, copying this file is ok. It doesn't contain anything host-specific while used with Parallels Desktop
     
  10. DJimenez

    DJimenez Bit poster

    Messages:
    4
    Oh really? So no worries about conflicting mac addresses or similar? Thanks!
     
  11. jdputsch

    jdputsch Bit poster

    Messages:
    1
    Editing the preferences file is a really crude hack and only a temporary solution at best.

    With Parallels 7, if I touch the network configuration using the GUI, then it re-enables the vnet0 and vnet1 interfaces that I so carefully disabled.

    There really ought to be a supported method to disable these interfaces.

    Thanks,

    Jeff.
     
  12. jaywelch

    jaywelch Bit poster

    Messages:
    1
    Digging up an old thread, but this is still an issue that continues in Parallels 8.

    Open terminal and type:
    $ prlsrvctl net del Shared
    $ prlsrvctl net del Host-Only

    As the previous note mentioned earlier, the vnics might be reactivated, but this is simpler than editing the plist.
     

Share This Page