Difference between revisions of "CCNA Explorer 2 Static Routing"

From Teknologisk videncenter
Jump to: navigation, search
m (Verify Ethernet interfaces)
m (Configure A Serial Interface)
Line 48: Line 48:
 
</pre>
 
</pre>
 
===Configure A Serial Interface===
 
===Configure A Serial Interface===
 +
<pre>
 +
Router(config)#interface serial 0/0/0
 +
Router(config-if)#ip address 172.16.2.1 255.255.255.0
 +
Router(config-if)#no shutdown
 +
</pre>
 +
===Examining Router Interfaces===
 +
{|
 +
|[[Image:ScreenShot727.jpg|800px|left|thumb|Telco Connection]]
 +
|-
 +
|[[Image:ScreenShot728.jpg|800px|left|thumb|Telco Connection]]
 +
|}
 +
==Exploring Directly Connected Networks==
 +
===Verify Changes to the Routing Table===
 +
<pre>
 +
Router(config)#interface fastethernet 0/0
 +
Router(config-if)#no shut
 +
 +
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
 +
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
 +
 +
RT: interface FastEthernet0/0 added to routing table
 +
RT: add 10.0.0.0/24 via 0.0.0.0, connected metric [0/0]
 +
Router(config-if)#end
 +
Router#undebug all
 +
</pre>
 +
===Devices on Directly Conncected Networks===
 +
{|
 +
|[[Image:ScreenShot729.jpg|800px|left|thumb|Route table lookup]]
 +
|-
 +
|[[Image:ScreenShot730.jpg|800px|left|thumb|Route table lookup]]
 +
|}

Revision as of 18:50, 21 October 2010

Static Routing

Routers and Network

Examining the Connections of the Router

Connectors
DB60 Connector
Smart Serial Connector
UTP

Examining Router Interfaces

Vis kommandoerne i packet tracer
  • show ip route
  • show interfaces
  • show ip interfaces brief
  • show running-config

Configure an Ethernet Interface

R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 172.16.3.1 255.255.255.0
R1(config-if)#no shutdown
Command interrupted by unsolicited message from IOS
logging synchronous

Verify Ethernet interfaces

show interfaces fastethernet 0/0
show ip interface brief

Router#show running-config
<output omitted>
interface FastEthernet0/0
ip address 172.16.3.1 255.255.255.0
<output omitted>
Router(config-if)#int fa0/1
Router(config-if)#ip address 172.16.3.2 255.255.255.0
172.16.3.0 overlaps with FastEthernet0/0
Router(config-if)#

Configure A Serial Interface

Router(config)#interface serial 0/0/0
Router(config-if)#ip address 172.16.2.1 255.255.255.0
Router(config-if)#no shutdown

Examining Router Interfaces

Telco Connection
Telco Connection

Exploring Directly Connected Networks

Verify Changes to the Routing Table

Router(config)#interface fastethernet 0/0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

RT: interface FastEthernet0/0 added to routing table
RT: add 10.0.0.0/24 via 0.0.0.0, connected metric [0/0]
Router(config-if)#end
Router#undebug all

Devices on Directly Conncected Networks

Route table lookup
Route table lookup