Solved

Windows XP Mode in 7 and DHCP

Posted on 2010-11-30
9
1,354 Views
Last Modified: 2012-05-10
On my Windows 7 Professional computer -- and all of the other computers in the same segment -- receive DHCP responses from our primary DHCP server.  We also have a DHCP server on our firewall that serves VPN clients (more reliably) with a different range.

The problem is that my Virtual Windows XP session on my Windows 7 computer receives DHCP requests from the firewall's DHCP server and not our primary DHCP server.

1. Why would it receive requests from a different server than it's host?

2. Is there a way to force it to query a specific DHCP server?

I could set a Static IP if necessary, but I'd prefer not to.  Thanks in advance!
0
Comment
Question by:Wade_Chestnut
  • 4
  • 4
9 Comments
 
LVL 10

Expert Comment

by:WayneATaylor
ID: 34242344
As long as the XP Mode is set to conect to the same network as the local machine then it will get DHCP requests from the same server, and unless you have 2 DHCP servers on the same network segment you should be OK.

If not then I would guess that it is a VLAN issue, in that you need to configure the XP Mode machine intio the correct VLAN or something like that.

Wayne


0
 

Author Comment

by:Wade_Chestnut
ID: 34242394
We only have 1 network segment (192.168.0.x) and no VLANs.  Our primary (Windows 2003) DHCP server has a range of .100-.199 and the firewall DHCP service has a range of .200-229 for VPN clients.  

I'm sure having a second DHCP server is not the best way to go, but the DHCP passthru didn't work 100% on the firewall for VPN clients and I didn't want it to be our primary DHCP server.
0
 
LVL 10

Expert Comment

by:WayneATaylor
ID: 34242432
Ok, so do you have 2 DHCP servers that can service the same segment, as if you do that is definately not good...

Depending on your lease time on the DHCP server, you might just be lucky that so far the current machines have been OK as they will get the same address that they were given, but if your XP mode came online later that is maybe getting its address from the other DHCP server.

As I said, you NEVER wanty to have 2 DHCP servers on the same segment unless using VLANs etc.

Wayne

0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Accepted Solution

by:
Wade_Chestnut earned 0 total points
ID: 34242526
Well, it may be luck but I've introduced a good number of new computers to the network and all of them received replies from our primary DHCP server.  This virtual XP is the only one that won't.

I did try to delete the dynamic entry from the firewall's DHCP server, then renewed in XP -- still went back to the firewall.  So, I ended up changing the virtual XP's IP to static for now.  

The dual DHCP server is necessary for us now until we can replace the firewall.  Since the IP ranges don't overlap, it shouldn't cause any real problems.

Thanks anyways.
0
 
LVL 10

Expert Comment

by:WayneATaylor
ID: 34242565
Sound smore like luck to  me then!!!

Can you not bind the firewall DHCP server to only give out addresses to WAN connections and not bind to the local lan?

Wayne




0
 

Author Comment

by:Wade_Chestnut
ID: 34242738
Strangely, no.  It's a SonicWALL TZ 170 and the DHCP server settings only allow LAN and OPT interface to be selected, not WAN.  Instead, there is a DHCP Relay setting under VPN where you can tell it to use it's internal DHCP server but not exclude LAN-side requests.  We're about to replace the firewall soon anyways so this temporary workaround will do for now.
0
 
LVL 10

Expert Comment

by:WayneATaylor
ID: 34242758
Yes does sound strange, as you really don't want 2 DHCP servers to be responding on the same segment, so I guess the quicker youc an change it the better!  

Cheers
Wayne
0
 
LVL 7

Expert Comment

by:JohnThePro
ID: 34243141
Yea, you are just suffering the adverse effects of a quirky setup. It happens, good luck with the router swap.
0
 

Author Closing Comment

by:Wade_Chestnut
ID: 34391715
No other solutions was proposed
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question