Check the alternate configuration settings? If the computer cannot automatically get an IP from DHCP it will use the alternate settings. If you are trying to use a static IP be sure the address is in the same network as your hub/switch/router.
If the primary settings fail the computer will use the alternate settings:
You can check the Alternate Configuration feature in Vista using the following steps:
1. Click Start, right click Network and click Properties.
2. Select Manage network connections.
3. Right click your network connection and click Properties
4. From the list of network components, select Internet Protocol (TCP/IP) and click the Properties button.
5. From the Internet Protocol (TCP/IP) Properties window select the Alternate Configuration tab.
Specify the IP parameters that should be used should the primary IP configuration fail.