Configuration of the Router
Device
(Hostname)
|
Interface
|
IP Address
|
Subnet Mask
|
Default Gateway
|
R1
|
Fa0/0
|
10.0.0.1
|
255.255.255.252
|
N/A
|
R1
|
Fa0/1
|
192.168.0.10
|
255.255.255.0
|
N/A
|
R2
|
Fa0/0
|
10.0.0.2
|
255.255.255.252
|
N/A
|
PC1
|
NIC
|
192.168.0.20
|
255.255.255.0
|
192.168.0.1
|
Srep 1: Configure and verificate the configuration of the router
Comands :
· Hostname
ne R1 dhe R2
· Enable
secret password
· Configurations of console
· Save the Configurations
Router>enable
Router#configure terminal
Router(config)#hostnameR1
R1(config)#enable secret class
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#line vty 0 5
R1(config-line)#password cisco
R1(config-line)#login
Router>enable
Router#configure terminal
Router(config)#hostnameR2
R2(config)#enable secret class
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#line vty 0 5
R2(config-line)#password cisco
R2(config-line)#login
Step 2: Put the IP
R1>enable
R1#configure terminal
R1(config)#interface fa0/0
R1(config-if)#ip address 10.0.0.1
255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fa0/1
R1(config-if)#ip address
192.168.0.10 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#copy running-config
startup-config
R2>enable
R2#configure terminal
R2(config)#interface fa0/0
R2(config-if)#ip address 10.0.0.2
255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config-if)#exit
R2(config)#exit
R2#copy running-config
startup-config
Step 3: From your PC change the configurations of the router
Open Command Prompt :
Configuration of the Router
Reviewed by Unknown
on
12:09 PM
Rating:
No comments: