ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software

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

Updated on March 2, 2015

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.

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

Network Connections

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

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

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 “” 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 “” and so on.

IP Address assignment on Client 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” from client PC, you should get following replies.

Ping result (Click to enlarge)

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.


    0 of 8192 characters used
    Post Comment

    • profile image

      sanjongo 15 months ago

      failed to connect 18 hp client remote desktop to the server

    • profile image

      jarlousamontina 15 months ago

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

    • profile image

      mukesh 2 years ago

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

    • profile image

      Johne37 2 years ago

      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

    • profile image

      Johnf603 3 years ago

      Really wonderful information can be found on web blog. kgdkgbkbkkda

    • profile image

      sudheer 3 years ago

      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.

    • profile image

      kamal 4 years ago

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

    • profile image

      saurabh 4 years ago

      thanks it all works

    • profile image

      shivam 4 years ago

      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.

    • profile image

      gautam 5 years ago

      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

    • profile image

      charles mwita 5 years ago

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

    • profile image

      charles mwita 5 years ago

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

    • profile image

      kaniska choudhary 5 years ago

      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

      and tell me the process to connect wifi.

    • profile image

      Kumaran 5 years ago

      I have 5 systems ..

      1. PC 1

      2. PC 2

      3. PC 3

      4. PC 4

      5. PC 5

      for PC 1 -

      PC 2 -

      PC 3 -

      PC 4 -

      PC 5 -

      Then which one 'll be act as Server ?

      what will be Default Gateway for these 5 systems ?

    • profile image

      girish 5 years ago

      thank u.

    • profile image

      lagsgensan 5 years ago

      thanx in advance,,

    • profile image

      vikash basnett 6 years ago

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

    • profile image

      sudheer kumar k 6 years ago

      thank u very much sir.

      iam sudher kumar korrapati

    • profile image

      Feroze Khan 6 years ago

      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 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 instead of and so on for clients get automaticly 192.168.2.* . Reply plz any one on

    • profile image

      nithyashanmugam 6 years ago

      that way 's very useful for me

    • profile image

      vishal prajapati 6 years ago

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

    • profile image

      Jayson 6 years ago

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

    • profile image

      yogesh 6 years ago

      how can configer ip manualy

    • rajkishor09 profile image

      RAJKISHOR SAHU 6 years ago from Bangalore, Karnataka, INDIA

      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.

    • profile image

      Nomi khan 6 years ago

      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 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.


      My Email for reply (

    • profile image

      hooi shih 6 years ago

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

    • profile image

      LABINO 6 years ago

      AM planning for my question

    • profile image

      6 years ago

      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

    • rajkishor09 profile image

      RAJKISHOR SAHU 6 years ago from Bangalore, Karnataka, INDIA

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

    • profile image

      SRIRAM 6 years ago

      Please solve this.

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

    • profile image

      Ben 6 years ago

      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


    • profile image

      jean 6 years ago

      iam having ip address as such

      my dout is when i exceed more than 250 clients

      and what will be the next

    • profile image

      shafaq 6 years ago

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

    • profile image

      Bhasko Gogoi 6 years ago

      Thanx Raj...U r briliant

    • profile image

      NoviceTECH 6 years ago

      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.

    • profile image

      jokerking 6 years ago

      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!!

    • profile image

      sunny 6 years ago

      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.

    • profile image

      Ben Jones 6 years ago

      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 : (HMI) (PC LAN card 1) (Router 1 IP address and gateway) (PLC) (PC LAN card 2) (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 (PC), and

      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,


    • profile image

      pawan 6 years ago

      it sooooooooooooooo good

    • profile image

      elmer 7 years ago


      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 ( 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

    • rajkishor09 profile image

      RAJKISHOR SAHU 7 years ago from Bangalore, Karnataka, INDIA

      @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.

    • profile image

      Alexies Knight 7 years ago

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

      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.

    • profile image

      Harshal 7 years ago

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

    • profile image

      harry 7 years ago

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

    • profile image

      sara 7 years ago


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

    • profile image

      mirza 7 years ago


      i have ping but another computer type ping

      it says destnation host unreachble.

    • holsworthycomputi profile image

      holsworthycomputi 7 years ago from Devon

      @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?

    • profile image

      saud 7 years ago

      hi i hve a problum

    • holsworthycomputi profile image

      holsworthycomputi 7 years ago from Devon

      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.

    • profile image

      prabhat 7 years ago

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

    • profile image

      hema 7 years ago

      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

    • profile image

      petr 7 years ago

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

    • profile image

      Shahryar 8 years ago

      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

    • profile image

      HACKER 8 years ago

      how to make broadband connect faster?

      send to my

    • rajkishor09 profile image

      RAJKISHOR SAHU 8 years ago from Bangalore, Karnataka, INDIA

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

    • profile image

      anthrax 8 years ago

      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

    • profile image

      jack 8 years ago

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

    • vrajput profile image

      vrajput 8 years ago from India

      Your hubs Is really very nice

    • profile image

      Wave Rapture 8 years ago

      My Lan Icon isn't there

    • profile image

      Wave Rapture 8 years ago

      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..."

    • profile image

      John Aryan 8 years ago

      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 ( for one pc, for another).but i cant ping one what should i do now to get the problem solved.i need to make the different LAN on a single hub for my thesis please if anybody know then reply.looking forward to hear from you.




    • profile image

      amit 8 years ago

      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

    • rajkishor09 profile image

      RAJKISHOR SAHU 8 years ago from Bangalore, Karnataka, INDIA

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

    • profile image

      Mona Lisa 8 years ago

      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

    • profile image

      SQA Guy 8 years ago


      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.

    • rajkishor09 profile image

      RAJKISHOR SAHU 8 years ago from Bangalore, Karnataka, INDIA

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