Network Bridge overview

Network Bridge provides an inexpensive and easy way to connect local area network (LAN) segments. A LAN segment is a single section of network media that connects computers. For example, suppose you have three computers: computer A, computer B, and computer C. Computer A has two Ethernet network adapters, and computers B and C have one Ethernet network adapter each. An Ethernet cable connecting A to B creates one LAN segment. Another Ethernet cable connecting A to C creates another LAN segment.

Traditionally, if you want a network with more than one segment, you have two options: routing or bridging. IP routing is a common solution for connecting network segments. However, to set up IP routing you either must buy hardware routers or set up the computers at the junctions between segments to operate as routers. IP routing requires difficult IP addressing configuration for each computer on each network segment, and each network segment must be configured as a separate subnet. IP routing is a good solution for large networks, where scalability is important, and where there is an experienced staff to configure and maintain the network. A bridge does not require difficult configurations, but you must purchase additional hardware bridges. Neither of these options are ideal if you have a home or small office network, do not want to purchase expensive bridging hardware, and do not have experienced staff to administer an IP routing network.

With Network Bridge, you can connect LAN segments by selecting the appropriate network connection icons and clicking Bridge Connections. Equally easily, you can enable the bridge and add connections to it. The network bridge manages your network segments and creates a single subnet for the entire network. There is no configuration required, and you do not need to purchase additional hardware such as routers or bridges. IP addressing, address allocation, and name resolution is easy to do in a single subnet IP network.

The network bridge can create connections between different types of network media. In a traditional network, if you are using mixed media types you need a separate subnet for each type of media, and packet forwarding is required for each one of the network's multiple subnets. Packet forwarding is required because different protocols are used for different types of media. Network Bridge automates the configuration required to forward information from one type of media to another.

Only one bridge can exist on a computer running Windows XP, but you can use it to bridge as many network connections as the computer can physically accommodate. For information about creating a network bridge, see Bridge Connections.

Spanning tree algorithm
Network Bridge uses the IEEE spanning tree algorithm (STA) to establish a loop-free forwarding topology. When there are multiple paths in a bridged network, loops can form and the simple forwarding rules of a bridge can cause forwarding storms, a condition in which the same frame is relayed endlessly from one bridge to another. STA provides an automated mechanism to selectively disable bridge forwarding on individual ports as necessary to ensure that the forwarding topology is loop-free. You do not need to configure Network Bridge for the spanning tree algorithm.



To rename a network connection icon

You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure.

Open Network Connections.
Click the icon for the network connection to be renamed.
Under Network Tasks, click Rename this connection.
In the highlighted field under the selected icon, type a new name.
Notes

To open Network Connections, click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.
You can rename a network connection icon using a name that is easy to remember.
It is recommended that you do not rename the shared Internet connection icon that is automatically provided to client computers by the ICS host computer. The name of the share Internet connection on the ICS host computer shows on the client computers in:
The Network Connections folder
The icon that can be displayed in the notification area on the taskbar
The status window for the shared Internet connection


Choosing your Internet connection


When you run the Network Setup Wizard, you must select your Internet connection from the list of network connections displayed in the wizard.

External DSL and cable modems are typically connected to an Ethernet network adapter. If you have more than one network adapter installed in your computer, you must determine which one is connected to your DSL or cable modem.

Here are some ways you can determine which network adapter is connected to your DSL or cable modem:

Check the documentation that came with the DSL or cable modem. It might have the name of the network adapter on it, which should correspond to one of the listed network adapters in Network Connections.
On the back of the DSL or cable modem, find the attached Ethernet cable. It looks like a large telephone cable. Follow the cable to the back of your computer to where it is plugged into the network adapter port. Unplug the cable from the port. In Network Connections, under LAN or High-Speed Internet, a red "X" should appear on the network connection.
If you have a broadband connection that requires you to log in with a user name and password, select the broadband connection, not the network adapter that the DSL or cable modem is attached to. This connection typically appears under Dial-up in Network Connections.

If your broadband connection is always on, meaning you do not have to log in with a user name and password, the connection appears under LAN or High-Speed Internet in Network Connections.

After determining which network adapter is your Internet connection, restart the Network Setup Wizard and select the adapter.

Notes

To open Network Connections, click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.
Local area network connections are named Local area connection by default and are listed in the Network Connections folder. This can make it difficult to determine which connection is your DSL or cable modem connection. We recommend that you rename the DSL or cable modem connection. For example, you could use the name of your Internet service provider, or call it "Internet connection."

Public and private network connections

In a home or small office network that has Internet Connection Sharing (ICS) enabled, there are two network connections, one public and one private.

The public network connection is the connection to the Internet. Any type of modem—28.8 or 56 kilobits per second (Kbps), ISDN, DSL, or cable modem—that is connected to the computer can provide and direct network communication to and from the Internet to all the computers on your network. The modem acts as a network adapter.

The private network connections are those that connect the computers together as shown in this illustration. The computers on the network communicate with each other and send Internet requests through the network to the computer with a residential gateway device (or to the ICS host computer).

This connection method can help provide an enhanced degree of security for your home or small office network. Files and folders that are shared on any computer are protected and will not be seen by anyone on the Internet.

Before installing the second network adapter on your ICS host computer, we recommend that you rename the modem or network connection that is connected to the Internet. This is so you can easily identify the connection to the Internet.

Notes

In Microsoft Windows XP Service Pack 2 (SP2), Windows Firewall is turned on by default for all connections, both public and private.
Most external DSL and cable modems are connected to an Ethernet network adapter. Check the manufacturer's specifications to determine the type of network adapter required to connect to your external DSL or cable modem.


Using a mixed network environment

For a home or small office network, you can use a combination of Ethernet, wireless, and home phoneline network adapter (HPNA) technology.

Here is an example: You have two computers in adjoining rooms that are connected using Ethernet adapters and a network hub. One of the computers is running either Windows XP Home Edition or Windows XP Professional. There is a third computer in a bedroom, and a fourth computer in the den. The bedroom and den computers each have an HPNA installed and are on a network together. To connect the two HPNA computers with the Ethernet computers, you would install an HPNA in the Ethernet computer that is running Windows XP. If your laptop computer has a wireless network adapter, you could join that computer to the network as well by installing a wireless network adapter in one other computer on the network that is running Windows XP.

In a mixed network, also called a multi-segment network, one or more computers have multiple network adapters. Windows XP Professional and Windows XP Home Edition support network bridging, which enables the computers and devices on each of the network segments to communicate with each other. Without network bridging, the computers connected using Ethernet can only communicate with each other, and the same rule applies to computers using HPNA or wireless. Network bridging brings each of these network segments together into what appears to be one continuous network.

The following table shows different ways to set up a mixed network environment.



Network configurations overview

There are two ways to connect your home or small office network to the Internet. You can use a residential gateway, or use Internet Connection Sharing (ICS).

Residential gateway
A residential gateway is a hardware device that connects a home or small office network to the Internet. This device is sometimes called an Internet gateway device, a router, a base station, or an access point. The residential gateway lets you share a DSL or cable modem Internet connection with all of the computers on your network.

The advantages of using a residential gateway are:

The gateway looks like a computer on the Internet, which hides the real computers on your network when you are on the Internet.
The gateway shares one Internet connection with all the computers on your network.
One computer does not have to be turned on all the time to provide Internet connectivity.
You can use the UPnP framework to control your Internet connection from anywhere in your home or small office.
The disadvantage of using a residential gateway is that the hardware is more expensive.

Using Internet Connection Sharing
If you do not want to buy a residential gateway device, you can use a configuration like this illustration of an Ethernet network. You can create a home or small office network using this configuration with a home phoneline network adapter (HPNA) or wireless network adapters. In this configuration, one computer is the ICS host computer and shares its Internet connection. Internet communications to and from the computers in your network go through the ICS host computer.

The advantage of this configuration is that sharing one Internet connection with all the computers on your network can cut the cost of connecting to the Internet.

The disadvantage of this configuration is that the host computer must be turned on at all times so that the other computers can access the Internet.



Choosing an internal or external network adapter

When you choose the hardware to buy for your home or small office network, you must decide whether to install network adapters inside your computer or plug them into the USB port on your computer.

External network adapters
The simplest, easiest way to set up your home or small office network is to use external USB network adapters. These adapters plug into a USB port on your computer. External network adapters are available for Ethernet, home phoneline network adapter (HPNA), and wireless networks.

When you connect the network adapter to the USB port and the corresponding hub (Ethernet network hub or phone jack for HPNA), your network is ready to use. With a wireless network, you only need to plug the wireless network adapter into the USB port.

Internal network adapters
Internal network adapters are installed inside your computer into a PCI slot. To install an internal network adapter, you must open up your computer. You can have other devices, such as modems or other network adapters, also installed in your computer.

If you already have an internal network adapter installed, and you are installing a second network adapter, we recommend that you have a qualified technician install the new network adapter. The technician can troubleshoot and resolve any problems that might occur when the network adapter is installed.

Note

To find hardware that is supported by Windows operating systems, visit the Windows Catalog on the Microsoft Web site.