创建一个固定 IP 地址的连接

当您连接到网络时,多数网络会自动为您的计算机分配 I P 地址和其他信息。这些信息可能会定期更改,但您可能要为计算机设置固定的 IP 地址,以便时刻了解您计算机的 IP 地址(例如当该计算机被用于文件服务器时)。

要为计算机提供固定(静态)IP 地址:

  1. Go to the desktop and start typing Network.

  2. Click on Network to open the panel.

  3. Find the network connection that you want to have a fixed address. Click the settings button next to the network connection. For a Wi-Fi connection, the settings button will be located next to the active network.

  4. Select the IPv4 or IPv6 tab and change the Method to Manual.

  5. Type in the IP Address and Gateway, as well as the appropriate Netmask.

  6. In the DNS section, switch the Automatic switch to off. Enter the IP address of a DNS server you want to use. Enter additional DNS server addresses using the + button.

  7. In the Routes section, switch the Automatic switch to off. Enter the Address, Netmask, Gateway and Metric for a route you want to use. Enter additional routes using the + button.

  8. Click Apply. The network connection should now have a fixed IP address.