Você está na página 1de 6

?????? ??????

??????? ????? ???? ?????? ?? ?????? ????? ????? ???? ???? ??? ?????? EFF ...

?? ??? ????? ???? ??????... ??? ????? ?????......


Continue reading
Peace be upon you;

For people who m??rws? or cannot attend with us for a day for first share to
prepare eff...

What are we doing for exactly one day... if you use it?
Vlsm
Basic Configuration
Ripv2
Eigrp
Ospf
Static
Redistribution
Ntp
DNS
HTTP
Tftp
Telnet
SSH
...

Questions & answers:


======================

? 1-Trace the topology.


Advice and recommendations:
- respect serial numbers of equipment.
- respect the names of the equipment.
- respect the commands of the interfaces.
- respect the types of connections.
- use titles (notes) to organize your work.
- don't forget to save your work.

? 2-submit an effective addressing plan: 192.168.224.0/20


Advice and recommendations:
- we have to respect what is called or vlsm.
- Set the @IP of each network on your topology.
- specify the @IP of each interface.

? 3-make the basic configuration of each router:


- date and time.
- Nom.
- name of the estate.
- Dns lookup.
- Interfaces Web.
- welcome message (Banner).
- password encryption.
- secure access to mode.
- secure access via the console line.
- secure access through virtual lines.
- save configuration.
� R1:
------
Router>Ena => switch to mode
Router #Clock Set 15:30:00 06 Apr 2018 => date and time
Router #conf t => switch to global configuration mode
Router (config) #Hostname R1 => change the name
R1 (config) #Ip Domain-name uits.com => specify domain name
R1 (config) #No Ip Domain-lookup => turn off dns lookup
R1 (config) #no ip http server => disable http web interface
R1 (config) #IP Secure-server => disable https web interface
R1 (config) #BANNER MOTD # => set up a message of the day
*************
** Welcome **
*************
#
R1 (config) #service password-Encryption => encrypt all passwords
R1 (config) #enable secret ciscosec => password for access to mode
R1 (config) #Line Console 0 => access the console line mode
R1 (config-line) #password ciscocon => password
R1 (config-line) #login => enable password usage
R1 (config-line) #Exec-Timeout 10 => set up time out (Standby time)
R1 (config-line) #login synchronous => disable unsolicited messages
R1 (config-line) #exit => leave the console line mode
R1 (config) #LINE VTY 0 4 => access to virtual line mode
R1 (config-line) #password ciscotel => password
R1 (config-line) #login => enable password usage
R1 (config-line) #Exec-Timeout 10 => set up time out (Standby time)
R1 (config-line) #login synchronous => disable unsolicited messages
R1 (config-line) #exit => leave the console line mode
R1 (config) #do write => save (on nvram)

� Same for other routers, just change the names of routers.

? 4-configure interfaces (@Ip, mask, activation, speed, bandwidth, clock,


descritpion).

� R1:
------
R1 (config) #int fa 0/0
R1(config-if)# ip add 192.168.224.1 255.255.254.0
R1(config-if)# no sh
R1(config-if)# speed auto
R1(config-if)# bandwidth ?
<1-10000000> Bandwidth in kilobits
R1(config-if)# description Connected to PC4
R1(config-if)# exit
R1 (config) #int se 2/0
R1(config-if)# ip add 192.168.227.1 255.255.255.252
R1(config-if)# no sh
R1(config-if)# clock rate 64000
R1(config-if)# exit
R1 (config) #to wr

� Same for other routers, just change the @I routers.

? 5-set up the @IP for pcs:

� Pc0:
-------
Pc>Ipconfig 192.168.226.130 255.255.255.192 192.168.226.129

� Same for other pcs.

? 6-configure routing (different routing protocols).


� R1:
------
R1 (config) #Router Eigrp 1
R1(config-router)# router-id 1.1.1.1
R1(config-router)# network 192.168.224.0 0.0.1.255
R1(config-router)# network 192.168.227.0 0.0.0.3
R1(config-router)# no auto-summary
R1(config-router)# exit

R1 (config) #to wr

� R2 :
------
R2 (config) #Router Eigrp 1
R2(config-router)# router-id 2.2.2.2
R2(config-router)# network 192.168.227.0 0.0.0.3
R2(config-router)# network 192.168.226.192 0.0.0.63
R2(config-router)# no auto-summary
R2(config-router)# exit

R2(config)# router ospf 1


R2(config-router)# router-id 2.2.2.2
R2(config-router)# network 192.168.227.4 0.0.0.3 area 0
R2(config-router)# network 192.168.226.0 0.0.0.127 area 0
R2(config-router)# exit

R2 (config) #Do WR

� R3 :
------
R3(config)# router ospf 1
R3(config-router)# router-id 3.3.3.3
R3(config-router)# network 192.168.227.4 0.0.0.3 area 0
R3(config-router)# exit

R3(config)# router rip


R3(config-router)# version 2
R3(config-router)# network 192.168.227.12
R3(config-router)# exit

R3 (config) #IP route 192.168.226.224 255.255.255.224 192.168.227.10

R3 (config) #Do WR

� R4 :
------
R4 (config) #IP route 0.0.0.0 0.0.0.0 192.168.227.9

R4 (config) #to wr

� R5:
------
R5(config)# router rip
R5(config-router)# version 2
R5(config-router)# network 192.168.227.12
R5(config-router)# network 192.168.226.128
R5(config-router)# exit

R5 (config) #to wr

? 7-configure redistribution between different routing protocols:

� R2 :
------
R2 (config) #Router Eigrp 1
R2(config-router)# redistribute ospf 1
R2(config-router)# redistribute metric 10000 100 255 1 1500
R2(config-router)# redistribute ospf 1 metric 10000 100 255 1 1500
R2(config-router)# exit

R2(config)# router ospf 1


R2 (config router) #Redi Tribe Tete 1 SUBNETS
R2(config-router)# redistribute metric 5
R2(config-router)# redistribute eigrp 1 metric 5
R2(config-router)# exit

R2 (config) #Do WR

� R3 :
------
R3(config)# router ospf 1
R3(config-router)# redistribute static subnets
R3(config-router)# redistribute rip subnets
R3(config-router)# default-information originate
R3(config-router)# exit

R3(config)# router rip


R3 (config-Router) #See 2
R3(config-router)# redistribute ospf 1
R3(config-router)# redistribute ospf 1 metric 5
R3(config-router)# redistribute static
R3(config-router)# exit

R3 (config) #Do WR

? 8-test and verification:


� Display The routing table:
R1 #show ip route
...
D EX 192.168.226.0/25 [170/20537600] via 192.168.227.2, 00:07:54, Serial2/ 0
D 192.168.226.192/27 [90/20514560] via 192.168.227.2, 00:14:15, Serial2/ 0
...

=> Explanations:
D: eigrp
EX : EIGRP External
[170/20537600] = Distance (External) / metric
192.168.227.2: Tran�on
Serial2/ 0: local interface
[90/20514560] = Distance (internal) / metric

� Ping From Pc0 To Pc4:


Pc>Ping 192.168.224.2
Pinging 192.168.224.2 with 32 bytes of data:

Reply from 192.168.224.2: bytes=32 time=11ms TTL=124


Reply from 192.168.224.2: bytes=32 time=7ms TTL=124
Reply from 192.168.224.2: bytes=32 time=20ms TTL=124
Reply from 192.168.224.2: bytes=32 time=10ms TTL=124

Ping statistics for 192.168.224.2:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 20ms, Average = 12ms

? 9-Tesetez access by telnet (from le to R1):


PC>telnet 192.168.227.1
Trying 192.168.227.1 ...Open
*************
** Welcome **
*************

User Access Verification

Password: ciscotel
R1>Ena
Password: ciscosec
R1 #show ip route

? 10-configure the ssh protocol on R1:

� Pre-required: you need to check or configure the name of the device and the name
of the dns domain.

R1 (config) #IP SSH VERSION 2 => enable ssh protocol version 2

R1 (config) #Crypto Key generate rsa => generate rsa key


How many bits in the modulus [512]: 1024 => Nombre de bits

R1 (config) #LINE VTY 0 4 => access to the virtual line configuration


R1 (config-line) #Transport input ssh => enable ssh in entry
R1 (config-line) #transport output ssh => enable ssh on exit
R1 (config-line) #login local => enable user access
R1 (config-line) #exit => leave the virtual line configuration mode

R1 (config) #username admin password ciscossh => create a new user

R1 (config) #do wr => save configuration

? 11-test ssh access (From Pc4 To R1):


Pc>Ssh-l admin 192.168.224.1
Open
Password:
*************
** Welcome **
*************
R1>Ena
Password:
R1#

? 12-copy r2 and r5 configuration to the tftp server:


� R2 :
------
R2#copy startup-config tf
R2#copy startup-config tftp:
Address or name of remote host []? 192.168.226.195
Destination filename [R2-confg]?

Writing startup-config...!!
[OK - 1351 bytes]

1351 bytes copied in 0 secs

� R5:
------
R5#copy startup-config tf
R5#copy startup-config tftp:
Address or name of remote host []? 192.168.226.195
Destination filename [R5-confg]?

Writing startup-config...!!
[OK - 1063 bytes]

1063 bytes copied in 0.007 secs (151857 bytes/sec)

? 13-configure dns and http services:


View Images: 1-for http; 2-for dns; 3-for test

? 14-configure the ntp service:


View Image: 4
R2(config)# ntp server 192.168.226.195
R2 (config) #Ntp?
authenticate Authenticate time sources
authentication-key Authentication key for trusted time sources
server Configure NTP server
trusted-key Key numbers for trusted time sources
update-calendar Configure NTP to update the calendar.
R2 (config)

Você também pode gostar