markt1964
10-07-2006, 02:41 PM
I have several computers running various OS's on my home LAN, with most of them receiving a dynamic IP via DHCP from my ISP's DHCP server. Some of my computers do not receive a dynamic IP, but use a static IP in the 192.168.0.* range. These computers do not need to access the internet, but I cannot ping them or establish any connection to them from the other computers on the LAN unless I logically multihome other computers to have their own unique 192.168.0.* address. This is no problem at all for the Unix systems on the lan, I can just add an IP alias for the interface with ifconfig. Neither is it a problem for the Windows 2000 systems on my lan, as I can append the static IP and appropriate subnet mask to the registry entries IPAddress and SubnetMask, respectively, located in HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Param eters\Interfaces\{adapterid}\.
However, this approach does not work on either of the XP home systems on my LAN. What happens when I make the above changes to the registry (regardless of whether I just disable and re-enable the network connection or do a complete reboot) is that XP reports that DHCP was unable to acquire an address and the network offers "limited connectivity". Ipconfig reports 2 IP addresses for the NIC, one of them an actual DHCP assigned address (in spite of what XP reported), and the other is always 0.0.0.0 with a subnet mask of 0.0.0.0. This happens regardless of whether I append or prepend my static IP and subnet mask to the registry strings above. Internet connectivity functions normally on these systems, but they still cannot connect to the static IP's on the LAN.
On the XP systems, whether I've tried to multihome them as described above or not, Tracert indicates that when trying to ping one of the static IPs on the LAN, it always follows the default gateway, which I think may be where the problem lies, but I don't know how to make XP use anything but the default gateway for IP's that are not on the same logical subnet.
I just want the XP systems to be able to see the static IP's on my LAN like most of the other computers can while still collecting dynamic address from the ISP's DHCP server.
Suggestions, anyone?
However, this approach does not work on either of the XP home systems on my LAN. What happens when I make the above changes to the registry (regardless of whether I just disable and re-enable the network connection or do a complete reboot) is that XP reports that DHCP was unable to acquire an address and the network offers "limited connectivity". Ipconfig reports 2 IP addresses for the NIC, one of them an actual DHCP assigned address (in spite of what XP reported), and the other is always 0.0.0.0 with a subnet mask of 0.0.0.0. This happens regardless of whether I append or prepend my static IP and subnet mask to the registry strings above. Internet connectivity functions normally on these systems, but they still cannot connect to the static IP's on the LAN.
On the XP systems, whether I've tried to multihome them as described above or not, Tracert indicates that when trying to ping one of the static IPs on the LAN, it always follows the default gateway, which I think may be where the problem lies, but I don't know how to make XP use anything but the default gateway for IP's that are not on the same logical subnet.
I just want the XP systems to be able to see the static IP's on my LAN like most of the other computers can while still collecting dynamic address from the ISP's DHCP server.
Suggestions, anyone?