The principle of CSG for setting an instance on a mercury router is described in two ways: the gateway concept and the setting of a wireless router. It is easy to complete the setting. Hurry into the Wireless World. As we all know, walking from one room to another must go through one door. Similarly, sending information from one network to another must go through a "Gateway", which is the gateway.
Mercury router settings: What is gateway
As the name implies, a GATEWAY is the "GATEWAY" that connects a network to another network ". Gateway. Connect two devices that use different network segments. It is used to translate and convert data of different transmission protocols in two network segments. For example, a commercial internal LAN often needs to send an email to an INTERNET address through a gateway.
There are also many types of gateways according to different classification standards. The Gateway in TCP/IP protocol is the most commonly used. The "Gateway" mentioned here refer to the gateway under TCP/IP protocol. So what is the gateway? A gateway is essentially an IP address from a network to another network. For example, if Network A and Network B exist, the IP address range of Network A is "192.168.1.1 ~ 192. 168.1.254 ", The subnet mask is 255.255.255.0, And the IP address range of Network B is" 192.168.2.1 ~ 192.168.2.254 ", and the subnet mask is 255.255.255.0.
Without a router, the two networks cannot communicate with each other through TCP/IP, even if the two networks are connected to the same vswitch or hub, the TCP/IP protocol also determines that the hosts in the two networks are in different networks based on the subnet mask 255.255.255.0. To realize the communication between the two networks, you must use the gateway. If the host in Network A finds that the destination host of the data packet is not in the local network, it forwards the data packet to its own gateway, and then the gateway forwards the data packet to the gateway of Network B, the gateway of Network B is then forwarded to a host of Network B, as shown in the figure below ). The same is true for packet forwarding from Network B to Network.
Therefore, only the IP address of the gateway can communicate with each other through the TCP/IP protocol. Which machine is the IP address? The IP address of a gateway is the IP address of a device with the routing function. A device with the routing function has a router, and a server with the routing protocol enabled is essentially equivalent to a router) and a proxy server is also equivalent to a router ).
Mercury router settings: What is the default gateway
If you find out what the gateway is, the default gateway is easy to understand. Just like a room can have multiple doors, a host can have multiple gateways. The default gateway means that if a host cannot find an available gateway, it sends data packets to the default gateway, which processes data packets. The gateway currently used by the host generally refers to the default gateway.
How to set the Default Gateway
The default gateway of a computer cannot be specified at will, and must be correctly specified. Otherwise, a computer will send data packets to a computer that is not the gateway, and thus cannot communicate with other networks. The default gateway can be set manually or automatically.
Mercury router settings: manual settings
Manual settings are applicable when the number of computers is small and the TCP/IP parameters remain unchanged. For example, there are only a few to a dozen computers. This method requires setting the "Default Gateway" on each computer connected to the network, which is very difficult. Once the IP address of the default gateway must be modified due to migration or other reasons, this will cause a lot of trouble to the network management, so it is not recommended.
In WINDOWS 9X, you can set the Default Gateway by right-clicking "Network neighbors" and clicking "properties" in the pop-up menu ", in the network Properties dialog box, select "TCP/IP protocol" and click "properties". On the "Default Gateway" tab, enter the IP address of the new default gateway. Note that the default gateway must be an IP address in the CIDR block where the computer is located, rather than an IP address in another CIDR block.
Mercury router settings: automatic settings
Automatic configuration is to use the DHCP server to automatically assign IP addresses, subnet masks, and default gateways to computers on the network. The advantage of this is that once the default gateway of the network changes, you only need to change the settings of the default gateway in the DHCP server, then all the computers on the network obtain the IP address of the new default gateway. This method is applicable to networks with large network sizes and variable TCP/IP parameters.
Another way to automatically obtain the gateway is to automatically obtain it by installing the agent server software such as ms proxy) client program. Its principles and methods are similar to those of DHCP. Due to space limitations, we will not go into detail. The above is too complicated. The Mercury router sets an instance:
◆ No matter whether your vro has been used before, reset it first. method: Press and hold the reset key, unplug the MR-804 power, wait for three seconds; then plug in the phone and then wait for three seconds after the release of the reset button to complete the software reset.
◆ Set an IP address on your computer to 192.168.1.X (from 3 to 254 X ).
◆ Set the WAN port of your ADSL line connected to the router and the Computer Access LAN port of the IP address.
◆ Enter HTTP: // 192.168.1.1 on the computer to enter the vro setting interface. The user name and password are both ADMIN logon.
◆ On the configuration page, select the Internet type PPPOE (ADSL dialing method), enter your broadband user name and password (which is assigned to you by the ISP), and save the settings. Next, enable the automatic DHCP allocation, then confirm.
◆ Connect another computer to another LAN port. The computer with the IP address set is changed to automatically get the IP address.
◆ Test whether the Internet can be accessed.