To find the IP address of your computer and other information about your internet configuration, follow these steps:
- Open the Command Prompt window.
- Type
IPCONFIG
and press Enter.
The Command Prompt window will display the IP address of your computer and other internet configuration details for both wired and wireless connections.
Identifying the Gateway
To identify your default gateway, follow these steps:
- Open the Command Prompt.
- Type
IPCONFIG
to find the IP address of the default gateway. - Look for the "Default Gateway" section to find the IP address.
Standard Gateway
The standard gateway is the IP address of the router, which is usually automatically configured on PCs and smartphones. In most networks, the standard gateway IP address is either 192.168.1.1 or 192.168.1.254.
Setting the Gateway
To set the default gateway of your system, follow these steps:
- Go to Network and select Interfaces.
- Select the default gateway from the system.
- The default system gateway window will open.
- Configure the default system gateway settings.
- Option: Remove the NCSI service.
Finding the Subnet Mask
To find your subnet mask, follow these steps:
- Type "cmd" in the Windows search field to open the Command Prompt.
- Press Enter.
- Type
IPCONFIG /ALL
and press Enter. - Here, you will find the network settings.
- Your computer’s IP address, subnet mask, and network gateway will be displayed.
Configuring the Subnet Mask
To configure the subnet mask, follow these steps:
- In Windows NT, select the IP Address tab.
- Select the "Specify IP address" button.
- Enter the number 192.168.123 in the IP Address field.
- Enter the subnet mask 255.255.255.0 in the Subnet mask field.
- Type the IP address of the router in the "New gateway" field; the default setting is 192.168.123.254.
- Click "Add".
How Subnet Mask Works
The subnet mask allows a network device to search for a recipient within a specific range without using a router as a gateway to another network.
Identifying the Router’s IP Address
To identify the IP address of the router, follow these steps:
- Open the Command Prompt by typing "cmd" in the search field or clicking the Start button.
- Type the command
IPCONFIG
in the window that opens and press Enter.
Values of 192.168.0.0/16
The value of one of the bytes in the IP address 192.168.0.0/16 is displayed in dotted decimal notation. The /16 mask, referring to the first 16 bits, corresponds to the alternative representation form: In other words, 11111111.11111111.00000000.0000000 is 255.255.0.0. Consequently, the network number is 192.168.0.0/16.
Purposes of Subnetting
The subnetting method, developed in 1985, allows for dividing a network into subnets using the host portion of an IP address.