1 8 9 10 11 12 Previous Next 176 Replies Latest reply on Sep 17, 2011 8:40 AM by WoodyZ Go to original post
      • 135. Re: Scripts to manage Fusion network settings
        MacUnixGuy Novice
        mgartner wrote:

        Don't understand why even the official support doesn't know this simple solution?

         

        Agreed. It should have been documented as part of the new release (it may have been, but I sure couldn't find it). I thought about calling support also, but figured it was not one of the common questions that they would have the answer to.

         

         

         

         

         

        Dave, thanks again for your quick response and help with this. Enjoy your vacation !

         

         

         

         

         

        • 136. Re: Scripts to manage Fusion network settings
          MacUnixGuy Novice
          rdgadget wrote:

          I did some messing around with this and found there are some other files that will have to be manually edited if you're using DHCP and/or NAT.  In the vmnet1 and vmnet8 directories are the dhcpd.conf files.  These will have to be modified to hand out the correct range of addresses, gateway, etc.  Also in vmnet8 there is a nat.conf file that will need to be edited to point to the NAT gateway.  I made these changes and all appears to be working correctly.  I would advise backing up the locations file as well as the dhcpd.conf and nat.con files just in case.

           

          That's interesting. All that I had to do was shutdown the virtual networks, modify the locations file, and start the virtual networks back up. VMware automatically modified all the necessary files in the vmnet1 and vmnet8 directories when I did this. I will be running through the steps on a clean install shortly and will post the results and modify the instructions if necessary.

           

          rdgadget wrote:

          Now all I still need is the ability to add additional network interfaces to Fusion.  I have a few images that require two different host only interfaces/subnets.  Waiting patiently for Dave's scripts.

           

          You don't have to wait, if you are willing to use a beta version. Dave attached a beta version of the scripts to a post earlier this morning (see previous page in thread).

          • 137. Re: Scripts to manage Fusion network settings
            mgartner Novice

            I also only had to modify the locations file and restart the virtual 

            networks!

             

             

             

            Am 29.10.2009 um 21:16 schrieb MacUnixGuy <communities-emailer@vmware.com

            >:

             

            Martin Gartner,

             

            A new message was posted in the thread "Scripts to manage Fusion 

            network settings":

             

            http://communities.vmware.com/message/1403409#1403409

             

            Author  : MacUnixGuy

            Profile : http://communities.vmware.com/people/MacUnixGuy

            Message:

             

            • 138. Re: Scripts to manage Fusion network settings
              rdgadget Novice

              mgartner/MacUnixGuy,

               

              I apologize for misleading anyone on modifying the dhcpd files.  I originally worked on this based on an older thread regarding Fusion 2.0.x.  It listed the necessary files that supposedly needed editing and included the files I mentioned earlier.  I never tried just doing the locations file and seeing if it automatically made the other changes.  This is great information!  Thanks for setting me straight on this guys.

               

              Rick

              • 139. Re: Scripts to manage Fusion network settings
                MacUnixGuy Novice
                rdgadget wrote:

                mgartner/MacUnixGuy,

                 

                I apologize for misleading anyone on modifying the dhcpd files.  I originally worked on this based on an older thread regarding Fusion 2.0.x.  It listed the necessary files that supposedly needed editing and included the files I mentioned earlier.  I never tried just doing the locations file and seeing if it automatically made the other changes.  This is great information!  Thanks for setting me straight on this guys.

                 

                Rick

                Rick, thanks for the info. That's good news. I won't worry about testing the instructions on a clean install then.

                 

                 

                 

                 

                 

                • 140. Re: Scripts to manage Fusion network settings
                  MacUnixGuy Novice

                  For those new to this thread, here are a couple of documents that should be helpful (see attached).

                   

                   

                   

                   

                  To configure VMware Fusion 2.x, follow the instruction in "VMware Fusion Network Settings - Part 1.pdf". (by Dave Parsons)

                   

                   

                  To configure VMware Fusion 3.x, follow the instruction in "VMware Fusion 3.x Virtual Network Configuration Instructions.pdf".

                   

                   

                   

                   

                  These documents give instructions on how to manually configure the IP address ranges for the VMware Fusion host-only (vmnet1) and NAT (vmnet8) virtual networks.

                   

                  If this is all you need to do, then you don't need to use any of the third-party scripts mentioned in this thread. If you do, however, need to make other changes, then you need to use the scripts created by Dave Parsons that are discussed in this thread.

                   

                   

                  • 141. Re: Scripts to manage Fusion network settings
                    DaveP Master

                    Actually locations is now deprecated and you use the networking file. There is much more you can add to it such as modifying specific entries in DHCP and NAT configuration files. Your solution will work for now, but will be best to migrate to the newer way of doing things. Be patient I'll get there with the documentation. (To be honest as it is becoming pretty easy to do this stuff manually now and will we need the scripts longer term, but will continue to do so for now.)

                    • 142. Re: Scripts to manage Fusion network settings
                      DaveP Master

                      Donovan

                       

                      Here are the scripts s I left them for Fusion 2. I have decided that I will concentrate on Fusion 3 for now but wanted you to have the last version I was using. it should allow:

                       

                      1. Setting host virtual NIC address directly

                      2. Setting vnet NAT address directly

                      3. Profile support

                       

                      Just run the tokamak.sh script without parameters to see the options. I'll fix up any simple errors if you find them.

                      Dave

                      • 143. Re: Scripts to manage Fusion network settings
                        DonovanBrooke Enthusiast

                         

                        Thanks Dave,

                         

                         

                        Makes sense.. we'll give it a whirl over the weekend.

                         

                         

                        Donovan

                         

                         

                         

                         

                         

                         

                         

                         

                        • 144. Re: Scripts to manage Fusion network settings
                          fusionnotfission Novice

                          Excellent thread, read thru it all...everyone here is talking about modifying the IP addresses of their vmnet8 or vmnet1 interfaces....what if I just want to blow them completely away, so they don't exist anymore?  I am not going to use anything but Bridged and need to get these interfaces off my MAC!  I am running SL server as a host, and Open Directory doth not like extranneous interfaces...would I just want to totally delete my locations file?  Hmmmm....help please?

                          • 145. Re: Scripts to manage Fusion network settings
                            rcardona2k Champion
                            fusionnotfission wrote:

                            Excellent thread, read thru it all...everyone here is talking about modifying the IP addresses of their vmnet8 or vmnet1 interfaces....what if I just want to blow them completely away, so they don't exist anymore?  I am not going to use anything but Bridged and need to get these interfaces off my MAC!  I am running SL server as a host, and Open Directory doth not like extranneous interfaces...would I just want to totally delete my locations file?  Hmmmm....help please?

                             

                            I don't know if this will help but i was able to disable my vmnet1 and vmnet8 interfaces with:

                            sudo ifconfig vmnet1 down

                            sudo ifconfig vmnet1 delete

                            sudo ifconfig vmnet8 down

                            sudo ifconfig vmnet8 delete

                             

                            where vmnet-cli --status shows:

                            Bridge networking on vmnet0 is running

                            DHCP service on vmnet1 is running

                            Hostonly virtual adapter on vmnet1 is disabled

                            DHCP service on vmnet8 is running

                            NAT service on vmnet8 is running

                            Hostonly virtual adapter on vmnet8 is disabled

                            Some/All of the configured services are not running

                             

                            ifconfig still shows vmnet1 and vmnet8 but the interfaces are down and have no IP addresses assigned to them.  You could modify boot.sh to leave those interfaces down and IP-less.

                            • 146. Re: Scripts to manage Fusion network settings
                              fusionnotfission Novice

                              Thanks, but I think you went around the problem not right at it...i ended up fixing the problem by simply modifying the new networking file, not the locations file as noted earlier.  The networking file is even more straightforward, and as DaveP mentions earlier, is the bee's knees now in 3.0.  I basically wiped the entire contents of that small networking file away, leaving only the version info at the top of the file, and after restarting the mac, the interfaces are gone!  ifconfig doesn't even mention them anymore, not down, not up, just totally gone!  Woooohoooo!  Fusion seems happy with this as well now, but more testing will be needed of course. 

                               

                              Not sure that my process was 100% the Right Way(TM) to accomplish this task, but without further clarity on the subject it seemed the best approach.  I did of course take a backup of the networking file in case what I did has other bad effects somewhere in Fusion.

                               

                               

                               

                              Otherwise, cheers!

                              • 147. Re: Scripts to manage Fusion network settings
                                barnys Enthusiast

                                 

                                Dear Dave and fans,

                                 

                                 

                                I have been away for a few days from the threads, and after reading most of the postings from this section, I must admit that I am confused on the current state of your scripts and Fusion 3.  So here I go:

                                 

                                 

                                1) Can your latest scripts posted in October 30th be used in Fusion 3 already?

                                 

                                 

                                2) If so, what is missing or what are the DONT'S ?

                                 

                                 

                                 

                                 

                                 

                                Thank you!!!!!!!!

                                 

                                 

                                • 148. Re: Scripts to manage Fusion network settings
                                  DaveP Master

                                  No they were really for Donovan who wanted my last set for Fusion 2. Now I thought I had posted a test set of scripts here last week on 29th but I cannot find them! I will trawl through the posts again. Otherwise I have some scripts that can be tried out but I am running behind on the manual due to walking back into a bit work issues that have taken me away from writing.

                                  • 149. Re: Scripts to manage Fusion network settings
                                    fusionnotfission Novice

                                     

                                    Dave, scripts aside, can you just tell me whether my "fix" of just deleting the contents of the 'networking' file, but leaving the file itself intact, is a good solution for those of us who only use Bridged networking, and want to totally remove the vmnet1 and 8 adapters? 

                                     

                                     

                                    Thanks again!