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

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

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)

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.

More by this Author


Comments 65 comments

rajkishor09 profile image

rajkishor09 7 years ago from Bangalore, Karnataka, INDIA Author

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


SQA Guy 7 years ago

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.


Mona Lisa 7 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


rajkishor09 profile image

rajkishor09 7 years ago from Bangalore, Karnataka, INDIA Author

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

http://hubpages.com/technology/How-to-setup-LAN-be...


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


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


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


Wave Rapture 7 years ago

My Lan Icon isn't there


vrajput profile image

vrajput 7 years ago from India

Your hubs Is really very nice


jack 7 years ago

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


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


rajkishor09 profile image

rajkishor09 7 years ago from Bangalore, Karnataka, INDIA Author

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


HACKER 6 years ago

how to make broadband connect faster?

send to my email:xman9042@yahoo.com


Shahryar 6 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 sh3ry@hotmail.com


petr 6 years ago

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


hema 6 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


prabhat 6 years ago

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


holsworthycomputi profile image

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


saud 6 years ago

hi i hve a problum


holsworthycomputi profile image

holsworthycomputi 6 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?


mirza 6 years ago

sir,

i have ping but another computer type ping 192.168.0.2

it says destnation host unreachble.


sara 6 years ago

Hi

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


harry 6 years ago

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


Harshal 6 years ago

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


Alexies Knight 5 years ago

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.


rajkishor09 profile image

rajkishor09 5 years ago from Bangalore, Karnataka, INDIA Author

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


elmer 5 years ago

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


pawan 5 years ago

it sooooooooooooooo good


Ben Jones 5 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 :

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


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


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


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


Bhasko Gogoi 5 years ago

Thanx Raj...U r briliant


shafaq 5 years ago

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


jean 5 years ago

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


Ben 5 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

ben


SRIRAM 5 years ago

Please solve this.

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


rajkishor09 profile image

rajkishor09 5 years ago from Bangalore, Karnataka, INDIA Author

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


5 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


LABINO 5 years ago

AM planning for my question


hooi shih 5 years ago

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.


Nomi khan 5 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 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)


rajkishor09 profile image

rajkishor09 5 years ago from Bangalore, Karnataka, INDIA Author

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.


yogesh 5 years ago

how can configer ip manualy


Jayson 5 years ago

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


vishal prajapati 4 years ago

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


nithyashanmugam 4 years ago

that way 's very useful for me


Feroze Khan 4 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 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


sudheer kumar k 4 years ago

thank u very much sir.

iam sudher kumar korrapati


vikash basnett 4 years ago

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


lagsgensan 4 years ago

thanx in advance,,


girish 4 years ago

thank u.


Kumaran 4 years ago

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 ?


kaniska choudhary 4 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 email:-kaniskachoudhary121@gmail.com

and tell me the process to connect wifi.


charles mwita 4 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


charles mwita 4 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


gautam 3 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


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


saurabh 3 years ago

thanks it all works


kamal 3 years ago

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


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


Johnf603 2 years ago

Really wonderful information can be found on web blog. kgdkgbkbkkda


Johne37 21 months 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


mukesh 20 months ago

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


jarlousamontina 2 months ago

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

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working