James said:
I set up my router to give my machine name a static IP address. Under XP it
works fine and I always have the same IP address internally (192.168.X.X).
However, under Vista, every time I reboot it changes even though in my
router I have the correct machine name assigned a static IP address.
Typically I'd think this was a router problem but it only happens in Vista.
Has anyone else experienced this?
Yea. I agree with a few other people in here. You have static ip and
address reservation confused a bit. I would know because we do exactly
this at work.
The router is reserving an address for your computer so it doesn't hand
it out. However your computer is configured for DHCP so when it goes to
the router then the router will assign an address. It may not always
give you that address. So for this to work out you need to do both
address reservation and set the static in the network adapter. This may
be better explained with some examples.
Assume in the following example that Computer 1 has been reserved an
address of 10.0.0.3. The dhcp pool starts at 10.0.0.2. Computer 1
requests first. Computer 2 has no reserved address.
Computer 1 requests an address from Router
Router says ok 10.0.0.2 is available -- offer assignment
Computer 1 accepts and gets assigned 10.0.0.2
Computer 2 requests an address from Router
Router says ok 10.0.0.4 is available -- offer assignment
Computer 2 accepts and gets assigned 10.0.0.4
Note that 10.0.0.3 was skipped. Why? Because it was reserved for
Computer 1. However Computer 1 got assigned the first available address.
Now here is a different example. Same setup but Computer 2 requests
first instead.
Computer 2 requests an address from Router
Router says ok 10.0.0.2 is available -- offer assignment
Computer 2 accepts and gets assigned 10.0.0.2
Computer 1 requests an address from Router
Router says ok 10.0.0.3 is reserved for you -- offer assignment
Computer 1 accepts and gets assigned 10.0.0.3
Ok. Now do you understand how this works? Address Reservation and
Static IPs works together. Address Reservation prevents IP conflicts
when you have machines statically assigned addresses within a DHCP pool.