Changes

Jump to: navigation, search

OPS235 Lab 6

No change in size, 07:42, 12 October 2016
no edit summary
=== Part 2: Network Connectivity & Network Service Troubleshooting Utilities===
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|
<table cellspacing="0" cellpadding="5" style="border-top: thin solid black;margin-left:60px;">
<caption>'''Common Network Troubleshooting Tools'''</caption>
<tr valign="top>
 
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">Purpose</td>
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;padding-left:100px;">Command(s)</td>
 
</tr>
<tr valign="top">
<td style="border-bottom: thin solid black;">Network Connectivity</td>
<td style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="color:#3366CC;font-size:1.2em;">ping</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">arp</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b></td>
</tr>
<tr valign="top">
<td style="border-bottom: thin solid black;">Network Service Status</td>
<td style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="color:#3366CC;font-size:1.2em;">netstat'''</span></code></b></td>
</tr>
 
</table>
|}
 
Troubleshooting network problems is an extremely important and frequent task for a Linux/Unix system administrator. Since network services (such as file-server, print-servers, web-servers, and email-servers) depend on network connectivity, as Linux/Unix sysadmin must be able to quickly and effectively pin-point sources of network problems in order to resolve them.
<ol><li value="7">Give this shell script execute permissions and run this shell script.</li><li>You will need to determine the full pathname of the '''ifcfg-en0''' file in the /etc/sysconfig/network-scripts directory to use as an argument for this shell script.</li><li>Run the shell script. What do you notice from the report that the shell script generated?</li><li>The the wget command to download another variation of the network-info.bash shell script using the awk command to separate the variables and values into separate columns:<br><b><code><span style="color:#3366CC;font-size:1.2em;">http://cs.senecac.on.ca/~murray.saul/network-info-2.bash</span></code></b><br></li></ol>
 
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|
<table cellspacing="0" cellpadding="5" style="border-top: thin solid black;margin-left:60px;">
<caption>'''Common Network Troubleshooting Tools'''</caption>
<tr valign="top>
 
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;">Purpose</td>
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;padding-left:100px;">Command(s)</td>
 
</tr>
<tr valign="top">
<td style="border-bottom: thin solid black;">Network Connectivity</td>
<td style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="color:#3366CC;font-size:1.2em;">ping</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">arp</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b></td>
</tr>
<tr valign="top">
<td style="border-bottom: thin solid black;">Network Service Status</td>
<td style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="color:#3366CC;font-size:1.2em;">netstat'''</span></code></b></td>
</tr>
 
</table>
|}
13,420
edits

Navigation menu