Thursday, February 6, 2014

Textbook

It is really simple to assign static IP address ,default gateway and subnet mask through command prompt on your Windows computer. We can set these on any Interface throgh a simple command. The steps to to assign static IP on any interface are:


Steps to Assign static IP on any Interface through command prompt


1. Click on start

2. Click on Run and type cmd. Press OK.

Now the command prompt will be opened.

3. Type the command

netsh interface ip set address name="Local Area Connection" static 192.168.1.5 255.255.255.0 192.168.1.1


Where Local Area Connection is the interface name.

The static IP address we assigned to the interface is 192.168.1.5.

The subnet mask is 255.255.255.0

The default gateway address is 192.168.1.1