Hi all,
I'm running UTM9 on my own hardware and I am having an issue with the DHCP server and the DNS server addresses it gives to my clients. I use a DNS redirection service so that I can view US web content in Canada. I want to use the redirection DNS server only on my XBOX360 and PS3 consoles but I also want the ability to easily switch back to using the UTM as my DNS server (in case I want to view Canadian content again), I tried to accomplish this by setting up two DHCP servers and use static mappings. For example:
My UTM "Internal' address is 192.168.1.1/24 which has DHCP server 'Internal' with the following settings:
Range: 192.168.1.80 - 192.168.1.89
Gateway: 192.168.1.1
DNS1: 192.168.1.1
DNS2: 0.0.0.0
I have a static mapping for my Windows 7 PC (192.168.1.100) to use the 'Intenal' DHCP server.
For the consoles I added an additional address for my 'Internal' interface with IP 192.168.1.254/24 and I set up a second DHCP server 'Internal (Alt)' with the following settings:
Range: 192.168.1.90 - 192.168.1.99
Gateway: 192.168.1.254
DNS1: 123.456.789.1
DNS2: 123.456.789.2
I have a static mapping for my PS3 (192.168.1.200) and XBOX360 (192.168.1.201) to use the 'Internal (Alt)' DHCP server.
So the PS3/XBOX360 work great - they get a static DHCP lease from the UTM and with the gateway as 192.168.1.254 with DNS servers 123.456.789.1/123.456.789.2.
The Windows 7 PC on the other hand is a different story - its gets its static DHCP lease from the UTM with the gateway as 192.168.1.1 (which is correct) with DNS servers of 123.456.789.1/123.456.789.2 (which is wrong). If I disable and re-enable the NIC in windows it will get the proper gateway (192.168.1.1) and DNS (192.168.1.1). It seems to be hit and miss - the gateway assigned by the DHCP server is always correct but the DNS servers are only correct some of the time. Why would it give the proper gateway and wrong DNS?
I have a feeling it is bad practice to have two DHCP servers on the same network but I'm not sure how else I could accomplish what I am trying to do. All my other static and non-static DHCP clients seem to get the proper gateway and DNS as per the 'Internal' and 'Internal (Alt)' servers - I don't know why the Windows 7 PC is the exception to that? Cause it's Windows 7? [:)]
Any ideas? If it is only the Windows 7 PC that is having the issue I will manually enter its network settings - I am curious as to why it is the only one that doesn't get the proper settings?
Thanks!
This thread was automatically locked due to age.