February 23, 2012

Breaking new ground : An UBER Tool for the Mac

Screen Shot 2012-01-10 at 12.45.45 AMA few months ago I bought my first Mac. I had been a hardcore Windows workstation kind of guy. And being a C# coder in the late hours of the night it was all I needed. But, after seeing my former teammates (vSpecs) using their sexy Mac Books I finally made the switch. I picked up a Mac Book Air and from the minute I started using it, fell in love with everything about it.

Because of this switch I have come to learn the things that the Mac (and Lion) do really well with some things while Windows does better with others. For almost all of my UBER projects I use my beefy Windows workstation running VMware Workstation to setup my lab/dev environments.

But, recently I started trying to move over to my Mac and using VMware Fusion to build lab virtual machines for developing. And to my surprise I found that things in the Fusion world aren’t quite the same as for Workstation. Namely, the networking options are rather limited. By default you only get the choices of three networks 1) DHCP w/ NAT  2) DHCP and 3) Bridging to a physical interface. For me that meant that I couldn’t get a network without DHCP (important if you are testing it) or create multiple isolated networks like I could on Workstation.

So I went digging and found that at one point someone has written some slick scripts to allow for custom multi-network setup but it stopped being updated after Fusion 2. I also found that VMware has some KB articles on how to hack your way to adding networks. But neither was very easy to do or dealt with modifying the VM’s well.

So I decided to fill this gap myself. Over the Christmas holiday I worked furiously to make this and now I am proud to present the next UBER release and my first project in the Manic Innovation Challenge: UBER Network Fuser (UNF)

UNF is a native Mac OSX application supported on Snow Leopard and Lion that allows you to add additional networks to VMware Fusion, customize their settings, and easily change network selection for any Fusion VM’s. I designed it to be simple to use and be similiar to how VMware Workstation network editor works.

Screen Shot 2012-01-10 at 12.46.01 AMHere is the full feature list:

  1. Allows up to 10 additional custom networks (total of 12)
  2. You can enable/disable DHCP, NAT, virtual host adaptor on any network
  3. Protects and provides rollback of default Fusion settings
  4. Allows dynamic changes of network membership with Fusion VM’s
  5. You may alias networks with custom names (even Workstation doesn’t do this)
  6. Tested and confirmed that VLAN tagging works as expected within private networks
  7. Saves configuration per user (names, paths, etc)
  8. Integrates with Apple’s Security framework for elevated privileges when needed

 

I created a video to demonstrate how it works below:

And to download (free as always) use the link below:

Download UBER Network Fuser 1.0 – DMG for Snow Leopard & Lion (Updated link to new 1.701 version)

 

This is my first release in the Manic Innovation Challenge. It is written in Objective C & C and uses the Cocoa and Security frameworks. Challenge-wise it was definitely an experience learning and writing an app in Objective C in  few weeks. But, it was crazy fun and I have all kinds of cool ideas for the Mac now.

Also, this marks post #100 for me in the 2.3 years I have been running Nickapedia.com. Being that it is also my birthday I am considering today a good day.

As always please test and play with it and let me know with some comments below.

.nick

  • Seanjohns

    Outstanding sir… thank you very much.  I am hoping this will help me solve an issue with our home surveillance software that only works in XP but I could never get to work in fusion.  Slick install screen, looks great so far but I had immediate crash so will troubleshoot/reboot etc. Happy Birthday and thanks for giving us all a gift.

    • Anonymous

      There was a bug for OSX 10.6.* users

      Try the new update: http://nickapedia.com/2012/01/11/quick-update-unf-version-1-701/

  • http://twitter.com/ajkuftic AJ Kuftic

    Standing ovation. My lab just got a million times cleaner. THANK YOU!

  • Swatcat

    Thanks Thanks this tools is good, I waiting so much time for a tool like this

  • http://twitter.com/hashmibilal Bilal Hashmi

    Great work Nick and happy birthday :D

  • http://twitter.com/packetzapper James Doran

    Nice one Nick.  This makes it much easier to run up test environments on the Mac.  Many thanks..

  • Dave P

    Nick I as the guy who write those scripts many years ago. Great to see a new take on the networking for Fusion. Thanks for the work.

  • Chris C.

    Ha, I also spent some time recently writing exactly the same piece of software, you got a lot further than I did though!

  • Chris C.

    I can’t copy the app out of the dmg, I get “The operation can’t be completed because you don’t have permission to access some of the items.”

    • Chris C.

      This is on 10.7 btw.

      • Anonymous

        Working great on both of my 10.7 MBA’s – did you try copying using Terminal? /Volumes/UNF_1.701/*

  • Kyle H

    Cool App. I would like to see the ability to modify the DHCP range for NAT connections.

    Looks like there is a bug that if you have the network editor open and have Default NAT selected and you have Fusion open, then you close Fusion the buttons for DHCP/NAT/Virtual Adapter become click-able.

    • Anonymous

      Thanks – will note/fix

  • Kyle H

    another small issue, If I close the window using the red X in the top left corner it does not close the app, but it leaves me in a state where I need to close and reopen the app again to get the main window back up. You should be able to select Window > UBER Network Fuser after you click the red X so you can bring it back. That or just make it so when you click the red X it actually closes the application.

    • Anonymous

      Thanks for this – Mac Cocoa is a new game for me. Little details like this are easy to not know.

  • Pingback: UBER Network Fuser: Tips and Tricks « Virtual Potholes