Updated date:

How to assign IP Address to the client & server computer?

Raj is an ardent coder who loves exploring new technology. He is an IT pro with 9 years of exp in C#, Angular, React, Vue.

In this tutorial we will learn how to assign IP address to a computer. Before that I should make it clear that every PC will have its own unique IP address. Assigning same IP to other PC will give you “duplicate IP address” error. IP is like our mobile no. it has to be different from others. The IP address, we are going to assign, will be static & assigned manually. For this, follow the following procedure attentively. 

1. First open My Network Places properties.

My Network Places properties.

how-to-assign-ip-addresses-to-the-client--server-pc

2. In the properties window, under LAN or High-Speed Internet heading select your Local Area Connection.

Network Connections

how-to-assign-ip-addresses-to-the-client--server-pc

3. Now a new window should popup, titled "Local Area Connection Properties". Here you have to select Internet Protocol (TCP/IP) option then click on properties button. This will again bring a new popup "Internet Protocol (TCP/IP) Properties".

LAN card properties

how-to-assign-ip-addresses-to-the-client--server-pc

4. In this window you have to select "Use the following IP Address" radio button and give the given value as shown in the picture. Exactly like this.

NOTE : To understand this tutorial easily, I would recommend you to assign this address to that computer which would be your server (in case if you want to share internet). Otherwise you can assign this address to any of your computers.

Internet Protocol(TCP/IP) Properties

how-to-assign-ip-addresses-to-the-client--server-pc

5. You will be happy to hear that you have successfully assigned IP address of your first PC, now it’s time for the second PC. The process will be the same; the only we have to change or assign IP address to the second PC. So, we will begin from Step 4. On second PC we have to change IP address to “192.168.0.2” and subnet mask will be the same. You can see that in below image. If you have more PC to connect to network, so your next PC IP address will be “192.168.0.3” and so on.

IP Address assignment on Client PC

how-to-assign-ip-addresses-to-the-client--server-pc

Now you need to check the connectivity between these PCs, we will confirm this connectivity with ping command. Go to Run or press Windows Key+ R and type “ping 192.168.0.1” from client PC, you should get following replies.

Ping result (Click to enlarge)

how-to-assign-ip-addresses-to-the-client--server-pc

If you don’t get reply similar to this then you need to check this from beginning. You can post comment here and I will try to solve your problem as quickly as possible.

Related Links

  • How to setup LAN between XP and Vista PCs
    Vista is Microsofts new operating system and it provides different network and security method than Windows XP, to its user. So in order to create network between Vista and XP, we have to enable few...
  • How to share an internet connection on LAN?
    If you have a fully functional LAN then net sharing is few click away, yes few clicks. I assumed that you have already a broadband connection and account configured on your PC. Just go to My Network...
  • How to share folder in windows XP
    In this tutorial we will learn how to share a folder or file so that other user on network can share file with your PC. This is very easy process which will allow you to a file or folder or drive of your...

Comments

usha on August 24, 2019:

what is ping command why we have to do that what's the use of t hat

sanjongo on October 10, 2016:

failed to connect 18 hp client remote desktop to the server

jarlousamontina on October 01, 2016:

this tutorial is really perfect..... doesn't work? check your UTP CABLE...

mukesh on April 05, 2015:

How can connet my computer system multi server 2013 (main computer) connect to N-computing (AOC) moniter

Johne37 on March 12, 2015:

Thanks for another wonderful article. Where else could anybody get that kind of information in such an ideal way of writing? I have a presentation next week, and I'm on the look for such information. kcbddedeecek

Johnf603 on June 25, 2014:

Really wonderful information can be found on web blog. kgdkgbkbkkda

sudheer on April 11, 2014:

Hi sir, My Server is connected to hub, pinging is repling ip address, but defaultgateway is not giving reply through pinging, please give the solution. I need to connect the internet for PC desktop.

kamal on July 17, 2013:

hi my problem two lancard one lancard internet other landcard intranet company web sites pl suggest

saurabh on February 18, 2013:

thanks it all works

shivam on January 28, 2013:

i have 3 pc and one broadband router which is all ready in network . i have connected inter net but i don't want to access internet in other 2 pc ? how can i configure the router.

gautam on January 03, 2013:

i want to know solution of my qiestion.i want to connect my 16pc then which device is better for me . and what to do with this device and how to configure it .pls reply

charles mwita on October 28, 2012:

thanx very much 4 ur good lesson. i understand ur lesson very well but i need to knw well about conection of switch thanx

charles mwita on October 28, 2012:

thanx very much 4 ur good lesson. i understand ur lesson very well but i need to knw well about conection of switch thanx

kaniska choudhary on May 11, 2012:

i have acer 4730z leptop. my leptop catch a wifi (default) but due to connect it show the limited access i don't know its ip and dns address this wifi.

so please tell me how to get this ip and dns address.

can i get this ip adress for connect wifi.

please contact me on my email:-kaniskachoudhary121@gmail.com

and tell me the process to connect wifi.

Kumaran on April 06, 2012:

I have 5 systems ..

1. PC 1

2. PC 2

3. PC 3

4. PC 4

5. PC 5

for PC 1 - 10.0.0.1

PC 2 - 10.0.0.2

PC 3 - 10.0.0.3

PC 4 - 10.0.0.4

PC 5 - 10.0.0.5

Then which one 'll be act as Server ?

what will be Default Gateway for these 5 systems ?

girish on March 28, 2012:

thank u.

lagsgensan on March 24, 2012:

thanx in advance,,

vikash basnett on January 18, 2012:

can sumbody help me pls i don't understand what is ip address how should i use this pls sir help me

sudheer kumar k on January 12, 2012:

thank u very much sir.

iam sudher kumar korrapati

Feroze Khan on January 12, 2012:

my internet connection is connected through LAN card in my computer (OS is Win XP). i want to share my internet connection by installing another LAN card in same computer. when i share 1st LAN card connection it assign the IP addres 192.168.0.1 to 2nd LAN card and other system have DHCP enable and they got 192.168.0.* i just want to change this IP class that 192.168.2.1 instead of 192.168.0.1 and so on for clients get automaticly 192.168.2.* . Reply plz any one on Khan22g@hotmail.com

nithyashanmugam on January 11, 2012:

that way 's very useful for me

vishal prajapati on December 22, 2011:

How i know my mobile connection to computer device & IP address & IP ping conformation.

Jayson on November 23, 2011:

seems the most realiable tutorial on internet sharing so far... GOOD JOB!

yogesh on November 17, 2011:

how can configer ip manualy

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 20, 2011:

Hi @Nomi, i know this kind of the thing happens when u download from any file sharing site. Only option is to find download manager supporting that site.

Nomi khan on October 20, 2011:

Raj kishore solve this problem.

The problem is that , i want to download a lare file from wifi but after some time the downloading file drop and wifi stop the downloading,and have no any resume support to the download on (any) download manager,The file start from begining.and the wifi server not support resume capability.so tell me what can i do for that.i want to download large files but i cant download.Tell me easy process to download a large file.

Thanks

My Email for reply (young_star_87@yahoo.com)

hooi shih on October 17, 2011:

i have a problem on ping. i had set all the IP address and the server as given, but the reply is 141.188.224.1 and not a 192.168.0.1.

LABINO on October 16, 2011:

AM planning for my question

x on October 13, 2011:

i got the lan connection but am unable connect putty for unix networking programs to be written and runned plz tel me how as soon as possible for this problem

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 07, 2011:

@SRIRAM : 2 pc having same IP address, check IP of all PC.

SRIRAM on October 07, 2011:

Please solve this.

I having Ip conflict error in my system. How to retrive this?

Ben on October 01, 2011:

Dear Raj

i assigned static ip to my vista running pc. I have a router too. do i need to change any setting there get the internet.

I am using linksys e1000 router with a cable modem

ben

jean on September 09, 2011:

iam having ip address 192.168.1.1 as such

my dout is when i exceed more than 250 clients

and what will be the next

shafaq on August 20, 2011:

if i want to assign ip address for windows 2000, should i use the same method? rep soon............!

Bhasko Gogoi on July 09, 2011:

Thanx Raj...U r briliant

NoviceTECH on March 26, 2011:

i have 2 pc's and i am trying to connect them to the internet but i only have 1 port in my modem... do you think it is ok for me to put another NIC to the pc which is the one i'm trying to connect to the internet.

jokerking on March 25, 2011:

i already obtain a static ip address,when i set into my server 2008 r2 network it works in internet.But only works on my server r2 other client unable to connect into the internet is there any way out?any link able to solve problem Thanks plzzz!!

sunny on March 16, 2011:

Thank you for the information. I am trying from many days but I did not satisfy. now I am feeling I got answer.

Thank you very much.

Ben Jones on February 28, 2011:

Hello there,

I have a question about networking. I've been trying for a few months now and just cant seem to figure out the problem. Maybe you can help ? I've got various things on a small network and am trying to use 2 routers for remote comms to log into a remote PC. I can log into Router 1 and it port forwards through to the PC. I can also do this with router 2. However when both Routers are enabled, half of the IP addresses dissappear and I cant get through to the PC.

I have the following IP addresses set up as follows :

192.168.1.1 (HMI)

192.168.1.2 (PC LAN card 1)

192.168.1.3 (Router 1 IP address and gateway)

192.168.1.4 (PLC)

192.168.1.5 (PC LAN card 2)

192.168.1.6 (Router 2 IP address and gateway)

What I'm trying to do is log in remotely to the PC via either router 1 or router 2. Router 2 provides redundancy if router 1 goes down. I have all the port forwarding working fine.

My problem is as follows :

If I enable router 1, I can see the first 4 IP addresses. If I enable router 2 as well at the same time, the 4 IP addresses which router 1 can see dissappear and I can only see the IP addresses 192.168.1.2 (PC), 192.168.1.5 and 192.168.1.6.

I dont understand why the IP addresses 1-4 dissappear. Could you help ?

What I wish to happen, is that I can log in to either router and I can get through to the computer.

Do I need to set up ICS or bridge the two LAN PCI cards ? I've tried all this and still the IP addresses 1-4 dissappear when router 2 is enabled. Its almost like router 2 takes priority for some reason over router 1.

Please help !

Kind wishes and thanks in advance,

Ben

pawan on February 09, 2011:

it sooooooooooooooo good

elmer on December 21, 2010:

hello,

Ive followed your guide and its goes well,,router to hub and assigning ip add to server and client pc ive done this during no internet connection available at my shop.

now i have net connection,,and the server pc used to config my dlink router.

so what happened is..

for the server pc- the tcp/ip properties in GEn goes

obtain ip address and dns automatcally..and i use the alternate config to put the ip add of server pc (192.168.0.2)(192.168.0.1 for router)

and so for the client pc..

the prob is i cant ping each every pc,,but netwok games goes well.and one thing sometimes one of the client pc hane no net connection

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on December 17, 2010:

@Alexies Knight: Setup is ok but u need to save login information in your asdl modem so that when ever any pc try to connect to internet. it will connect directly.

Alexies Knight on December 16, 2010:

I have 2 computers and a modem with an internet.. I would like to know if this is a correct set-up?

http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs1199...

Is the hub only the device I needed to connect 2 computers with a shared internet? I am only needed to have a standard lan + internet without a server.

Harshal on November 04, 2010:

Pls tell me how to enable the client remote within intranet.

harry on October 30, 2010:

how to conneect 6 pc's with a router to create a lan?

sara on July 25, 2010:

Hi

i have 15 pc and access point and adsl and pc server how can i conect those imean wielrss ?

mirza on June 17, 2010:

sir,

i have ping but another computer type ping 192.168.0.2

it says destnation host unreachble.

holsworthycomputi from Devon on June 15, 2010:

@prabhat why do you want to have a hub and a switch? is the distance between the hub and switch big? it's way better having 2 switches and no hubs - hubs are not as intelligent as switches are. Switches allow packets to be sent directly to where they are meant sent, whereas, with a hub packets don't get send directly, thus hubs are slower and much less efficient.

To connect a hub to a switch ot a switch to a switch all you need is a straight ethernet cable - most switches nowadays have auto negotiating ports so you don't even need to use a crossover cable from an uplink port on one to connect to a standard port on the other.

@saud what is the problem?

saud on June 13, 2010:

hi i hve a problum

holsworthycomputi from Devon on June 10, 2010:

Note that you can sometimes speed up your broadband by using DNS servers that arean't your ISP's such as Google or OpenDNS'.

You can also use an internal DNS server if you have a domain controller, although the speed difference isn't huge - makes a bit of difference however.

Setting the IP, default gateway and DNS static for every PC is the best way IMO as when using DHCP on clients sometimes a network initialisation delay is apparent.

For this reason I don't opt out of choice to use DHCP other than when I have to such as PXE booting.

@John Aryan - you might need to setup your router to do this or if you use a linux distro as a firewall/router use IPtables or do this if your router runs a linux OS if you know how.

Do you have a different default gateway for clients on different IP range? or do they use the same one? that is they key unless you have firewall rules blocking icmp.

prabhat on March 08, 2010:

i have one switch and one hub and i want to connect two computers through switch and hub both together

hema on February 19, 2010:

i have two laptop one is having vista and another one is

win xp. i run internet thru wireless modem. now how do i set up lan connectivity so i can share the files of both notebooks on each other

petr on January 29, 2010:

how do i connect my laptop as a server on vista to 6 pc's on xp, using a broadband modem

Shahryar on December 28, 2009:

Dear Sir, Im already Using internet on LAN Card ethernet As A client

i have another computer, in my home i want to connect through internet from my computer . Please guide me how to give gateway from my pc

please tell me sh3ry@hotmail.com

HACKER on December 10, 2009:

how to make broadband connect faster?

send to my email:xman9042@yahoo.com

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 30, 2009:

Mr. anthrax check you cable color code and RJ45 connector.

anthrax on October 29, 2009:

Hey Raj... i already followed your steps. the problem is that my pc and the client pc only received only 1bytes per sec of data. need help here

jack on October 05, 2009:

i have a lan connectivity among 7 pc's i want to share internet and printer

vrajput from India on August 18, 2009:

Your hubs Is really very nice

Wave Rapture on August 12, 2009:

My Lan Icon isn't there

Wave Rapture on August 12, 2009:

Hi so i have one Prob with finding the properties cause there is no "LAN" in my Network connections. There is only my pc and this of my Bro cause im connected with him by using the router (Livebox). But there is no "Local Area or High Speed..."

John Aryan on August 08, 2009:

Hi there

I am facing problem to create two different LAN on a single hub. I mean two Desktop pc are connected on a hub and i gave two different class address (192.168.0.2 for one pc, 172.16.0.3 for another).but i cant ping one another.so what should i do now to get the problem solved.i need to make the different LAN on a single hub for my thesis purpose.so please if anybody know then reply.looking forward to hear from you.

Thanks

Regards

Aryan

amit on July 26, 2009:

i tried all the steps instructed by you, but still i am not able to ping from client pc to server whereas 'ping server to client' is perfectly working , plz suggest what should i do asap THANX for ur past and future assistance, u r doing a good job by sharing ur knowledge

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on June 25, 2009:

Mona Lisa: I think you followed wrong tutorial for XP-Vista sharing, you should check this.

https://hubpages.com/technology/How-to-setup-LAN-b...

Mona Lisa on June 25, 2009:

My first PC has XP and the second one has Vista HP. I did all the settings above with no good result. I used crossover, then switch, disabled firewalls, Nothing

SQA Guy on April 12, 2009:

Dear,

That was handy... For those who switches around networks (obviously in a lappiee) will use some sortta IP managers and switchers.. They are easy to use as well.

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on March 24, 2009:

Feel free to ask questions related to this topic, i'll try to answer as early as possible.

Related Articles