<?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>ImrozBaig.Com &#187; Networking</title>
	<atom:link href="http://www.imrozbaig.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imrozbaig.com</link>
	<description>A personal blog to share experiences in life.</description>
	<lastBuildDate>Thu, 22 Dec 2011 10:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>ipconfig &#8211; windows networking command explained</title>
		<link>http://www.imrozbaig.com/ipconfig-windows-networking-command-explained/</link>
		<comments>http://www.imrozbaig.com/ipconfig-windows-networking-command-explained/#comments</comments>
		<pubDate>Sat, 22 May 2010 15:02:35 +0000</pubDate>
		<dc:creator>imroz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[command line tools]]></category>
		<category><![CDATA[diagnosing network problems]]></category>
		<category><![CDATA[networking tips]]></category>
		<category><![CDATA[troubleshooting internet connection]]></category>
		<category><![CDATA[using ipconfig command]]></category>
		<category><![CDATA[windows xp tips]]></category>

		<guid isPermaLink="false">http://imrozbaig.com/?p=504</guid>
		<description><![CDATA[ipconfig &#8211; windows networking command explained IP Configuration command line Tool for windows (ipconfig) Earlier versions of windows had &#8220;winipcfg&#8221; tool for performing ip configuration activities. &#8220;winipcfg&#8221; was [..]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">ipconfig &#8211; windows networking command explained</p>
<p style="text-align: justify;">IP Configuration command line Tool for windows (ipconfig)</p>
<p style="text-align: justify;">Earlier versions of windows had &#8220;winipcfg&#8221; tool for performing ip configuration activities. &#8220;winipcfg&#8221; was replaced by &#8220;ipconfig&#8221; windows IP configuration tool from windows XP onwards. It is used to display the TCP/IP network configuration values.</p>
<p style="text-align: justify;">To run it, enter &#8220;ipconfig&#8221; in the command prompt. This will display your IP address as follows:</p>
<p style="text-align: justify;"><img title="ipconfig" src="http://img571.imageshack.us/img571/2758/ipconfig.jpg" alt="" width="536" height="338" /></p>
<p style="text-align: justify;">In case your computer is part of a LAN using a router, the IP displayed by this command will be your Computers IP on the LAN and not the IP that connects to teh internrt. To obtain the IP address of your LAN on internet, you can try any DSL Reports whois.</p>
<p style="text-align: justify;">The IP given is the local address on the network. This information can be used in diagnosing network problems. The &#8220;gateway&#8221; or router address on the local network is also displayed by this command.</p>
<p style="text-align: justify;">Various switches that can be used with IPConfig</p>
<p style="text-align: justify;">ipconfig switches can be invoked by entering &#8220;ipconfig /{switch}&#8221;. To display a list of all available switches, enter &#8220;ipconfig/?&#8221; or &#8220;ipconfig -?&#8221;. The most commonly used switches by a home user are :</p>
<ul>
<li>
<div style="text-align: justify;"> all &#8211; to display a detailed ip configuration you can use ipconfig/all</div>
</li>
<li>
<div style="text-align: justify;">release- to release your IP address.</div>
</li>
<li>
<div style="text-align: justify;">renew &#8211; asking your network adapter to renew your machine&#8217;s ip address</div>
</li>
<li>
<div style="text-align: justify;">flushdns- this switch is used to clear all DNS info</div>
</li>
</ul>
<p style="text-align: justify;">The above mentioned switches are very handy for trouble shooting your internet connection issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imrozbaig.com/ipconfig-windows-networking-command-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use netstat command?</title>
		<link>http://www.imrozbaig.com/how-to-use-netstat-command/</link>
		<comments>http://www.imrozbaig.com/how-to-use-netstat-command/#comments</comments>
		<pubDate>Thu, 13 May 2010 21:22:53 +0000</pubDate>
		<dc:creator>imroz</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[monitor network]]></category>
		<category><![CDATA[netstat command]]></category>
		<category><![CDATA[networking tips]]></category>
		<category><![CDATA[windows xp tips]]></category>

		<guid isPermaLink="false">http://imrozbaig.com/?p=499</guid>
		<description><![CDATA[Netstat is a utility that you can use to display your computer&#8217;s connections to the Internet. It&#8217;s a useful tool for monitoring connections and diagnosing problems. You can [..]]]></description>
			<content:encoded><![CDATA[<p>Netstat is a utility that you can use to display your computer&#8217;s connections to the Internet. It&#8217;s a useful tool for monitoring connections and diagnosing problems. You can tweak netstat commands by adding arguments at the end of the command. Since netstat is run from a command prompt, it doesn&#8217;t require you to install special software</p>
<p>The command syntax is <code>netstat [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]</code> A brief description of the switches is given in Table I below.<em> Note that switches for Netstat use the dash symbol &#8220;-&#8221; rather than the slash &#8220;/&#8221;</em>.</p>
<p style="margin-bottom: 0in;"> </p>
<table border="1" cellspacing="3" cellpadding="4" width="100%">
<colgroup span="1">
<col span="1" width="38"></col>
<col span="1" width="218"></col>
</colgroup>
<tbody>
<tr bgcolor="#cccccc">
<th width="15%">Switch</th>
<th width="85%">Description</th>
</tr>
<tr>
<td width="15%">-a</td>
<td width="85%">This switch displays all connections and listening ports</td>
</tr>
<tr>
<td width="15%">-b</td>
<td width="85%">This switch displays the executable involved in creating each connection or listening port.</td>
</tr>
<tr>
<td width="15%">-e</td>
<td width="85%">Use this switch to see statistics</td>
</tr>
<tr>
<td width="15%">-n</td>
<td width="85%">This switch displays addresses and port numbers</td>
</tr>
<tr>
<td width="15%">-o</td>
<td width="85%">This switch displays ID of the owning process, associated with each connection</td>
</tr>
<tr>
<td width="15%">-r</td>
<td width="85%">Use this to see routing table</td>
</tr>
<tr>
<td width="15%">-s</td>
<td width="85%">Displays per-protocol statistics</td>
</tr>
<tr>
<td width="15%">-v</td>
<td width="85%">When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables</td>
</tr>
<tr>
<td width="15%">-p proto</td>
<td width="85%">This shows you connections for the protocol specified by proto; proto may take any value out of : TCP, UDP, TCPv6, or UDPv6.</td>
</tr>
</tbody>
</table>
<h2>Netstat usefulness</h2>
<p>It is a command-line tool, which is very useful to check the behaviour of your network. It allows you to check all aspects of TCP/IP. It also tells you what all connections your machine is making presently. You can also check if any virus, malware or other unwanted script is making connection to other harmful sources and stealing your information through this command.</p>
<p>Some examples of usage of netstat command for non-professional users are:</p>
<h3>Checking connections</h3>
<p style="margin-bottom: 0in;">TCP and UDP connections and their IP and port addresses can be seen by entering a command combining two switches: <code>netstat -an</code></p>
<p style="margin-bottom: 0in;"> </p>
<p style="margin-bottom: 0in;"> </p>
<p style="margin-bottom: 0in;">This command displays protocol, the local address, the remote address, and the connection state along with port.</p>
<p style="margin-bottom: 0in;">Table II. Description of various connection states</p>
<table border="1" cellspacing="3" cellpadding="4" width="100%">
<colgroup span="1">
<col span="1" width="46"></col>
<col span="1" width="210"></col>
</colgroup>
<tbody>
<tr>
<th width="18%">State</th>
<th width="82%">Description</th>
</tr>
<tr>
<td width="18%">CLOSED</td>
<td width="82%">server has received an ACK signal from the client and the connection is closed</td>
</tr>
<tr>
<td width="18%">CLOSE_WAIT</td>
<td width="82%">server has received the first FIN signal from the client and the connection is in the process of being closed</td>
</tr>
<tr>
<td width="18%">ESTABLISHED</td>
<td width="82%">server received the SYN signal from the client and the session is established</td>
</tr>
<tr>
<td width="18%">FIN_WAIT_1</td>
<td width="82%">connection is still active but not currently being used</td>
</tr>
<tr>
<td width="18%">FIN_WAIT_2</td>
<td width="82%">client just received acknowledgment of the first FIN signal from the server</td>
</tr>
<tr>
<td width="18%">LAST_ACK</td>
<td width="82%">server is in the process of sending its own FIN signal</td>
</tr>
<tr>
<td width="18%">LISTENING</td>
<td width="82%">server is ready to accept a connection</td>
</tr>
<tr>
<td width="18%">SYN_RECEIVED</td>
<td width="82%">server just received a SYN signal from the client</td>
</tr>
<tr>
<td width="18%">SYN_SEND</td>
<td width="82%">particular connection is open and active</td>
</tr>
<tr>
<td width="18%">TIME_WAIT</td>
<td width="82%">client recognizes the connection as still active but not currently being used</td>
</tr>
</tbody>
</table>
<h3>How to check for unwanted or risky connections?</h3>
<p>If u doubt that there are unwanted malwares on ur system trying to establish risky connections. You can find out which programs are making connections with the outside world, we can use the command</p>
<p><code>netstat -b</code></p>
<p>Actually, it is better to check over a period of time and we can add a number that sets the command to run at fixed intervals. Also, it is best to create a written record of the connections that are made over some period of time. The command can then be written</p>
<p><code>netstat -b 5 &gt;&gt; C:\connections.txt</code></p>
<p>Note that as written, this command will run with five-second intervals until stopped by entering &#8220;<em>Ctrl+c</em>&#8220;, which is a general command to exit. (Some reports say that this can be fairly CPU intensive so it may cause a slower, single-core machine to run sluggishly. Note that the Process ID (PID) is given. This command can be combined with other tools such as <a href="http://vlaurie.com/computers2/Articles/taskman.htm">Task Manager</a> to analyze what executable files and processes are active and are trying to make Internet connections.</p>
<h3></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.imrozbaig.com/how-to-use-netstat-command/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Common Networking Commands</title>
		<link>http://www.imrozbaig.com/common-networking-commands/</link>
		<comments>http://www.imrozbaig.com/common-networking-commands/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:14:03 +0000</pubDate>
		<dc:creator>imroz</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[common networking commands]]></category>
		<category><![CDATA[ipconfig]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[tracert]]></category>

		<guid isPermaLink="false">http://imrozbaig.com/?p=446</guid>
		<description><![CDATA[The following are common Microsoft Windows network commands ipconfig Ipconfig is a Console Command which can be issued to the Command Line Interpreter (or command prompt) to display [..]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The following are common Microsoft Windows <a href="http://whirlpool.net.au/wiki/?tag=network">network</a> commands</p>
<h3 style="text-align: justify;"><strong>ipconfig</strong></h3>
<p style="text-align: justify;">Ipconfig is a Console Command which can be issued to the Command Line Interpreter (or command prompt) to display the network settings currently assigned to any or all network adapters in the machine. This command can be utilised to verify a network connection as well as to verify your network settings.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/ipconfig.htm" target="_blank">www.computerhope.com/ipconfig.htm</a></p>
<p style="text-align: justify;">For Windows 95,98,ME use winipcfg<br />
<a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;141698" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;141698</a></p>
<h3><strong>netstat</strong></h3>
<p style="text-align: justify;">Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the <a href="http://whirlpool.net.au/wiki/?tag=IP">IP</a> routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols). Used without parameters, netstat displays active TCP connections.</p>
<p style="text-align: justify;"><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netstat.mspx" target="_blank">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netstat.mspx</a></p>
<h3><strong>tracert</strong></h3>
<p style="text-align: justify;">The tracert command is used to visually see a network packet being sent and received and the amount of hops required for that packet to get to its destination.</p>
<p style="text-align: justify;">Users with Microsoft Windows 2000 and Windows XP who need additional information network latency and network loss should also consider using the pathping command.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/tracert.htm" target="_blank">www.computerhope.com/tracert.htm</a></p>
<h3><strong><a href="http://whirlpool.net.au/wiki/?tag=ping">ping</a></strong></h3>
<p style="text-align: justify;">Helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/pinghlp.htm" target="_blank">www.computerhope.com/pinghlp.htm</a></p>
<h3><strong>pathping</strong></h3>
<p style="text-align: justify;">Provides information about network latency and network loss at intermediate hops between a source and destination. Pathping sends multiple Echo Request messages to each router between a source and destination over a period of time and then computes results based on the packets returned from each router.</p>
<p style="text-align: justify;"><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/pathping.mspx?mfr=true" target="_blank">www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/pathping.mspx?mfr=true</a></p>
<h3><strong>telnet</strong></h3>
<p style="text-align: justify;">Telnet is software that allows users to remotely access another computer such as a server, network device, or other computer. With telnet users can connect to a device or computer, manage a network device, setup a device, transfer files, etc.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/software/telnet.htm#03" target="_blank">www.computerhope.com/software/telnet.htm#03</a></p>
<h3><strong>ftp</strong></h3>
<p style="text-align: justify;">FTP is short for File Transfer Protocol, this page contains additional information about the FTP command and help using that command in Unix and MS-DOS (Windows).</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/software/ftp.htm" target="_blank">www.computerhope.com/software/ftp.htm</a></p>
<h3><strong>route</strong></h3>
<p style="text-align: justify;">The function and syntax of the Windows ROUTE command is similar to the UNIX or Linux route command. Use the command to manually configure the routes in the routing table.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/routehlp.htm" target="_blank">www.computerhope.com/routehlp.htm</a></p>
<h3><strong>arp</strong></h3>
<p style="text-align: justify;">Displays, adds, and removes arp information from network devices.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/arphlp.htm" target="_blank">www.computerhope.com/arphlp.htm</a></p>
<h3><strong>nslookup</strong></h3>
<p style="text-align: justify;">Displays information that you can use to diagnose Domain Name System (DNS) infrastructure. Before using this tool, you should be familiar with how DNS works. The Nslookup command-line tool is available only if you have installed the TCP/IP protocol.</p>
<p style="text-align: justify;"><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nslookup.mspx" target="_blank">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nslookup.mspx</a></p>
<h3><strong>nbtstat</strong></h3>
<p style="text-align: justify;">MS-DOS utility that displays protocol statistics and current TCP/IP connections using NBT.</p>
<p style="text-align: justify;"><a href="http://www.computerhope.com/nbtstat.htm" target="_blank">www.computerhope.com/nbtstat.htm</a></p>
<p style="text-align: justify;"><strong>netsh</strong><br />
<a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netsh.mspx" target="_blank">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netsh.mspx</a></p>
<p style="text-align: justify;">One common way of using netsh is to reset the TCP/IP in Windows 2k/XP</p>
<p style="text-align: justify;">Type this in Run or DOS Window – &#8220;netsh int ip reset&#8221;</p>
<p style="text-align: justify;">In Windows XP you can run a graphical diagnostics by typing &#8220;netsh diag gui&#8221; into the run dialogue box. (This may take a little time to startup)</p>
<h3 style="text-align: justify;"><strong>getmac</strong></h3>
<p style="text-align: justify;">DOS command used to show both local and remote MAC addresses. When run with no parameters (ie. <tt>getmac</tt>) it displays MAC addresses for the local system. When run with the /s parameter (eg. <tt>getmac /s \\foo</tt>) it displays MAC addresses for the remote computer. When the /v parameter is used, it also displays the associated connection name and network adapter name.</p>
<p style="text-align: justify;">Included with Windows XP, Windows 2003 Server, and Windows 2000 Resource Kit. Can be downloaded for the Windows 2000 here: <a href="http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/getmac-o.asp" target="_blank">http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/getmac-o.asp</a></p>
<p style="text-align: justify;"><a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/getmac.mspx" target="_blank">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/getmac.mspx</a></p>
<h3><strong>Find All Active/Used IP Addresses on Your Network</strong></h3>
<p style="text-align: justify;">There is a really neat way that you can quite easily find all active/used IP Addresses on your network without the need for any third party applications or worse, pinging each IP Address individually.</p>
<p style="text-align: justify;">Open the Command Prompt and type in the following:</p>
<p style="text-align: justify;">FOR /L %i IN (1,1,254) DO ping <strong>-n 1</strong> 192.168.10.%i | FIND /i &#8220;Reply&#8221;&gt;&gt;c:\ipaddresses.txt</p>
<p style="text-align: justify;">Change 192.168.10 to match you own network.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.imrozbaig.com/common-networking-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

