When it comes to LAN configuration, the subnet mask and the default gateway are two very important parameters. Filling in these parameters correctly will ensure the stability and speed of the network connection. But for many users, there may be certain confusion and challenges with these two parameters.
The subnet mask is used to determine which bits in an IP address are used for network identity and which bits are used for host identity. It is a 32-bit binary number, usually expressed in decimal, e.g. 255255.255.0。The subnet mask determines the range of subnets to which an IP address belongs, and different subnets use different IP address ranges.
The default gateway is the IP address of a network node, usually the IP address of a router or switch. When a host needs to send a packet to another network, it sends the packet to the default gateway, which sends the packet to the destination network. Therefore, the default gateway is the key to interconnecting between different subnets.
How to fill in the subnet mask and default gateway
View the current network configuration: In the Windows operating system, you can perform the following steps to view the current network configuration: aOpen the Control Panel and select Network and Sharing Center. b.Click "Change adapter settings", find the network connection you want to configure, right-click and select "Properties". c.In Local Connection Properties, find Internet Protocol Version 4 (TCP IPv4) and double-click it.
Fill in the subnet mask: The subnet mask is usually provided by the network administrator. If it is not provided, you can look at the subnet mask of the known network device to determine. When filling in the subnet mask, you can follow these steps: aIn the Internet Protocol Version 4 (TCP IPv4) property window, select Use the IP address below. b.Enter the IP address and subnet mask, making sure they are within the same subnet. For example, if the IP address is 192168.1.2, you can set the subnet mask to 255255.255.0。
Fill in the default gateway: The default gateway is usually provided by the network administrator. If it is not provided, you can look at the default gateway address of the router or switch to determine. When filling in the default gateway, you can do so by following these steps: aIn the Internet Protocol Version 4 (TCP IPv4) property window, select Use the IP address below. b.Enter the IP address and subnet mask, making sure they are within the same subnet. c.Enter the IP address of your router or switch in the Default Gateway field.
The subnet mask and default gateway are very important parameters in the local area network, and the correct filling can ensure the stability and speed of the network connection.