📄 ospflab.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Prerequisites</title>
</head>
<body>
<script language="Javascript">
<!--
function printpage() {
if (window.print)
window.print()
else
alert("Sorry, your browser doesn't support this feature.");
}
//-->
</script>
<FORM>
<INPUT TYPE="button" VALUE="Print this page" onClick="printpage()">
</FORM>
<font face="Arial, Helvetica">
<p><b><font size="4" color="#008000">OSPF Single Area
Configuration and Testing</font></b></p>
<p><i>Objective</i>: We will configure Routers 1, 2, and 4
with IP addresses and OSPF Routing Protocol</p>
<p><i>Goals</i>: </p>
<p>1) Set our hostname and get our interfaces up.</p>
<p>2) Configure OSPF routing protocol</p>
<p>3) Select the directly connected networks</p>
<p>4) View our routing table</p>
<p>5) View the OSPF protocol information</p>
</font>
<p>IP Addresses: Please set these IP addresses on the interfaces of your
routers.</p>
<table border="0" width="100%">
<tr>
<td width="25%"></td>
<td width="25%">eRouter1</td>
<td width="25%">eRouter2</td>
<td width="25%">eRouter4</td>
</tr>
<tr>
<td width="25%">Interface Ethernet 0</td>
<td width="25%">10.1.1.1 255.255.255.0</td>
<td width="25%">10.1.1.2 255.255.255.0</td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%">Interface Serial 0</td>
<td width="25%">172.16.10.1 255.255.0.0</td>
<td width="25%"> </td>
<td width="25%">172.16.10.2 255.255.0.0</td>
</tr>
</table>
<p> </p>
<p><b><font color="#FF00FF" face="Times New Roman, Times, serif">1. </font></b><font face="Times New Roman, Times, serif">Configure
the Routers 1, 2, and 4 to the specifications outlined in the table above and
the diagram below.</font></p>
<p><img border="0" src="default.jpg" width="599" height="579"></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">2.</font><font color="#008080">
</font></b>After you have configured your IP address on each interface verify
that you can ping your directly connected neighbors. That means when you
are on eRouter 1 you should be able to ping eRouter 2's Ethernet 0 interface
and Router 4's Serial 0 interface. </font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">3.</font></b>
Now that we have our IP address setup correctly lets get into configuring OSPF
as our routing protocol. This is very easy to do, first we need to get
into router configuration mode on eRouter 1. What command does this?</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="ds">
<option>- Click Here to View Answer -</option>
<option>eRouter1#</option>
<option>eRouter1#config Terminal</option>
<option>eRouter1(config)#</option>
</select>
</font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">4.</font></b>
Now enter the command to configure the router for OSPF use the Process ID number
100.</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="2">
<option>- Click Here to View Answer -</option>
<option>eRouter1(config)#router ospf 100</option>
<option>eRouter1(config-router)#</option>
</select>
</font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">5.</font></b>
Add the network(s) that eRouter 1 is directly connected to. What statements
will do this?</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="3">
<option>- Click Here to View Answer -</option>
<option>eRouter1(config-router)#network 10.1.1.0 0.0.0.255 area 0</option>
<option>eRouter1(config-router)#network 172.16.0.0 0.0.255.255 area 0</option>
</select>
</font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">6.</font><font color="#0000FF">
</font> </b>Now that you have eRouter 1 configured for OSPF connect to eRouter
2 and enter configuration mode.</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="ds">
<option>- Click Here to View Answer -</option>
<option>eRouter2#</option>
<option>eRouter2#config Terminal</option>
<option>eRouter2(config)#</option>
</select>
</font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">7.</font><font color="#0000FF">
</font></b>Add OSPF routing protocol to the router, remember to use the same
Process ID #. What command does this?</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="2">
<option>- Click Here to View Answer -</option>
<option>eRouter2(config)#router ospf 100</option>
<option>eRouter2(config-router)#</option>
</select>
</font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">8.</font></b>
Add the network(s) that eRouter 2 is directly connected to. What statements
will do this?</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="3">
<option>- Click Here to View Answer -</option>
<option>eRouter2(config-router)#network 10.1.1.0 0.0.0.255 area 0</option>
</select>
</font></p>
<p><font face="Times New Roman, Times, serif"><b><font color="#FF00FF">9.</font><font color="#0000FF">
</font> </b>Now that you have eRouter 2 configured for OSPF connect to eRouter
4 and enter configuration mode.</font></p>
<p><font face="Times New Roman, Times, serif">
<select size="1" name="ds">
<option>- Click Here to View Answer -</option>
<option>eRouter4#</option>
<option>eRouter4#config Terminal</option>
<option>eRouter4(config)#</option>
</select>
</font></p>
<p><font color="#FF00FF" face="Times New Roman, Times, serif"><b>10.</b></font><font face="Times New Roman, Times, serif">
Add OSPF routing protocol to the router, remember to use the same Process ID
#. What command does this?</font></p>
<p><font face="Times New Roman, Times, serif">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -