• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ip address

 
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have computer having Broad band connection on it.How the IP address will be assigned to my computer.



1) IP address of computer is never changed?

2)I use Win XP ,If I use get IP address using Command prompt I get a address ,what is this number ? who will assign this address?,is it possible to change this address if so how?

3) If I get IP address using command prompt differs from address retrieved using some online tool


4) is it possible for a computer to a many ip address??
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have computer having Broad band connection on it.How the IP address will be assigned to my computer.



Depends on how it is configured. In most cases, the broadband modem gets the IP address from the service (DHCP). If you place a router between it and the computer, it can provide you IP address (same service (DHCP), but the address is likely NAT'ed for privacy). Or you can hardwire the address...


1) IP address of computer is never changed?



If it is hardwired. But if it comes from a service, it has an expiration date.


2)I use Win XP ,If I use get IP address using Command prompt I get a address ,what is this number ? who will assign this address?,is it possible to change this address if so how?



Same question and answer as above.

3) If I get IP address using command prompt differs from address retrieved using some online tool



Not sure of what you are asking.

4) is it possible for a computer to a many ip address??



Each interface can have an IP address. Furthermore, you can assign a virtual IP address too, so you can have a computer respond to many IP addresses on the same interface.

Henry
 
jacob deiter
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

3) If I get IP address using command prompt differs from address retrieved using some online tool




I use Command Prompt the use ipconfig it gives a number ,but it i click URL "http://whatismyipaddress.com/" then it gives different number?
 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jacob deiter wrote:

3) If I get IP address using command prompt differs from address retrieved using some online tool




I use Command Prompt the use ipconfig it gives a number ,but it i click URL "http://whatismyipaddress.com/" then it gives different number?



This is because you are behind a NAT'ed device, such as a router. The IP address that is returned from ipconfig is correct, but it is private to the network you are in -- from outside of the private network, all anyone sees is the IP address of the router (which is what is returned from the external site).

Henry
 
jacob deiter
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
so If a computer(A) is behind a router then How the computer(A) is accessed from outside of router.Which ip address should be used by outsiders to access the computer(A)
 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jacob deiter wrote:so If a computer(A) is behind a router then How the computer(A) is accessed from outside of router.Which ip address should be used by outsiders to access the computer(A)



Well, simply... It can't be acessed. That's why the network is private. The machines in the network can access the outside -- and all be seen as if it came from the router, but there is no easy way for the outside to get to any of the machines in the network.

Now, the router can forward a port. For example, you can configure the router to forward port 8080 on the router to another port on a machine in the private network. This will allow you to access services on the private network, by accessing ports on the router. But it has to be configured. You can't access an arbitrary port on an arbitrary machine in the network.

Henry

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is possible to change the IP address by manipulating proxy settings.
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic