Question:
IP Address question?????
anonymous
2008-10-30 10:05:38 UTC
if i have two computers that are hooked up to a router, will they have the same ip address? is there a way to change a ip address so they are different?
Eight answers:
anonymous
2008-10-30 10:32:44 UTC
Each machine requires a different IP address to communicate across the network. The router also has a different (third) address.



DHCP running on the router hands out the IP addresses to each machine and by default cannot hand out the same address to more than one machine.



If you have statically assigned the addresses instead, then it is possible that you mistakenly assigned the same address to each device. If this is the case then you can change one or the other by going into the local area network connections screen to change the address there.
jivepacketrat
2008-10-30 17:50:16 UTC
If your two computers are connected to a router, you have a LAN. Within any network, LAN included you cannot have duplicate IP addresses, only one will be allowed to work the other will be disabled and Windows will give it a 169.xx.xx.xx address until the physical connection is dropped or you use the ipconfig /release and ipconfig /renew command. (See answer from Ravi Kiran Singh). If you are connected to a router and no other computers have come on line in the mean time, you will always get the same IP address back. It has to do with assigning the next available IP address and the fact that the router leases the IP address for a specific period of time. If you dial-up, you usually get a different IP address every time that you dial in, however late at night you may get the same IP address numerous times in a row.

As mention in many of the answers, if you are connected to a router that is running DHCP, then the IP addresses that assigned will be different. Now to the Internet the router will only have one IP address, that you cannot change.

As mention in many of the answers you can statically assign an IP address for each machine, you will only encounter problems if you also allow the router to assign IP addresses and put your static addresses in the beginning range that the router uses.



You do not mention why you ask the question, but if you set the IP addresses as !amtheKing mentions then just make them different and you will be okay.
anonymous
2008-10-30 17:11:19 UTC
Both machines will have an independent private address for use on the network. Your public router address will be the same for both, as it only has one connection to the internet.
Ravi Kiran Singh
2008-10-30 17:10:07 UTC
By default they will be assigned different IP address...



To refresh your IP address on a network, follow

1. Open the Command Prompt (from the Start button, go to Programs > Accessories > Command Prompt).

2. In the command prompt window, type ipconfig /release

3. In the command prompt window, type ipconfig /renew

4. Exit the Command Prompt by typing exit





* You may want to create a small batch file of this command. See How to Write a Batch File. In you batch file enter the following (without the ") "C:\Documents and Settings\{Put the username you are logged on here}\Start Menu\Programs\Accessories\Command Prompt

* ipconfig/release {Press Enter}

* ipconfig/renew"

* Read the stuff in the {}

* To check your IP address, type ipconfig

* To check detailed information about your TCP/IP settings, type ipconfig /all

* Win98 users should type ipconfig /renew_all
anonymous
2008-10-30 17:10:45 UTC
if you have DHCP on then they will have different IPs



if you use static IPs then you can specify what computer gets what IP
anonymous
2008-10-30 17:09:13 UTC
1. Yes

2. No
piekid0529
2008-10-30 17:18:34 UTC
You will have different ips



----------------------------------------

Visit my website at http://www.freewebs.com/ericwu123456
masudur r
2008-10-30 17:12:12 UTC
go to www.whatismyip.com



than



u do or understand.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...