+ Reply to Thread
Results 1 to 5 of 5

Thread: P2V method that retains IP, regardless of network card?

  Share/Bookmark
  1. #1

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    2,617
    Thank Post
    132
    Thanked 306 Times in 246 Posts
    Rep Power
    86

    Default 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

    Reputation

    Join Date
    Sep 2007
    Location
    Pontefract
    Posts
    17
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    7

    Default

    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

    Reputation

    Join Date
    Sep 2007
    Location
    Pontefract
    Posts
    17
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    7

    Default

    This may also help
    Cool Things to Do with Netsh

  4. Thanks to wrights from:

    pete (28-10-2009)

  5. #4

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    2,617
    Thank Post
    132
    Thanked 306 Times in 246 Posts
    Rep Power
    86

    Default

    Didn't know that worked on remote machines as well.

    *wanders off to poke around*

  6. #5

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation
    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Scotland
    Posts
    3,846
    Blog Entries
    1
    Thank Post
    404
    Thanked 623 Times in 346 Posts
    Rep Power
    137

    Default

    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?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

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

Posting Permissions

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