<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer Support &#187; network</title>
	<atom:link href="http://www.xiitec.com/blog/tag/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Troubleshooting Network Connectivity Problems</title>
		<link>http://www.xiitec.com/blog/2008/02/14/troubleshooting-network-connectivity-problems/</link>
		<comments>http://www.xiitec.com/blog/2008/02/14/troubleshooting-network-connectivity-problems/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 01:18:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[connectivity]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=134</guid>
		<description><![CDATA[First, make sure your network adapter is working. Generally  there should be a flashing green light to indicate the adapter is connected and  transmitting data.

After you&#8217;ve checked the hardware, you can run several  command-line tools to aid in troubleshooting connectivity issues. A good first  step is to ping the target host, [...]]]></description>
			<content:encoded><![CDATA[<p>First, make sure your network adapter is working. Generally  there should be a flashing green light to indicate the adapter is connected and  transmitting data.</p>
<p><span id="more-134"></span></p>
<p>After you&#8217;ve checked the hardware, you can run several  command-line tools to aid in troubleshooting connectivity issues. A good first  step is to ping the target host, which can tell you if the remote host is  reachable and how long it takes to reach it:</p>
<pre>&gt; ping <tt><em>&lt;HostNameOrIP&gt;</em></tt></pre>
<p>Here are some of the status messages you can receive from <em>ping</em>:</p>
<dl class="docList">
<dt><em><span class="docPubcolor">Reply</span></em>  </dt>
<dd>
<p class="docList">The host was reachable.</p>
</dd>
<dt><em><span class="docPubcolor">Request timed out</span></em>  </dt>
<dd>
<p class="docList">The target host either did not respond or there is no host  configured with the corresponding IP address. You may also see this message if  there is a lot of network latency between the two endpoints. You can work around  this by using the <tt>-w</tt> option with ping and specifying the number of  milliseconds to wait for each reply.</p>
</dd>
<dt><em><span class="docPubcolor">Unknown host</span></em>  </dt>
<dd>
<p class="docList">If you used a DNS name in the ping command, this indicates that  the DNS name was not resolvable by the DNS client.</p>
</dd>
<dt><em><span class="docPubcolor">Destination unreachable</span></em>  </dt>
<dd>
<p class="docList">The ICMP traffic could not reach the network of the target  host. This is often due to a routing problem on an intermediate router or a  router being down.</p>
</dd>
</dl>
<p>If you&#8217;ve pinged a host and the request timed out or the host  was unreachable, a good tool to try next is <em>tracert</em>, which attempts to  trace a route from the source computer to the destination computer.</p>
<pre>&gt; tracert <tt><em>&lt;HostNameOrIP&gt;</em></tt></pre>
<p>This command shows you the path your data takes to get to the  destination. If there are connectivity problems with a remote host, this command  shows where the problem occurs.</p>
<p>If everything checks out, next run the <em>netdiag</em> command on the target  system. <em>netdiag</em> provides a wealth of information about various network  settings configured on the system along with information about DNS, Kerberos,  and Active Directory connectivity. Use the <tt>/debug</tt> option to view  detailed output. If you suspect authentication (Kerberos) to be a  potential issue, run the <em>kerbtray</em> utility to ensure you have functioning  Kerberos tickets.</p>
<p>If you are still having network problems, a good last step is  to look at the network traffic to see if you can spot any obvious errors being  transmitted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/14/troubleshooting-network-connectivity-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling a Connection</title>
		<link>http://www.xiitec.com/blog/2008/02/13/disabling-a-connection/</link>
		<comments>http://www.xiitec.com/blog/2008/02/13/disabling-a-connection/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 00:47:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=126</guid>
		<description><![CDATA[Using a graphical user interface
&#160;

From the Control Panel open the Network Connections applet.
Right-click the network connection you want to disable and  select Disable.


Using a command-line interface
You would think that it would be straightforward to disable a  connection from the command line, but unfortunately that is not the case. In  fact, the netsh [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Using a graphical user interface</strong></p>
<p style="font-weight: bold">&nbsp;</p>
<ol>
<li>From the Control Panel open the <span class="docEmphBold">Network Connections</span> applet.</li>
<li>Right-click the network connection you want to disable and  select <span class="docEmphBold">Disable</span>.</li>
</ol>
<p><span id="more-126"></span><br />
<strong>Using a command-line interface</strong></p>
<p>You would think that it would be straightforward to disable a  connection from the command line, but unfortunately that is not the case. In  fact, the <span class="docEmphasis">netsh</span> command supports disabling connections,  but only non-LAN interfaces, which is very disappointing.</p>
<p>But all is not lost! There is an alternative if you really must  have a way to disable connections from the command line. The <span class="docEmphasis">devcon.exe</span> tool is the command-line alternative to the  Device Manager interface and comes with the Driver Development Kit (DDK). You  can download it separately by viewing MS KB 311272 (<a href="http://support.microsoft.com/default.aspx?scid=311272" class="docLink" target="_blank">http://support.microsoft.com/default.aspx?scid=311272</a>).</p>
<p>Once you have it downloaded, run this command to get a list of  all network devices:</p>
<pre>&gt; devcon listclass net</pre>
<p>This displays the list of devices in two columns. The left  column contains the hardware ID for each device and the right column contains  the description for the device.</p>
<p>After you&#8217;ve found the device you want to disable, run the  following command:</p>
<pre>&gt; devcon disable =net <tt><em>&lt;HardwareID&gt;</em></tt></pre>
<p>For example:</p>
<pre>&gt; devcon disable =net PCI\VEN_14B9^&amp;DEV_A504^&amp;SUBSYS_500014B9^&amp;REV_00</pre>
<p>There are a couple of important things I need to point out.  First, if the hardware ID contains any ampersands (&amp;), you have to escape  them using a caret (^). Otherwise, the CMD session will interpret everything  after the first &amp; as another command and <span class="docEmphasis">devcon</span> will attempt to match any hardware ID that  matches the string up until the first &amp;. This can be dangerous because it  can cause you to disable devices you didn&#8217;t intend to.</p>
<p>Second, if the hardware ID contains two backslashes, remove the  second backslash and everything following it. For example, if the  <tt>listall</tt> command returned this for a device I wanted to disable:</p>
<pre>PCI\VEN_14B9&amp;DEV_A504&amp;SUBSYS_500014B9&amp;REV_00\4&amp;39A85202&amp;0&amp;10F0: Cisco Systems PC I Wireless LAN Adapter</pre>
<p>I would need to use this as the hardware ID (including the  carets):</p>
<pre>PCI\VEN_14B9^&amp;DEV_A504^&amp;SUBSYS_500014B9^&amp;REV_00</pre>
<p>Many servers these days come with two network adapters  installed to avoid a single point of failure with the network connection.  Generally, keep one connection active and use the other as a back up. There are  a couple of ways to do this. One is to simply disable one of the connections and  manually enable it if the primary fails. Since you probably won&#8217;t have network  connectivity after the primary adapter fails, you&#8217;ll need another way to access  the server, such as an out-of-band console connection of some type.</p>
<p>Another way to do this is to use a feature that many hardware  vendors support called <em>teaming</em>. With teaming, both adapters are used to  form a virtual adapter. If the primary adapter becomes unavailable, the backup  takes over automatically. (See your hardware vendor for more details.) The  problem with teaming is that, depending on the implementation, it can be  unreliable and ultimately cause more configuration headaches than it is worth. I  recommend testing teaming configurations thoroughly before  implementing them in production.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/13/disabling-a-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viewing the Network Configuration</title>
		<link>http://www.xiitec.com/blog/2008/02/13/viewing-the-network-configuration/</link>
		<comments>http://www.xiitec.com/blog/2008/02/13/viewing-the-network-configuration/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 00:42:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=125</guid>
		<description><![CDATA[Using a graphical user interface
&#160;

From the Control Panel, open the Network  Connections applet.
Open the network connection for which you want to view the  settings.
Click the Properties  button.
Click the Configure button to  view network adapter properties. Or double-click Internet Protocol (TCP/IP) to view network  configuration settings.


Using a command-line interface
To view the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Using a graphical user interface</strong></p>
<p style="font-weight: bold">&nbsp;</p>
<ol>
<li>From the Control Panel, open the <span class="docEmphBold">Network  Connections</span> applet.</li>
<li>Open the network connection for which you want to view the  settings.</li>
<li>Click the <span class="docEmphBold">Properties</span>  button.</li>
<li>Click the <span class="docEmphBold">Configure</span> button to  view network adapter properties. Or double-click <span class="docEmphBold">Internet Protocol (TCP/IP)</span> to view network  configuration settings.</li>
</ol>
<p><span id="more-125"></span><br />
<strong>Using a command-line interface</strong></p>
<p>To view the list of connections and network configuration on the local  machine, run the following command:</p>
<pre>&gt; ipconfig /all</pre>
<p>To view this information on a remote machine, use the  Sysinternals <span class="docEmphasis">psexec</span><a title="windowsvrckbk-CHP-10-ITERM-4219" name="windowsvrckbk-CHP-10-ITERM-4219"></a> <a title="windowsvrckbk-CHP-10-ITERM-4220" name="windowsvrckbk-CHP-10-ITERM-4220"></a>command:</p>
<pre>&gt; psexec \\<tt><em>&lt;ServerName&gt;</em></tt> -u administrator -p MyPass ipconfig /all</pre>
<p>Another command you can use to view network configuration  information is <span class="docEmphasis">netsh</span>, as shown here:</p>
<pre>&gt; netsh int ip show config</pre>
<p><strong>Using VBScript</strong></p>
<pre>' This code displays the network configuration for all connections.
' ------ SCRIPT CONFIGURATION ------
strComputer = "."
' ------ END CONFIGURATION ---------
set objWMI = GetObject("winmgmts:\\" &amp; strComputer &amp; "\root\cimv2")
set colNAs = objWMI.InstancesOf("Win32_NetworkAdapter")
for each objNA in colNAs
    Wscript.Echo objNA.Name
    Wscript.Echo "  Description:  " &amp; objNA.Description
    Wscript.Echo "  Product Name: " &amp; objNA.ProductName
    Wscript.Echo "  Manufacturer: " &amp; objNA.Manufacturer
    Wscript.Echo "  Adapter Type: " &amp; objNA.AdapterType
    Wscript.Echo "  AutoSense:    " &amp; objNA.AutoSense
    Wscript.Echo "  MAC Address:  " &amp; objNA.MACAddress
    Wscript.Echo "  Maximum Speed:" &amp; objNA.MaxSpeed
    Wscript.Echo "  Conn Status:  " &amp; objNA.NetConnectionStatus
    Wscript.Echo "  Service Name: " &amp; objNA.ServiceName
    Wscript.Echo "  Speed:        " &amp; objNA.Speed

    set colNACs = objWMI.ExecQuery(" select * from " &amp; _
                                   " Win32_NetworkAdapterConfiguration " &amp; _
                                   "  where Index = " &amp; objNA.Index)
    ' There should only be one item in colNACs
    for each objNAC in colNACs
       if IsArray(objNAC.IPAddress) then
          for each strAddress in objNAC.IPAddress
             Wscript.Echo "  Network Addr: " &amp; strAddress
          next
       end if
       Wscript.Echo "  IP Metric:    " &amp; objNAC.IPConnectionMetric
       Wscript.Echo "  IP Enabled:   " &amp; objNAC.IPEnabled
       Wscript.Echo "  Filter:       " &amp; objNAC.IPFilterSecurityEnabled
       Wscript.Echo "  Port Security:" &amp; objNAC.IPPortSecurityEnabled
       if IsArray(objNAC.IPSubnet) then
          for each strAddress in objNAC.IPSubnet
             Wscript.Echo "  Subnet Mask:  " &amp; strAddress
          next
       end if
       if IsArray(objNAC.DefaultIPGateway) then
          for each strAddress in objNAC.DefaultIPGateway
             Wscript.Echo "  Gateway Addr: " &amp; strAddress
          next
       end if
       Wscript.Echo "  Database Path:" &amp; objNAC.DatabasePath
       Wscript.Echo "  DHCP Enabled: " &amp; objNAC.DHCPEnabled
       Wscript.Echo "  Lease Expires:" &amp; objNAC.DHCPLeaseExpires
       Wscript.Echo "  Lease Obtained: " &amp; objNAC.DHCPLeaseObtained
       Wscript.Echo "  DHCP Server:  " &amp; objNAC.DHCPServer
       Wscript.Echo "  DNS Domain:   " &amp; objNAC.DNSDomain
       Wscript.Echo "  DNS For WINS: " &amp; objNAC.DNSEnabledForWINSResolution
       Wscript.Echo "  DNS Host Name:" &amp; objNAC.DNSHostName
       if IsArray(objNAC.DNSDomainSuffixSearchorder) then
          for each strName in objNAC.DNSDomainSuffixSearchOrder
             Wscript.Echo "  DNS Suffix Search Order: " &amp; strName
          next
       end if
       if IsArray(objNAC.DNSServerSearchOrder) then
          for each strName in objNAC.DNSServerSearchOrder
             Wscript.Echo "  DNS Server Search Order: " &amp; strName
          next
       end if
       Wscript.Echo "  Domain DNS Reg Enabled: " &amp; _
                       objNAC.DomainDNSRegistrationEnabled
       Wscript.Echo "  Full DNS Reg Enabled: " &amp; _
                       objNAC.FullDNSRegistrationEnabled
       Wscript.Echo "  LMHosts Lookup:      " &amp; objNAC.WINSEnableLMHostsLookup
       Wscript.Echo "  WINS Lookup File:    " &amp; objNAC.WINSHostLookupFile
       Wscript.Echo "  WINS Scope ID:       " &amp; objNAC.WINSScopeID
       Wscript.Echo "  WINS Primary Server: " &amp; objNAC.WINSPrimaryServer
       Wscript.Echo "  WINS Secondary:      " &amp; objNAC.WINSSecondaryServer
    next

    WScript.Echo
next</pre>
<p>There are several different ways to get at the host network  configuration, as shown in the Solution section. And since the scripting  solution used WMI, there is yet another way using <em>wmic</em>. Here are two  commands that display some of the properties of the  <tt>Win32_NetworkAdapter</tt> and <tt>Win32_NetworkAdapterConfiguration</tt> WMI  clas-ses, respectively:</p>
<pre>&gt; wmic nic list brief
&gt; wmic nicconfig list brief</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/13/viewing-the-network-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up a DHCP Server</title>
		<link>http://www.xiitec.com/blog/2008/02/12/setting-up-a-dhcp-server/</link>
		<comments>http://www.xiitec.com/blog/2008/02/12/setting-up-a-dhcp-server/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 04:01:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=109</guid>
		<description><![CDATA[Install and configure dhcp. You can get the source  tarball from http://www.isc.org. RPMs and Debian packages are also  available; just look for packages named &#34;dhcp.&#34; Configure client PCs to point to  your dhcp server, and you&#8217;re done.
A dhcp server can feed all network configuration data to  the clients. The configuration file [...]]]></description>
			<content:encoded><![CDATA[<p>Install and configure <em>dhcp</em>. You can get the source  tarball from <a href="http://www.isc.org/" mce_href="http://www.isc.org/" target="_blank">http://www.isc.org</a>. RPMs and Debian packages are also  available; just look for packages named &quot;dhcp.&quot; Configure client PCs to point to  your <em>dhcp</em> server, and you&#8217;re done.</p>
<p>A <em>dhcp</em> server can feed all network configuration data to  the clients. The configuration file is <em>/etc/dhcpd.conf</em>. Here is a sample  configuration:</p>
<pre># /etc/dhcpd.conf

default-lease-time 259200;

max-lease-time 518400;

subnet 192.168.1.0 netmask 255.255.255.0 {

   option subnet-mask 255.255.255.0;

   option broadcast-address 192.168.1.255;

   option routers 192.168.1.1;

   option domain-name &quot;test.net&quot;;

   range 192.168.1.50 192.168.1.100;

   option domain-name-servers 152.163.199.56, 198.83.210.28;

}</pre>
<p>This is pretty straightforward. The lease times are  in seconds, so the minimum and maximum in this example are three days  and six days. &quot;Option routers&quot; points to your Internet gateway, or the  gateway to the subnet. A pool of 50 addresses is made available in the  &quot;range.&quot; The name servers are either your own private caching server or  servers, or the name servers at your ISP.</p>
<p>This example uses private, nonroutable IPv4  (Internet Protocol Version 4) addresses. Here are the private IPv4  address classes, in both dotted-quad and Classless Inter-Domain Routing  (CIDR) notation:</p>
<pre>10.0.0.0     - 10.255.255.255  (10/8)

172.16.0.0   - 172.31.255.255  (172.16/12)

192.168.0.0  - 192.168.255.255 (192.168/16)</pre>
<p>These are for use on private networks, so you&#8217;ll select your  subnet ranges from these.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/12/setting-up-a-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

