Expert Knowledge: IP Addresses and How They Work

an article added by: Jason Mckinley at 06212007


Windows Vista :: Expert Knowledge: IP Addresses and How They Work ::

 French | Spanish | Portuguese | Italian | German | Japanese | Chinese | Korean | Russian | Arabic Bookmark and Share

You don’t need to know this information in order to implement a Windows network, but understanding what Internet Protocol IP addresses are and how they work can be a great help when troubleshooting network problems.

TCP/IP uses an IP address to identify each computer or device on a network:

• An IPv4 address is written in decimal numbers and takes the form x.x.x.x, where each x is a number between 0 and 255- for example, 216.43.28.244.

• An IPv6 address is written in hexadecimal notation base 16: using the numbers 0–9, and the letters A– F. An IPv6 address consists of eight groups of hexadecimal characters separated by colons. Written out in full, an IPv6 address might look like this: 3dce:ffff:0000:2f3b:02ba:00ff:fe28:9c5a. You can also compact many IPv6 addresses by suppressing any leading zeroes in a section. For example, the compact form of the previous address is 3dce:ffff:0:2f3b:2ba:ff:fe28:9c5a. Usually, it’s easiest to write IPv6 addresses out in full, because they’re easier to read that way. There’s also another convention for compacting IPv6 addresses: if part of the address contains only zeroes, you can omit that part, and indicate its omission by putting a double colon in the appropriate place. For example, the previous address can be written as 3dce:ffff::2f3b:2ba:ff:fe28:9c5a, with the double colon indicating that the 0000 section is missing.

In IPv4, IP addresses are either public or private. Public IP addresses are centrally assigned by the Internet’s registration authorities, which keep detailed records of which organization or individual has which IP address. Private IP addresses are IP addresses that you can assign yourself for internal use within your network. Private IP addresses are nonroutable, which means that packets sent to private IP addresses can’t be passed across routers and so can’t escape from your network to the Internet.

IPv4 has three private address ranges. The range 10.0.0.0 to 10.255.255.255 is used for large organizations. The range 172.16.0.0 to 172.31.255.255 is used for medium-sized organizations. The range 192.168.0.0 to 192.168.255.255 is used for small networks and home networks. Windows’ Internet Connection Sharing ICS uses the last-mentioned range for home and small-office networks.

A computer can get an IP address in three ways:

DHCP Dynamic Host Configuration Protocol DHCP is a protocol for assigning IP addresses automatically to computers and networked devices on demand and reclaims them when they’re no longer being used. In a Windows domain–based network, the DHCP service runs on a server for example, Windows 2003 Server to allocate the addresses. Many devices designed for sharing Internet access in the home or small office, such as residential gateways, implement a basic DHCP service as well. ICS includes a DHCP allocator, which is a stripped-down DHCP server.

IPv6 has a stateless autoconfiguration mechanism that allows it to automatically configure its own IP address using one or more network prefixes that it gets from an IPv6 router on its network.

Set a Fixed Address Manually You can set a fixed address manually. In most cases, using DHCP is more efficient than allocating fixed IP addresses manually, because DHCP prevents a computer that’s switched off or disconnected from keeping an IP address when another computer might need it. But in some cases it’s useful to keep a fixed IP address for a given computer so that you always know which address it’s using. Besides, if you’re using only half a dozen or so computers and other devices on your network, you won’t run short of IP addresses.

Self-Allocation For when you haven’t set a fixed IP address manually and no DHCP server is reachable, Windows can allocate itself an IP address automatically, a feature called Automatic Private IP Addressing the acronym is APIPA, in case you’re not using DHCP or fixed IP addresses or your DHCP allocator isn’t available. If Windows doesn’t get a response to its request for an IP address, it automatically chooses an IP address in the range 169.254.0.1 to 169.254.0.254 and checks to see if any other computer already on the network is already using this address. If the IP address is free, Windows Home assigns itself that address; if not, it chooses another, checks that, and so on. Windows keeps checking the network for a DHCP server and, if it finds one, applies for an IP address, to which it then switches.

Planning Your Network

This section discusses how to go about planning your network. You need to make the following decisions:

• Should the network be client/server or peer-to-peer?

• Should the network be wired, wireless, or a mixture of the two?

• If the network will be wired, which wired networking technology will you use?

• Where will you keep your files?

• Which resources will you share on the network?

Client/Server or Peer-to-Peer?

Most home networks and many home-office networks are peer-to-peer networks, but you should evaluate creating a client/server network instead of a peer-to-peer network. Even if your network needs are relatively modest, it’s worth considering having a server, especially if you have a spare computer, or a pensioned-off old laptop or desktop, that you’d like to get a bit more use out of. A server doesn’t have to have a fast processor or a ton of RAM. Nor does it need to be running Windows Vista. If you’ve gotten a new computer because your old computer couldn’t handle Windows Vista, you might be able to continue using that old computer with a less demanding operating system on it- for example, Windows XP or Linux if you can handle Linux. The server doesn’t have to manage the computers on the network- it just has to provide resources and services to authenticated users.

Providing Services via Dedicated Devices

Instead of centralizing resources on a server that you keep running all the time, so that you don’t have individual computers sharing resources, you can add to the network dedicated devices for sharing resources. For example, you could add a DSL router to share your Internet connection, or a print server to share one or more of your printers.

You can also get stand-alone, dedicated file servers designed for home-office or small-office use, although these tend to be far more expensive than a humble PC providing equivalent capabilities. Each of these is an independent device that connects to your network hub. Once it’s connected, the device can be accessed by any computer that’s running.

legal disclaimer

Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.

related articles

1. Support for RSS News Feeds in Windows Vista
IE 7.0 includes an easy way to subscribe to news feeds, regularly updated information that sites publish in the format known as Really Simple Syndication (RSS). When a surfer visits a site that publishes one or more news feeds, a square broadcast icon on IE 7’s toolbar changes from grey to orange. Clicking the icon takes you to a page that explains the content of a feed and provides a clickable link that subscribes you. This is a big improvement over previous news feed buttons in other browsers, which formerly ...

2. Thinking of Cheating at Solitaire in Windows Vista
Unfortunately, Vista new Solitaire code seems to have broken one way that neerdowells have cheated at the game for years. This scandalous behavior was first revealed in Windows 3 s all the way back in 1991. As that article explained it, you could click Game - Undo when playing a Draw Three game, and the last three cards you turned over from the deck would go back on the pile. If you then held down the Shift key while clicking the deck, only one card at a time would turn over, allowing you to ...

3. A Quick Overview of All the Versions of Windows Vista
It seems like Windows Vista has a lot more versions than Microsoft has ever offered before. But that isn’t quite true. The Redmond company years ago split Windows XP into almost as many versions as we have today with Vista. You may occasionally hear Vista’s versions referred to as SKUs. This term stands for Stock Keeping Unit. We’ll use the more common terms version and product version throughout this article instead. Here’s a review of the major Windows XP versions (rough...

4. Taking Advantage of Your Ability to Upgrade to Windows Vista
Windows Anytime Upgrade Unlike previous versions of Windows, Vista installs itself with the capability to upgrade from a weaker version to a more-capable version at any time. You simply run the Anytime Upgrade applet, select a source to purchase an upgrade license from, and your PC is quickly enhanced with the more powerful version you’ve selected. _ Vista Home Basic can be upgraded in this way to Home Premium or Ultimate. _ Vista Home Premium and ...

5. Deploying Windows Vista: A Power User`s Toolkit
If you’re an enterprise administrator faced with the prospect of rolling out Windows Vista to hundreds or thousands of desktops around the world, take heart: Microsoft has finally upgraded its deployment tools in dramatic fashion, taking advantage of the componentized architecture of Windows Vista. But these deployment tools aren’t just advantageous to the world’s biggest corporations. If you’re a power user, a tinkerer, or someone who ends up having to reinstall Windows fairly regularly, you mi...

6. What`s New in the Windows Vista User Interface
Gazing upon Windows Vista for the first time, you will immediately be struck by how different everything looks when compared to older Windows versions such as Windows XP and Windows 2000. Now, windows are translucent and glass-like, with subtle animations and visual cues. This new interface leaves no doubt: Windows Vista is a major new Windows version, with much to learn and explore. In this article, we’ll examine the new Windows Vista user interface, called Aero, and explain what you need to ...

7. Windows Vista Aero requirements
As noted earlier, you have to be running an activated version of Vista Home Premium, Business, Enterprise, or Ultimate Edition in order to utilize Windows Vista Aero. Here, activated refers to the Product Activation feature that’s included in Windows Vista, whereby each Windows Vista installation is guaranteed, via a service called Windows Genuine Advantage, to be legitimate and not pirated. Most copies of Windows Vista that are preinstalled on new PCs come pre-activated, so this is a step that many users...

8. Windows Vista Security Features
Although the Windows Vista Aero user interface is the most obvious change to Windows Vista, some of the more important, if less obvious, changes in this new operating system regard security. In this article, we examine the various new security features in Windows Vista. Security and Windows Vista It’s been a tough decade for Windows users. As Microsoft’s operating system entered the dominant phase of its existence, hackers began focusing almost solely on Windows, since that’s where all the user...

9. Multiprotocol Label Switching Operation and Maintenance
You can use Multiprotocol Label Switching Operation and Maintenance (OAM) to detect operational failures, but also for accounting and performance measurement in the Multiprotocol Label Switching network. Problems on the control plane can be reported by traps or seen by polling the Management Information Base (MIB). This might suffice for IP networks, but it is more difficult to detect the problems that are purely in the data plane when the network is running Multiprotocol Label Switching. Multiprotocol Label Switching O...

10. Windows Vista A New Look and Feel
The most obvious (though certainly not the most important) new feature is the Aero Glass interface. Windows users have been using a 3D interface for years. You can open as many programs as you want, and they stack up like sheets of paper on a desktop. It just wasn’t very obvious that you were using a 3D interface with items stacked up on your desktop. Aero Glass changes that by making the borders around program windows semitransparent, so you can see when there’s something behind whatever you’re looki...