how the ip address is generated?

  • Thread starter Thread starter Matthew Louden
  • Start date Start date
M

Matthew Louden

When we type command ipconfig, it will show the PC's IP address. I want to
know how the IP address is assigned? Static IP and dynamic IP are assigned
in 2 different ways??

Please advise!
Thanks!
 
Static IP's are when you tell XP to use a specific IP.

Dynamic IP's are when you are assigned an IP address by
what is called a DHCP server.

If XP cannot find a DHCP server, it will auto-generate an
IP address in the 169.254.x.x range.
 
-----Original Message-----
When we type command ipconfig, it will show the PC's IP address. I want to
know how the IP address is assigned? Static IP and dynamic IP are assigned
in 2 different ways??

Please advise!
Thanks!


.
Hi Matthew,
If you are using a machine connected to a domain or an
internet service, you can have the IP address
automatically assigned by a DHCP server. Open control
panel, network settings, then click TCP/IP and
properties. In the general tab, you will see a selection
that allows you to have the address automatically
assigned. However, if you want a static address - in
which case you would have one that is given to you by
your domain administrator or internet service, you can
select to enter this address manually. This would be a
static address which you would always have assigned to
your machine. In most instances, for a home machine, you
would use DHCP and get an address automatically assigned
when you connect to the network. If you are using an
internet service and want a machine that is always
available on the network for business purposes, you can
request a static address which normally has a charge
accompanying it.
John
 
Of corse they are assigned in two different ways - static is assigned manually,
and dynamic is assigned automagically.
What is your problem?
 
Hi,

With a static IP, you (or someone else) has configured the machine manually
to have that IP.

With a dynamic IP, you get your IP from a DHCP server, and can get another
IP next time you connect.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com - FAQ & Tutorials for Windows Server 2003, and SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
 
what's a dhcp server


Kristofer Gafvert said:
Hi,

With a static IP, you (or someone else) has configured the machine manually
to have that IP.

With a dynamic IP, you get your IP from a DHCP server, and can get another
IP next time you connect.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com - FAQ & Tutorials for Windows Server 2003, and SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
 
Hi,

A DHCP Server makes your life as an administrator much easier :-)

Suppose the client is configured to get its IP from a DHCP server, then when
you start the client computer, it will send out a message, and ask all other
computers if they have an IP they can give to the client. If a DHCP server
exists, it will respond to this message and give the client an IP address.
(very brief explanation, of course some other packets are being sent)

So, the DHCP server is basically a server that has several IP addresses in a
database, and when a client needs an IP address, it asks the server to send
one. When the client do not need one anymore, it will be "returned" to the
server, so another client can use this IP.

Some links:
http://www.webopedia.com/TERM/D/DHCP.html
http://www.dhcp-handbook.com/dhcp_faq.html

--
Regards,
Kristofer Gafvert
http://www.ilopia.com - FAQ & Tutorials for Windows Server 2003, and SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.

Problems with spam and viruses? See
http://www.ilopia.com/security/newsposting.aspx
 
DHCP Stands forDynamic Host Configutation Protocol

In very basic terms, the DHCP Servr assigns a free IP in the IP range
(pre-difined in the DHCP configuration)...This would depend on the DHCP
config! A DHCP Server configured to assign an IP in the range 192.168.1.x
(where x ranges 1 through 254) would assign any of the free IPs between 1 to
254 to a system that connects to it (usually in ascending order...i.e.
checks for the lowest IP that is free, e.g. 1, then goes o 2, etc. and
assigns the very first freeIP to the system that just connected to it...).

On the other hand, the static IP is set manually by the user or
administrator on the local system and remains STATIC, hence the term STATIC
IP Address.
 
So if I connect to the net via my local cable service (e.g. roadrunner) and
my ip address is always the same each time I connect, then [roadrunner] is a
dhcp client?
 
Hi,

If your IP is always the same, it is possible that you have a static IP. But
i do not think so, because most ISPs uses DHCP, and in that case, roadrunner
has a DHCP server, and you are the client which connect to this server to
get an IP.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com - FAQ & Tutorials for Windows Server 2003, and SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.

Problems with spam and viruses? See
http://www.ilopia.com/security/newsposting.aspx


Doug Chesner said:
So if I connect to the net via my local cable service (e.g. roadrunner) and
my ip address is always the same each time I connect, then [roadrunner] is a
dhcp client?


Ted said:
DHCP Stands forDynamic Host Configutation Protocol

In very basic terms, the DHCP Servr assigns a free IP in the IP range
(pre-difined in the DHCP configuration)...This would depend on the DHCP
config! A DHCP Server configured to assign an IP in the range 192.168.1.x
(where x ranges 1 through 254) would assign any of the free IPs between
1
to
254 to a system that connects to it (usually in ascending order...i.e.
checks for the lowest IP that is free, e.g. 1, then goes o 2, etc. and
assigns the very first freeIP to the system that just connected to it...).

On the other hand, the static IP is set manually by the user or
administrator on the local system and remains STATIC, hence the term STATIC
IP Address.
 
Like Kristofer suggested, chances are YOUR connection is configured to use a
MANUALLY setIP (i.e. Static IP). Having said that ifyou're online daily, and
the ISP uses DHCP then COZ you make use of your IP daily, your ISP simply
extends the deadline after which yourIP woudld be released foruse by another
machine (now that also includes your machine)!

Chek the properties under the TCP/IP==> Network Adapter

There you'll find the configuration of the IP for your system...If it has
the OPTION under the TCP/IP tab"Obtain IP Address" activated, then you have
it configued to use DHCP of the RR cable company...If it has the IP listed
under the TCP/IP tab then it's STATIC IP...

Ted

Doug Chesner said:
So if I connect to the net via my local cable service (e.g. roadrunner) and
my ip address is always the same each time I connect, then [roadrunner] is a
dhcp client?


Ted said:
DHCP Stands forDynamic Host Configutation Protocol

In very basic terms, the DHCP Servr assigns a free IP in the IP range
(pre-difined in the DHCP configuration)...This would depend on the DHCP
config! A DHCP Server configured to assign an IP in the range 192.168.1.x
(where x ranges 1 through 254) would assign any of the free IPs between
1
to
254 to a system that connects to it (usually in ascending order...i.e.
checks for the lowest IP that is free, e.g. 1, then goes o 2, etc. and
assigns the very first freeIP to the system that just connected to it...).

On the other hand, the static IP is set manually by the user or
administrator on the local system and remains STATIC, hence the term STATIC
IP Address.
 
Thank you Kristopher and Ted :)

Yep you're both correct.....I checked and It's set to get the ip from the
cable co. DHCP server.....at least now I know that my ip is always the same
because I'm always connected :)

Would appreciate a note here if my main post goes unanswered......am I
posting it to the right newsgroup? Have been to some of the groups
occasionally over the years but never as a regular, so (especially for my
orig post here since I lack any experience in the area of wireless
connections).

Thanks again.


Ted said:
Like Kristofer suggested, chances are YOUR connection is configured to use a
MANUALLY setIP (i.e. Static IP). Having said that ifyou're online daily, and
the ISP uses DHCP then COZ you make use of your IP daily, your ISP simply
extends the deadline after which yourIP woudld be released foruse by another
machine (now that also includes your machine)!

Chek the properties under the TCP/IP==> Network Adapter

There you'll find the configuration of the IP for your system...If it has
the OPTION under the TCP/IP tab"Obtain IP Address" activated, then you have
it configued to use DHCP of the RR cable company...If it has the IP listed
under the TCP/IP tab then it's STATIC IP...

Ted

Doug Chesner said:
So if I connect to the net via my local cable service (e.g. roadrunner) and
my ip address is always the same each time I connect, then [roadrunner]
is
a
dhcp client?
between
1 and
SQL
 
You're welcome...

Regarding your Q...depending on which OS you use (I'm not sure you're using
a Server) you could go to the following NG if you use Win98(se):
microsoft.public.win98.networking

Ted


Doug Chesner said:
Thank you Kristopher and Ted :)

Yep you're both correct.....I checked and It's set to get the ip from the
cable co. DHCP server.....at least now I know that my ip is always the same
because I'm always connected :)

Would appreciate a note here if my main post goes unanswered......am I
posting it to the right newsgroup? Have been to some of the groups
occasionally over the years but never as a regular, so (especially for my
orig post here since I lack any experience in the area of wireless
connections).

Thanks again.


Ted said:
Like Kristofer suggested, chances are YOUR connection is configured to
use
a
MANUALLY setIP (i.e. Static IP). Having said that ifyou're online daily, and
the ISP uses DHCP then COZ you make use of your IP daily, your ISP simply
extends the deadline after which yourIP woudld be released foruse by another
machine (now that also includes your machine)!

Chek the properties under the TCP/IP==> Network Adapter

There you'll find the configuration of the IP for your system...If it has
the OPTION under the TCP/IP tab"Obtain IP Address" activated, then you have
it configued to use DHCP of the RR cable company...If it has the IP listed
under the TCP/IP tab then it's STATIC IP...

Ted

roadrunner)
and
[roadrunner]
is between
address.
 
Im on XP Pro.


Ted said:
You're welcome...

Regarding your Q...depending on which OS you use (I'm not sure you're using
a Server) you could go to the following NG if you use Win98(se):
microsoft.public.win98.networking

Ted


Doug Chesner said:
Thank you Kristopher and Ted :)

Yep you're both correct.....I checked and It's set to get the ip from the
cable co. DHCP server.....at least now I know that my ip is always the same
because I'm always connected :)

Would appreciate a note here if my main post goes unanswered......am I
posting it to the right newsgroup? Have been to some of the groups
occasionally over the years but never as a regular, so (especially for my
orig post here since I lack any experience in the area of wireless
connections).

Thanks again.


Ted said:
Like Kristofer suggested, chances are YOUR connection is configured to
use
a
MANUALLY setIP (i.e. Static IP). Having said that ifyou're online
daily,
and
the ISP uses DHCP then COZ you make use of your IP daily, your ISP simply
extends the deadline after which yourIP woudld be released foruse by another
machine (now that also includes your machine)!

Chek the properties under the TCP/IP==> Network Adapter

There you'll find the configuration of the IP for your system...If it has
the OPTION under the TCP/IP tab"Obtain IP Address" activated, then you have
it configued to use DHCP of the RR cable company...If it has the IP listed
under the TCP/IP tab then it's STATIC IP...

Ted

So if I connect to the net via my local cable service (e.g. roadrunner)
and
my ip address is always the same each time I connect, then
[roadrunner]
is
a
dhcp client?


DHCP Stands forDynamic Host Configutation Protocol

In very basic terms, the DHCP Servr assigns a free IP in the IP range
(pre-difined in the DHCP configuration)...This would depend on the DHCP
config! A DHCP Server configured to assign an IP in the range
192.168.1.x
(where x ranges 1 through 254) would assign any of the free IPs between
1
to
254 to a system that connects to it (usually in ascending order...i.e.
checks for the lowest IP that is free, e.g. 1, then goes o 2, etc. and
assigns the very first freeIP to the system that just connected to
it...).

On the other hand, the static IP is set manually by the user or
administrator on the local system and remains STATIC, hence the term
STATIC
IP Address.

what's a dhcp server


Hi,

With a static IP, you (or someone else) has configured the machine
manually
to have that IP.

With a dynamic IP, you get your IP from a DHCP server, and can get
another
IP next time you connect.
2003,
and
SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by
email,
but
please
do not.


When we type command ipconfig, it will show the PC's IP
address.
I
want
to
know how the IP address is assigned? Static IP and dynamic
IP
are
assigned
in 2 different ways??

Please advise!
Thanks!
 
I've jumped into the middle of what I think is the closest thread to my question. XP, wireless at home on linksys and different corporate wireless at work. At home using a DHCP, at work using static addressing. I have tried to save a profile for each location assuming it would save the IP settings, but not working.
Surely there is a way to set to configuration for wireless without having to constantly retype.
Any input would be great.
Thanks.
 
Back
Top