OK - a bit later than planned but here are some IPCONFIG results (at the
bottom after the comments) - the key thing to note is that the IP address
appears as "(preferred)" when that is NOT the alternate setting established...
Thanks for the input folks...
The alternate user address is only assigned after the DHCP request fails.
In other words, you can determine the "fail" address that is issued. Vista
does request a new address when the network connection changes (assuming you
have that network interface set to request via DHCP). Bear in mind if you
go to sleep while in a location that provides a DHCP issued address and then
"wake up" in another location, it can take a while (I've seen it take about
30 seconds or more) before Vista gives up on the old profile and tries
searching for a new one (and thus obtains a new address).
Which is basically my point: it *should* detect a network change and
invalidate the previous IP address immediately, but it doesn't - hence IP
conflicts. Yes, I knew that the alternate was the "fail" result, which is a
bit annoying in the first place - but there you go.
Not that it should be problematic, but is there any reason why you aren't
using DHCP at home as well?
Only that I wanted fixed IP addresses so that port forwarding on the LINUX
based router would be guaranteed to work... and there were several potential
DHCP servers and I could never find out how to configure a system so with
more than one DHCP server (one couldn't guarantee which devices would be on,
so it was never clear that there would be a DHCP server or how to work with
more than one, so it was easier just to give them all fixed IP addresses)
Here's the IP config data... (dummy MAC addresses... last thing I'm going to
do with a locked down system is publish the permitted MAC addresses!)
IP Config 11 Oct AM - Home Network
Windows IP Configuration
Host Name . . . . . . . . . . . . : MyHost
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network
Connection
Physical Address. . . . . . . . . : AA-BB-CC-DD-EE-FF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.1.80(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8169/8110 Family PCI
Gigabit Ethernet NIC (NDIS 6.0)
Physical Address. . . . . . . . . : AA-BB-CC-DD-EE-FF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.2.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 10 October 2007 03:14:28
Lease Expires . . . . . . . . . . : 20 October 2007 09:37:11
Default Gateway . . . . . . . . . : 192.168.2.254
DHCP Server . . . . . . . . . . . : 192.168.2.254
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Cafe Network
Windows IP Configuration
Host Name . . . . . . . . . . . . : Berossus
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network
Connection
Physical Address. . . . . . . . . : AA-BB-CC-DD-EE-FF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.1.12(Preferred) [NO IT ISN'T!]
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 11 October 2007 11:29:37
Lease Expires . . . . . . . . . . : 12 October 2007 11:29:37
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8169/8110 Family PCI
Gigabit Ethernet NIC (NDIS 6.0)
Physical Address. . . . . . . . . : AA-BB-CC-DD-EE-FF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes