DESKTOP

Managing Local Area Connections

9/5/2010 9:27:57 AM

Local area connections make it possible for computers to access resources on the network and the Internet. One local area connection is created automatically for each network adapter installed on a computer. This section examines techniques you can use to manage these connections.

Enabling and Disabling Local Area Connections

Local area connections are created and connected automatically. If you want to disable a connection so that it cannot be used, complete the following steps:

  1. Click Start and then click Network. In Network Explorer, click Network And Sharing Center on the toolbar.

  2. In Network And Sharing Center, click Manage Network Connections.

  3. In Network Connections, right-click the connection and select Disable to deactivate the connection and disable it.

  4. Later, if you want to enable the connection, right-click the connection in Network Connections and select Enable.

If you want to disconnect from a network or start another connection, complete the following steps:

  1. Click Start and then click Network. In Network Explorer, click Network And Sharing Center on the toolbar.

  2. In Network And Sharing Center, click Manage Network Connections.

  3. In Network Connections, right-click the connection and select Disconnect. Typically, only remote access connections have a Disconnect option.

  4. Later, if you want to activate the connection, right-click the connection in Network Connections and select Connect.

Checking the Status, Speed, and Activity for Local Area Connections

To check the status of a local area connection, follow these steps:

  1. Click Start and then click Network. In Network Explorer, click Network And Sharing Center on the toolbar.

  2. In Network And Sharing Center, click Manage Network Connections.

  3. In Network Connections, right-click the connection you want to work with and then click Status.

  4. This displays the Local Area Connection Status dialog box. If the connection is disabled or the media is unplugged, you won't be able to access this dialog box. Enable the connection or connect the network cable to resolve the problem and then try to display the status dialog box again.

The General tab of the Local Area Connection Status dialog box, shown in Figure 1, provides useful information regarding the following:

  • IPv4 Connectivity The current IPv4 connection state and type. You'll typically see the status as Local when connected to an internal network or Not Connected when not connected to a network.

  • IPv6 Connectivity The current IPv6 connection state and type. You'll typically see the status as Local when connected to an internal network or Not Connected when not connected to a network.

  • Media State The state of the media. Because the Status dialog box is only available when the connection is enabled, you'll typically see this as Enabled.

  • Duration The amount of time the connection has been established. If the duration is fairly short, the user either recently connected to the network or the connection was recently reset.

  • Speed The speed of the connection. This should read 10.0 Mbps for 10 Mbps connections and 100.0 Mbps for 100 Mbps connections. An incorrect setting can affect the computer's performance.

  • Bytes The number of bytes sent and the number received by the connection. As the computer sends or receives packets, you'll see the computer icons light up to indicate the flow of traffic.

    Image from book
    Figure 1: The General tab of the Local Area Connection Status dialog box provides access to summary information regarding connections, properties, and support.

Viewing Network Configuration Information

In Windows Vista, you can view the current configuration for network adapters in several ways. To view configuration settings using the Local Area Connection Status dialog box, follow these steps:

  1. Click Start and then click Network. In Network Explorer, click Network And Sharing Center on the toolbar.

  2. In Network And Sharing Center, click Manage Network Connections.

  3. In Network Connections, right-click the connection you want to work with and then click Status. This displays the Local Area Connection Status dialog box. If the connection is disabled or the media is unplugged, you won't be able to access this dialog box. Enable the connection or connect the network cable to resolve the problem and then try to display the status dialog box again.

  4. Click Details to view detailed information about the IP address configuration, including:

    • q Physical Address The machine or media access control (MAC) address of the network adapter. This address is unique for each network adapter.

    • q IPv4 IP Address The IPv4 address assigned for IPv4 networking.

    • q IPv4 Subnet Mask The subnet mask used for IPv4 networking.

    • q IPv4 Default Gateways The IPv4 address of the default gateways used for IPv4 networking.

    • q IPv4 DNS Servers IP addresses for DNS servers used with IPv4 networking.

    • q IPv4 WINS Servers IP addresses for WINS servers used with IPv4 networking.

    • q IPv4 DHCP Server The IP address of the DHCPv4 server from which the current lease was obtained (DHCPv4 only).

    • q Lease Obtained A date and time stamp for when the DHCPv4 lease was obtained (DHCPv4 only).

    • q Lease Expires A date and time stamp for when the DHCPv4 lease expires (DHCPv4 only).

You can also use the IPCONFIG command to view advanced configuration settings. To do so, follow these steps:

  1. Click Start and type cmd in the Search field.

  2. Press Enter.

  3. At the command line, type ipconfig/all to see detailed configuration information for all network adapters configured on the computer.


Note 

The command prompt is started in standard user mode. This is not an elevated command prompt.

Renaming Local Area Connections

Windows Vista initially assigns default names for local area connections. In Network Connections, you can rename the connections at any time by right-clicking the connection, selecting Rename, and then typing a new connection name. If a computer has multiple local area connections, proper naming can help you and others better understand the uses of a particular connection.

 
Other  
  •  Troubleshooting and Testing Network Settings
  •  Detecting and Resolving Windows Vista Errors
  •  Scheduling Maintenance Tasks in Vista
  •  Backing Up and Recovering a Computer with Vista
  •  Troubleshooting Startup and Shutdown
  •  How an Access Control List Is Used
  •  Silverlight Tools: XML Editors
  •  Algorithms for Compiler Design: VARIOUS APPROACHES TO SYMBOL TABLE ORGANIZATION
  •  Algorithms for Compiler Design: REPRESENTING THE SCOPE INFORMATION IN THE SYMBOL TABLE
  •  Algorithms for Compiler Design: ACTIVATION OF THE PROCEDURE AND THE ACTIVATION RECORD
  •  Algorithms for Compiler Design: STACK ALLOCATION
  •  Algorithms for Compiler Design: ERROR RECOVERY IN LR PARSING
  •  Algorithms for Compiler Design: PREDICTIVE PARSING ERROR RECOVERY
  •  Algorithms for Compiler Design: LOOP OPTIMIZATION
  •  Algorithms for Compiler Design: ELIMINATING INDUCTION VARIABLES
  •  Algorithms for Compiler Design: ELIMINATING LOCAL COMMON SUBEXPRESSIONS
  •  Algorithms for Compiler Design:
  •  Algorithms for Compiler Design
  •  Algorithms for Compiler Design: THE MACHINE MODEL
  •  Algorithms for Compiler Design: STRAIGHTFORWARD CODE GENERATION
  •  
    Top 10
    Windows Vista : Performing Local PC Administration (part 2) - Performing common workstation administration tasks
    Windows Vista : Performing Local PC Administration (part 1) - Working with workstation administration tools
    Synchronizing Mobile Data - Using Merge Replication (part 2) - Programming for Merge Replication
    Synchronizing Mobile Data - Using Merge Replication (part 1) - Using Good Design to Avoid Synchronization Failures
    Building a WPF Application without XAML (part 2)
    Building a WPF Application without XAML (part 1)
    Web Security Testing : Changing Sessions to Evade Restrictions & Impersonating Another User
    Filtering Out Evil with Firewalls (part 3) - Manually Configuring a Firewall's Ports
    Filtering Out Evil with Firewalls (part 2)
    Filtering Out Evil with Firewalls (part 1)
    Most View
    Windows 7 : Preparing Disks for Use (part 2) - Adding a Mirror to an Existing Volume & Shrinking or Extending Volumes
    Silverlight JavaScript Reference
    LINQ Projection Queries and Alternatives in WCF Services
    iPhone 3D Programming : Drawing an FPS Counter (part 2) - Rendering the FPS Text
    Windows Phone 7 Development : Push Notifications - Implementing Cloud Service to Track Push Notifications
    iPad SDK : Popovers - The Font Size Popover
    Programming Hashing Algorithms (part 1) - The HashAlgorithm Class
    SQL Server 2008 Command-Line Utilities : The bcp Command-Line Utility
    WAP and Mobile HTML Security : Application Attacks on Mobile HTML Sites
    Windows Server 2008 : DHCP/WINS/Domain Controllers - Exploring the Dynamic Host Configuration Protocol (DHCP)
    Web Security Testing : Manipulating Sessions - Analyzing Session Randomness with WebScarab
    Parallel Programming with Microsoft .Net : Dynamic Task Parallelism - An Example
    iPhone Application Developmen : Using the View-Based Application Template (part 2) - Preparing the View Controller Outlets and Actions
    Optimizing Exchange Server 2010 Servers
    Programming Microsoft SQL Server 2005 : FOR XML Commands (part 2) - FOR XML EXPLICIT
    Getting Started with Device Manager
    Managing Group Policy in a Mixed Environment
    Parallel Programming with Microsoft .Net : Pipelines - An Example
    Programming .NET Security : Cryptography Explained (part 1) - Confidentiality
    Developing Windows Azure Services that Use SQL Azure