Solving Network problem for LAN
- Check the IP addresses of the two computers that cannot connect to each other. They should be in the same subnet, i.e. the first three (or two or one, depending on the subnet mask) numbers should be identical. A particular cause can be Internet Connection Sharing (ICS), because enabling this changes the IP address to 192.168.0.1. All other computers should be set to obtain their IP addresses automatically (through DHCP) and may have to be rebooted.
- Change Workgroup or domain
- Run the network setup wizard from Start --> Programs ---> Accessories --> Communication --> Network setup wizard
- Try with ping and ipconfig commands for checking uniqueness of IP Address and name (e.g. ping 192.168.175.12)
- Install Client for Microsoft Networks, Install Internet Protocol (TCP/IP), Install File and Printer Sharing for Microsoft Networks if not installed in LAN setting
- Enable LAN’s Sharing Option (File, Printer etc.) from the exception TAB
- Disable Firewall setting through Firewall option in control panel
- use net view command (net view \\computername) for checking sharing option
- Check whether NetBIOS over TCP/IP is enabled. It should be for almost all small and home networks. You can find this setting in the properties of the LAN connection. Double-click on the Internet protocol (TCP/IP), click on the Advanced button in the lower right, click on the WINS tab and activate Netbios over TCP/IP. You can later test whether the Standard setting is sufficient and use that if it works. A more detailed description can be found in the chapter "Netbios over TCP/IP".
- Make sure the computer browser service is running in the services option (Control panel --> Administrative Tools --> Services) . If you have to start it, reboot both computers.
- To enable the network Guest account on XP Home and Pro, click Start, click Run, type: net user guest /active:yes, and hit Enter.
- Ensure there is no password for the Guest account: click Start, click Run, type: control userpasswords2, and hit Enter. Click once on Guest, click Reset Password, and then click OK without entering a new password.
- There are two registry keys to check on XP that have the potential to cause network headaches. The first is: HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Lsa
- Ensure that restrictanonymous is set to 0. Ignore the restrictanonymoussam entry that looks similar and may also appear.
If all the above procedure fails then for resetting network use the following commands and reconfigure the network as before:
- Repair the Winsock with the command: netsh winsock reset (This removes all third party Layered Service Providers—LSPs.)
- Repair the IP stack with the Repair command or with the command: "netsh int ip reset c:\resetlog.txt" without the quotes.