Losing Static IP Address / Changing to Automatic (expects DHCP)
I'm seeing a couple of XP clients on a network using static IP addresses
(with no DHCP implemented on the network) switch from the static IP address
that's been entered to "get IP address automatically".
Of course this is very disruptive because the clients need to be
reconfigured and the users are mostly unable to do this by themselves. What
ends up is that the machines get the default 169 addresses and that is
completely incompatible with the IP address range that's been set up on the
network.
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
Greetings
Check the event logs for IP addressing conflicts. Perhaps that static IP is
already assigned.
Hope this helps
Albatross Singh
"Fred Marshall" <fmarshallx@remove_the_x.acm.org> wrote in message
news:%23WyWKZ7UEHA.2520@TK2MSFTNGP10.phx.gbl...
> I'm seeing a couple of XP clients on a network using static IP addresses
> (with no DHCP implemented on the network) switch from the static IP
address
> that's been entered to "get IP address automatically".
>
> Of course this is very disruptive because the clients need to be
> reconfigured and the users are mostly unable to do this by themselves.
What
> ends up is that the machines get the default 169 addresses and that is
> completely incompatible with the IP address range that's been set up on
the
> network.
>
> What might cause this change to occur?
>
> How to prevent it?
>
> Thanks,
>
> Fred
>
>
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
Thanks for the reply.
Well, what if the static IP address *were* already assigned? I understand
that would create a conflict. However, what does that have to do with the
client setup changing all by itself without intervention? There is no DHCP
service running anywhere.
Fred
"Albatross Singh" <albatross_singh(REMOVEME)@hotmail.com> wrote in message
news:%23f7uIn7UEHA.808@tk2msftngp13.phx.gbl...
> Greetings
>
> Check the event logs for IP addressing conflicts. Perhaps that static IP
is
> already assigned.
>
> Hope this helps
> Albatross Singh
>
> "Fred Marshall" <fmarshallx@remove_the_x.acm.org> wrote in message
> news:%23WyWKZ7UEHA.2520@TK2MSFTNGP10.phx.gbl...
> > I'm seeing a couple of XP clients on a network using static IP addresses
> > (with no DHCP implemented on the network) switch from the static IP
> address
> > that's been entered to "get IP address automatically".
> >
> > Of course this is very disruptive because the clients need to be
> > reconfigured and the users are mostly unable to do this by themselves.
> What
> > ends up is that the machines get the default 169 addresses and that is
> > completely incompatible with the IP address range that's been set up on
> the
> > network.
> >
> > What might cause this change to occur?
> >
> > How to prevent it?
> >
> > Thanks,
> >
> > Fred
> >
> >
>
>
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
Actually, I would believe an answer that would say:
"That can't happen. Somebody must have run a configuration program or some
such thing....."
Any takers on this hypothesis? Any reasonable discussion regarding why
"that can't happen"?
Any reasonable discussion regarding how it *could* happen without human
intervention? Now, that would be very interesting!!
The latter is what is being reported.
Fred
"Albatross Singh" <albatross_singh(REMOVEME)@hotmail.com> wrote in message
news:%23f7uIn7UEHA.808@tk2msftngp13.phx.gbl...
> Greetings
>
> Check the event logs for IP addressing conflicts. Perhaps that static IP
is
> already assigned.
>
> Hope this helps
> Albatross Singh
>
> "Fred Marshall" <fmarshallx@remove_the_x.acm.org> wrote in message
> news:%23WyWKZ7UEHA.2520@TK2MSFTNGP10.phx.gbl...
> > I'm seeing a couple of XP clients on a network using static IP addresses
> > (with no DHCP implemented on the network) switch from the static IP
> address
> > that's been entered to "get IP address automatically".
> >
> > Of course this is very disruptive because the clients need to be
> > reconfigured and the users are mostly unable to do this by themselves.
> What
> > ends up is that the machines get the default 169 addresses and that is
> > completely incompatible with the IP address range that's been set up on
> the
> > network.
> >
> > What might cause this change to occur?
> >
> > How to prevent it?
> >
> > Thanks,
> >
> > Fred
> >
> >
>
>
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
On Wed, 16 Jun 2004 15:17:11 -0700, "Fred Marshall"
<fmarshallx@remove_the_x.acm.org> wrote:
>Thanks for the reply.
>
>Well, what if the static IP address *were* already assigned? I understand
>that would create a conflict. However, what does that have to do with the
>client setup changing all by itself without intervention? There is no DHCP
>service running anywhere.
>
>Fred
Fred / Albatross,
In Windows XP, you have the ability to have a General and an Alternate
Configuration. Generally, it is used with DHCP set for General (so any DHCP
server can assign an ip address and everything else), and APIPA (automatic self
assignment) set for Alternate (so if no DHCP server is available, the system
issues an APIPA address, which is chosen to not equal one already in use on the
network).
In your case, you assigned a fixed address for General. If that address is in
use, it then self assigns an APIPA address.
You have the option to assign an Alternate Configuration using a second fixed
address of your choice, rather than allow APIPA.
Look at Example 2 in the document for an alternate scenario which may apply in
your case.
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
"Chuck" <none@example.net> wrote in message
news:qhi1d0diqv310a04bkd3r6rcu27b0uimkf@4ax.com...
> Fred / Albatross,
>
> In Windows XP, you have the ability to have a General and an Alternate
> Configuration. Generally, it is used with DHCP set for General (so any
DHCP
> server can assign an ip address and everything else), and APIPA (automatic
self
> assignment) set for Alternate (so if no DHCP server is available, the
system
> issues an APIPA address, which is chosen to not equal one already in use
on the
> network).
>
> In your case, you assigned a fixed address for General. If that address
is in
> use, it then self assigns an APIPA address.
>
> You have the option to assign an Alternate Configuration using a second
fixed
> address of your choice, rather than allow APIPA.
>
> Look at Example 2 in the document for an alternate scenario which may
apply in
> your case.
>
> <http://support.microsoft.com/default.aspx?scid=kb;en-us;220874>
Ah! Thank you. So if I assign the static address to both General and
Alternate then it will stay fixed?
If the IP address assigned in General is fixed and if it is in use and if
the alternate is then used, does the IP setting selection switch from fixed
to "get it automatically"?
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
On Wed, 16 Jun 2004 22:47:33 -0700, "Fred Marshall"
<fmarshallx@remove_the_x.acm.org> wrote:
>
>"Chuck" <none@example.net> wrote in message
>news:qhi1d0diqv310a04bkd3r6rcu27b0uimkf@4ax.com.. .
>
>> Fred / Albatross,
>>
>> In Windows XP, you have the ability to have a General and an Alternate
>> Configuration. Generally, it is used with DHCP set for General (so any
>DHCP
>> server can assign an ip address and everything else), and APIPA (automatic
>self
>> assignment) set for Alternate (so if no DHCP server is available, the
>system
>> issues an APIPA address, which is chosen to not equal one already in use
>on the
>> network).
>>
>> In your case, you assigned a fixed address for General. If that address
>is in
>> use, it then self assigns an APIPA address.
>>
>> You have the option to assign an Alternate Configuration using a second
>fixed
>> address of your choice, rather than allow APIPA.
>>
>> Look at Example 2 in the document for an alternate scenario which may
>apply in
>> your case.
>>
>> <http://support.microsoft.com/default.aspx?scid=kb;en-us;220874>
>
>Ah! Thank you. So if I assign the static address to both General and
>Alternate then it will stay fixed?
>
>If the IP address assigned in General is fixed and if it is in use and if
>the alternate is then used, does the IP setting selection switch from fixed
>to "get it automatically"?
>
>Fred
Fred,
I've never used General / Alternate Configuration, with both assigning a fixed
ip address, to allow for duplicate ip address assignment. I've used it to
switch between DHCP and fixed, and to use alternate default gateways with fixed
ip addresses (the latter under WinNT).
You can only assign a DHCP assignment ("get it automatically") in the General
tab, and only assign an APIPA assignment in the Alternate tab. It would appear
that you can assign a preferred (General) fixed address, or an alternate fixed
address, this way. But what happens if you have a conflict on both the
preferred and alternate addresses?
If you're going to use fixed ip addresses, with no DHCP server, I would advise
you to start assigning addresses responsibly, and avoid duplicates. The best
solution, IMHO, would be for you to setup a DHCP server.
Cheers,
Chuck
Paranoia comes from experience - and is not necessarily a bad thing.
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
"Chuck" <none@example.net> wrote in message
news:qhi1d0diqv310a04bkd3r6rcu27b0uimkf@4ax.com...
> On Wed, 16 Jun 2004 15:17:11 -0700, "Fred Marshall"
> <fmarshallx@remove_the_x.acm.org> wrote:
>
> >Thanks for the reply.
> >
> >Well, what if the static IP address *were* already assigned? I
understand
> >that would create a conflict. However, what does that have to do with
the
> >client setup changing all by itself without intervention? There is no
DHCP
> >service running anywhere.
> >
> >Fred
>
> Fred / Albatross,
>
> In Windows XP, you have the ability to have a General and an Alternate
> Configuration. Generally, it is used with DHCP set for General (so any
DHCP
> server can assign an ip address and everything else), and APIPA (automatic
self
> assignment) set for Alternate (so if no DHCP server is available, the
system
> issues an APIPA address, which is chosen to not equal one already in use
on the
> network).
>
> In your case, you assigned a fixed address for General. If that address
is in
> use, it then self assigns an APIPA address.
>
> You have the option to assign an Alternate Configuration using a second
fixed
> address of your choice, rather than allow APIPA.
>
> Look at Example 2 in the document for an alternate scenario which may
apply in
> your case.
>
> <http://support.microsoft.com/default.aspx?scid=kb;en-us;220874>
>
> Cheers,
> Chuck
> Paranoia comes from experience - and is not necessarily a bad thing.
Chuck,
I read the article and I looked at an XP Home system. I didn't find an
Alternate entry or section although I did find a way to add an IP address
using Advanced. It's not clear at all what using that latter approach will
do.
So, I'm curious about the Alternate that you mentioned.
I also read 308007 and it appears that the configuration I'm working with is
unconventional:
Peer to peer network with no router or ICS-configured computer or other DHCP
server.
IP addresses are static in 192.168.1.x range with 255.255.255.0 subnet mask.
There is no gateway entered in any of the computers.
Two of the XP systems have switched from static IP addressing to APIPA and
this is accompanied by the setting "Use the following IP address:" being
changed to "Obtain an IP address automatically".
Of course, the APIPA addresses are incompatible with the static addresses
that are set up in the other machines on the network - so connectivity is
lost when this happens.
I have a notion, perhaps one that is unjustified, that using static IP
addresses is better - particularly when setting up a network and assuring
that things are working. It avoids the time it takes for a network to
figure out who is who as would be the case with DHCP or APIPA. Now, I must
admit that I almost never work on peer-to-peer networks such as this one.
However, the occurrence concerns me because:
For internal security, one might turn off DHCP on a router and use static
addresses.
So, what happens with XP clients if:
Somebody comes in with a laptop that has the same IP address set up as is on
one of the other computers (call it #2).
#2 is shut off when the laptop is connected.
Then, #2 is subsequently turned on.
There is, as above, No DHCP.
There is an IP address conflict.
Does #2 lose the setting "Use the following IP address" and automatically
switch to "Obtain an IP address automatically" and, therefore, get an APIPA
address - never to return without human intervention?
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
"Chuck" <none@example.net> wrote in message
news:kn73d09vd62f1pelrn83md9vgsr84jrk9q@4ax.com...
> On Wed, 16 Jun 2004 22:47:33 -0700, "Fred Marshall"
> Fred,
>
> I've never used General / Alternate Configuration, with both assigning a
fixed
> ip address, to allow for duplicate ip address assignment. I've used it to
> switch between DHCP and fixed, and to use alternate default gateways with
fixed
> ip addresses (the latter under WinNT).
>
> You can only assign a DHCP assignment ("get it automatically") in the
General
> tab, and only assign an APIPA assignment in the Alternate tab. It would
appear
> that you can assign a preferred (General) fixed address, or an alternate
fixed
> address, this way. But what happens if you have a conflict on both the
> preferred and alternate addresses?
>
> If you're going to use fixed ip addresses, with no DHCP server, I would
advise
> you to start assigning addresses responsibly, and avoid duplicates. The
best
> solution, IMHO, would be for you to setup a DHCP server.
>
Yep. It could be there was IP address conflict. Since I really want to
stay with static IP addresses, having a DHCP server won't help unless I
change the approach. So responsible assignment is essential.
On occasion I run into browsing problems and find that computers don't show
up on the network until much time has passed. This confuses me and
particularly confuses the users. The network is fine but doesn't look like
it. Any comment?
Anyway, I have a notion that using static IP addresses helps in this regard
when computers are always being turned off and rebooted. I'm not sure this
makes sense but it sure can't hurt!
Re: Losing Static IP Address / Changing to Automatic (expects DHCP)
On Thu, 17 Jun 2004 07:19:33 -0700, "Fred Marshall"
<fmarshallx@remove_the_x.acm.org> wrote:
<SNIP>
>Chuck,
>
>I read the article and I looked at an XP Home system. I didn't find an
>Alternate entry or section although I did find a way to add an IP address
>using Advanced. It's not clear at all what using that latter approach will
>do.
>
>So, I'm curious about the Alternate that you mentioned.
>
>I also read 308007 and it appears that the configuration I'm working with is
>unconventional:
>
>Peer to peer network with no router or ICS-configured computer or other DHCP
>server.
>IP addresses are static in 192.168.1.x range with 255.255.255.0 subnet mask.
>There is no gateway entered in any of the computers.
>
>Two of the XP systems have switched from static IP addressing to APIPA and
>this is accompanied by the setting "Use the following IP address:" being
>changed to "Obtain an IP address automatically".
>
>Of course, the APIPA addresses are incompatible with the static addresses
>that are set up in the other machines on the network - so connectivity is
>lost when this happens.
>
>I have a notion, perhaps one that is unjustified, that using static IP
>addresses is better - particularly when setting up a network and assuring
>that things are working. It avoids the time it takes for a network to
>figure out who is who as would be the case with DHCP or APIPA. Now, I must
>admit that I almost never work on peer-to-peer networks such as this one.
>However, the occurrence concerns me because:
>
>For internal security, one might turn off DHCP on a router and use static
>addresses.
>So, what happens with XP clients if:
>Somebody comes in with a laptop that has the same IP address set up as is on
>one of the other computers (call it #2).
>#2 is shut off when the laptop is connected.
>Then, #2 is subsequently turned on.
>There is, as above, No DHCP.
>There is an IP address conflict.
>
>Does #2 lose the setting "Use the following IP address" and automatically
>switch to "Obtain an IP address automatically" and, therefore, get an APIPA
>address - never to return without human intervention?
Fred,
You're right - your network is somewhat unconventional. And maybe a little
insecure too.
Using static ip addresses is a good idea on a small LAN, where you can assign
addresses, and control connections, rigorously. Dynamically assigned networks
are a good idea for larger LANs, or for LANs where connections come and go, and
you don't control them.
Very few LANs of any size aren't connected to the internet these days. Without
a connection of some type to another subnet (thru a router), there is no need
for a default gateway (or any gateway). So all you need is a unique ip address,
with the appropriate subnet mask.
Typically, business LANs don't use XP Home either.
Actually, if you don't have outside connection, there is really no need to use
ip. Except for the laptops. But that's another matter.
What are these laptop owners doing when they connect to the LAN? How do they
magically have the right (fixed) ip address to connect to your resources, even
if they don't cause an address conflict? What resources do you not value, and
leave open to their discretion?
If you are accepting laptops, that you don't control, being connected to your
network without your supervision, you have more problems than duplicate ip
addresses.
Go to the nearest computer store, and get a $50 NAT router with DHCP. That
would be unconventional too, but it would take care of your address problem.
But IMHO, you should review your security policy.
Cheers,
Chuck
Paranoia comes from experience - and is not necessarily a bad thing.