+ Post New Thread
Results 1 to 5 of 5
Thin Client and Virtual Machines Thread, P2V method that retains IP, regardless of network card? in Technical; It's a relatively minor annoyance, but I wondered if anyone's found a non-manual workaround for this? Specifically on Xen. A ...
  1. #1


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,534
    Thank Post
    271
    Thanked 752 Times in 590 Posts
    Rep Power
    218

    P2V method that retains IP, regardless of network card?

    It's a relatively minor annoyance, but I wondered if anyone's found a non-manual workaround for this? Specifically on Xen.

    A physical or vmware to xen conversion creates a new virtual nic, which gets a dhcp lease instead of the static ip set to the physical card. When Xen tools is installed, the card changes again (default virtual realtek to Xen PV Nic) and grabs a dhcp lease again.

    I'm going to end up scripting something that reapplies the original ip settings and forces re-registration in dns based on hostname aren't I?

  2. #2

    Join Date
    Sep 2007
    Location
    Newark On Trent
    Posts
    28
    Thank Post
    0
    Thanked 8 Times in 3 Posts
    Rep Power
    16
    I think you will need to script it, the script would look something like this:
    netsh interface ip set address "Local Area Connection" static 192.168.0.1 255.255.255.0 192.168.0.254 1
    netsh interface ip set dns "Local Area Connection" static 192.168.1.200 primary
    ipconfig /registerdns

  3. #3

    Join Date
    Sep 2007
    Location
    Newark On Trent
    Posts
    28
    Thank Post
    0
    Thanked 8 Times in 3 Posts
    Rep Power
    16
    This may also help
    Cool Things to Do with Netsh

  4. Thanks to wrights from:

    pete (28th October 2009)

  5. #4


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,534
    Thank Post
    271
    Thanked 752 Times in 590 Posts
    Rep Power
    218
    Didn't know that worked on remote machines as well.

    *wanders off to poke around*

  6. #5

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,573
    Thank Post
    869
    Thanked 1,293 Times in 786 Posts
    Blog Entries
    1
    Rep Power
    436
    Hmm I know that SCVMM migrations keep ip/mac but I am not sure if it outputs xen. It def can output a vmware image though I am sure so you could try it?

SHARE:
+ Post New Thread

Similar Threads

  1. Xenserver P2V
    By cookie_monster in forum Thin Client and Virtual Machines
    Replies: 7
    Last Post: 28th October 2009, 04:14 PM
  2. P2V Conversion problem.
    By boomam in forum Thin Client and Virtual Machines
    Replies: 0
    Last Post: 27th August 2009, 09:44 AM
  3. [Ghost] Network card turning off in ghost
    By mdking in forum O/S Deployment
    Replies: 13
    Last Post: 10th July 2009, 07:07 PM
  4. [Wanted] 2 x Low Profile Network Card
    By FN-GM in forum Classified Adverts
    Replies: 0
    Last Post: 15th February 2009, 11:02 PM
  5. P2V converter - anyone used it?
    By Sirbendy in forum Thin Client and Virtual Machines
    Replies: 5
    Last Post: 3rd July 2008, 03:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •