Static Internal IP?

J

James

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?
 
F

Frankster

You don't set your router to "give my machine" a static IP. You set you
machine to a static IP. Period. Have you done that? You do set your router
to not assign that IP to any other client.

-Frank
 
J

James

I go into my router's settings and I enter in a MAC address and machine name
and a static/reserved IP address. The router controls DHCP internally.
 
T

Troy McClure

thats a DHCP reservation... not a static address.
vista uses a lot of ipv6 stuff... mayeb thats causing your issue?
 
J

James

My strongest suspicion is that it has something to do with IPv6 co-existing
with IPv4.
 
T

Troy McClure

although... if you want a TRUE static address, then just assign it to the
computer outside of your dhcp scope
 
S

Synapse Syndrome

Frankster said:
You don't set your router to "give my machine" a static IP. You set you
machine to a static IP. Period. Have you done that? You do set your router
to not assign that IP to any other client.


Yes you can, and it is better that way as well, as you won't have to alter
settings anytime you reinstall the OS. You normally have to assign a
particular IP address to a network card's MAC address to do this, but I have
heard that some routers can do this by computer name. I do it by MAC
address, and I'm sure this is the best way when you have dual NICs in your
computers.

ss.
 
J

James

ipconfig /all results on Vista. I have DHCP enabled and do not have my
adapter's IP address as static in Windows, I want to have the router control
it. In the router I have both the machine name and the MAC address (which
matches here) to 192.168.0.5. But it's returning as 192.168.0.7. I've
disabled IPv6.

Windows IP Configuration
Host Name . . . . . . . . . . . . : James-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NETGEAR 108 Mbps Wireless PCI Adapter
WG311T
Physical Address. . . . . . . . . : 00-0F-B5-8C-00-95
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.7(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, December 19, 2006 12:26:19
PM
Lease Expires . . . . . . . . . . : Wednesday, December 20, 2006 12:26:19
PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
Physical Address. . . . . . . . . : 00-14-22-3B-F8-7F
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 6:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . :
isatap.{61CFEE25-474E-4F27-BFD7-14E340C2DB77}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 7:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . :
isatap.{AE5CF1C8-8FD0-42A8-8E11-9D222691DBA5}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5efe:192.168.0.7%11(Preferred)
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Local Area Connection* 9:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
 
T

Troy McClure

no, you cant. youre confusing the terminology. this has NOTHING to do with
the "router" but instead is a function of the DHCP server running ON the
router. and youre NOT "setting a static IP address". youre simply creating a
DHCP reservation for a specific mac address. its still DHCP assigned and
thus NOT static. if you read the RFC youll also learn that youre not
guaranteed to GET the reserved IP address all the time when the lease
expires.
go do some reading
 
S

Synapse Syndrome

Troy McClure said:
no, you cant. youre confusing the terminology. this has NOTHING to do with
the "router" but instead is a function of the DHCP server running ON the
router. and youre NOT "setting a static IP address". youre simply creating
a DHCP reservation for a specific mac address. its still DHCP assigned and
thus NOT static. if you read the RFC youll also learn that youre not
guaranteed to GET the reserved IP address all the time when the lease
expires.
go do some reading

heh, keep you knickers on mate..

ss.
 
F

Frankster

I have DHCP enabled and do not have my adapter's IP address
as static in Windows, I want to have the router control it.

Can you explain why? That might help solve this dilemma.

-Frank
 
R

Robert Pendell

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.
 
J

Jeff Gaines

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.

[excellent explanation snipped]

I don't have this issue but that is an excellent explanation, many thanks
- it's now saved in my notes :)
 
S

Stubby

I appreciate the fine explaination, but are you speaking of addresses on
your local LAN or global internet addresses. Most of us want a static
address for the world to see so that servers can be operated. ISPs
will supply these if you sign up for a "business account" and some high
price.
 
R

Robert Pendell

Stubby said:
I appreciate the fine explaination, but are you speaking of addresses on
your local LAN or global internet addresses. Most of us want a static
address for the world to see so that servers can be operated. ISPs
will supply these if you sign up for a "business account" and some high
price.

I was speaking of both. My work assigns public static ip addresses
straight out of our dhcp pool to customers. However each isp may be
different so there may be some that have a set of ip addresses outside
of the dhcp pool reserved for static ip customers.
 
R

Robert Pendell

Jeff said:
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.

[excellent explanation snipped]

I don't have this issue but that is an excellent explanation, many
thanks - it's now saved in my notes :)

Thanks. I appreciate the comment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top