An example of LAN resource sharing fault analysis and solution

Source: Internet
Author: User

The largest application of local area network is the sharing of document resources, audio and video resources and printer. With the passage of time, the network environment due to the impact of hardware and software, there will be many problems. This chapter lists some common problems in resource sharing, hoping to give readers a reference to the exclusion of friends. At the same time, some relevant knowledge has been prepared for you to understand and comprehend the essence of the problem.

Example 1: How to achieve mutual visits in different network segments

Question: The IP address of two departments resembles "192.168.0.1" and "192.168.1.1", its subnet mask is "255.255.255.0", belong to different network segment, how can we visit each other?

Analysis and Solution: When a local area network must have more than two network segments, the hosts belonging to different segments of the network are not mutually visible to each other. If you want to allow them to exchange visits, you must set up routes, the current more mature solution There are two, one is to purchase a dedicated router implementation, its characteristics are powerful, network access speed. The downside is obvious: it takes thousands of dollars to buy hardware.

However, if you take advantage of the IP routing capabilities of Windows Server (also known as a virtual router), you can save both cost and convenience, and implement the following steps:

1 Install two network cards on the Windows Server machine and configure them to different network segments.

2 Install IP routing function. Click Start Program Management tool Routing and Remote Access. Open the Routing and Remote Access window, click the [Use civilized language as] menu, select Configure and Enable Routing and Remote Access, and then select the Network router option in the Public Settings window when you run the wizard; finally install tcp/ IP protocol, the remote Access service is not installed, so the routing feature is enabled.

3 If you want to make each computer in different network segments can access each other, you also need to set the IP parameters for each computer, so that its gateway and DNS address point to the virtual router's IP address.

Summary: Different network segments of computers to achieve mutual access, you need to establish a separate access channel, this channel is "routing."

Instance 2: What's the use of the "127.0.0.1" IP address

Question: When you build a Web server, contact the "127.0.0.1" This IP address, what is the use of it?

Analysis and Resolution: "127.0.0.1" is a native address that is used primarily for testing purposes, and it also has individual name "local Host". Therefore, a computer with "127.0.0.1" as its IP address will not appear in a network. In addition to this address, there are also a number of special IP addresses can not be used indiscriminately, such as:

1 "255.255.255.255", this network IP address name is called "Limit broadcast address", this address can not be forwarded by the router. For this machine it represents all computers within the same network segment.

2 "224.0.0.1", which is a multicast address, refers to all the host, the other 224.0.0.2 refers to all routers, in fact, from 224.0.0.0 to 239.255.255.255 belong to the multicast address. In general, this type of address is used for certain procedures.

There is also an IP address "169.254.x.x", if the local computer through the server automatically assigned IP address (DHCP function), when the DHCP failure, the local system will feed back such an address.

Summary: Typically, these special IP addresses are not assigned to any host, and are used only to represent the network address of a network.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.