Cấu hình bảo vệ cổng line consoleDTU1config# line console 0DTU1config-line# password dtu@123DTU1config-line# loginR1_DTUconfig-line# exitd.. Cấu hình bảo vệ cổng line vty Cho phép telnet
Trang 1ĐẠI HỌC DUY TÂN TRƯỜNG KHOA HỌC MÁY TÍNH KHOA KỸ THUẬT MMT & TRUYỀN THÔNG
ĐỒ ÁN CÁ NHÂN
Đề Tài: Lab 20, Lab 29, Lab 30
Môn Học: Mạng Máy Tính
GIẢNG VIÊN : ThS HOÀNG PHI CƯỜNG
SINH VIÊN THỰC :
Mã số SV : 28218444366
Họ Tên SV : Đinh Văn Phi
Đà Nẵng, … /20…
Trang 2Mục Lục
Chương 1 Tổng quan Mạng Máy Tính 1
1.1 … 1
1.1.1 …… 1
1.1.2 …… 1
1.2 … 1
1.3 … 1
Chương 2 Tìm hiểu ….…… 2
2.1 … 2
2.1.1 … 2
2.1.2 … 2
2.2 … 2
2.3 … 2
Chương 3 Kết Luận 3
Trang 3Chương 1 LAB 20 1.1 Chia Mạng
……….
………
1.2 Cấu Hình
1.2.1 Máy tính
1.2.1.1 PC0
1.2.1.2 Laptop0
1.2.1.3 Laptop1
Trang 41.2.2 Router
1.2.2.1 Router DTU1
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)# hostname DTU1
b Cấu hình password
DTU1(config)# enable secret dtu@123
c Cấu hình bảo vệ cổng line console
DTU1(config)# line console 0
DTU1(config-line)# password dtu@123
DTU1(config-line)# login
R1_DTU(config-line)# exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
DTU1(config)# line vty 0 4
DTU1(config-line)# password dtu@789
DTU1(config-line)# login
DTU1(config-line)# exit
e Cấu hình Interface (ethernet/fastethernet)
Trang 5DTU1(config)#interface f0/0
DTU1(config-if)#no shutdown
DTU1(config-if)#ip address 172.16.0.1 255.255.0.0
DTU1(config-if)#exit
DTU1(config)#interface se0/3/0
DTU1(config-if)#no shutdown
DTU1(config-if)#ip address 172.17.0.1 255.255.0.0
DTU1(config-if)#exit
f Định tuyến tĩnh
DTU1(config)#ip route 172.18.0.1 255.255.0.0 se0/3/0
g Lưu cấu hình
DTU1(config)# exit
DTU1# write
1.2.2.2 Router DTU2
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)# hostname DTU2
b Cấu hình password
R2_DTU(config)# enable secret dtu@123
c Cấu hình bảo vệ cổng line console
R2_DTU(config)# line console 0
R2_DTU(config-line)# password dtu@123
R2_DTU(config-line)# login
R2_DTU(config-line)# exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
R2_DTU(config)# line vty 0 4
R2_DTU(config-line)# password dtu@789
R2_DTU(config-line)# login
R2_DTU(config-line)# exit
e Cấu hình Interface (ethernet/fastethernet)
R2_DTU(config)# interface f0/0
Trang 6R2_DTU(config-if)# no shutdown
R2_DTU(config-if)# ip address 8.1.1.1 255.0.0.0
R2_DTU(config-if)# exit
R2_DTU(config)# interface s0/2/0
R2_DTU(config-if)# no shutdown
R2_DTU(config-if)# ip address 7.1.1.2 255.0.0.0
R2_DTU(config-if)# exit
f Định tuyến tĩnh
R2_DTU(config)# ip route 9.0.0.0 255.0.0.0 s0/2/0
R2_DTU(config)# ip route 10.0.0.0 255.0.0.0 s0/2/0
g Lưu cấu hình
R2_DTU(config)# exit
R2_DTU# write
h PING
PC1 :
PC2
Trang 71.3.
Trang 8Chương 2 LAB 29 2.1 Chia Mạng
……….
………
2.2 Cấu Hình
2.2.1 Máy tính
2.2.1.1 PC/Laptop/….
…
2.2.1.2 PC/Laptop/….
……
2.2.1.3 PC/Laptop/….
……
2.2.2 Router
Trang 92.2.2.1 Router R1DTU
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname R1DTU
b Cấu hình password
R1DTU(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
R1DTU(config)#line console 0
R1DTU(config-line)#password 01478965
R1DTU(config-line)#login
R1DTU(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
R1DTU(config)#line vty 0 4
R1DTU(config-line)#password 01478965
R1DTU(config-line)#login
R1DTU(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
R1DTU(config)#ipv6 unicast-routing
R1DTU(config)#interface f0/1
R1DTU(config-if)#ipv6 address 2001:db8:0:0::/64
R1DTU(config-if)#no shutdown
R1DTU(config-if)#exit
R1DTU(config)#interface f0/0
R1DTU(config-if)#ipv6 address 2001:db8:0:1::/64
R1DTU(config-if)#no shutdown
R1DTU(config-if)#exit
f Định tuyến tĩnh
R1DTU(config)#ipv6 route 2001:db8:0:2::/64 f0/1
R1DTU(config)#ipv6 route 2001:db8:0:3::/64 f0/1
g Lưu cấu hình
R1DTU(config)#exit
R1DTU#
Trang 10%SYS-5-CONFIG_I: Configured from console by console
R1DTU#write
Building configuration
[OK]
2.2.2.2 Router R2DTU
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname R2DTU
b Cấu hình password
R2DTU(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
R2DTU(config)#line console 0
R2DTU(config-line)#password 01478965
R2DTU(config-line)#login
R2DTU(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
R2DTU(config)#line vty 0 4
R2DTU(config-line)#password 01478965
R2DTU(config-line)#login
R2DTU(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
R2DTU(config)#ipv6 unicast-routing
R2DTU(config)#interface f0/0
R2DTU(config-if)#ipv6 address 2001:db8:0:1::/64
R2DTU(config-if)#no shutdown
R2DTU(config-if)#exit
R2DTU(config)#interface f0/1
R2DTU(config-if)#ipv6 address 2001:db8:0:2::/64
R2DTU(config-if)#no shutdown
R2DTU(config-if)#exit
f Định tuyến tĩnh
R2DTU(config)#ipv6 route 2001:db8:0:0::/64 f0/0
R2DTU(config)#ipv6 route 2001:db8:0:3::/64 f0/1
Trang 11g Lưu cấu hình
R2DTU(config)#exit
R2DTU#
%SYS-5-CONFIG_I: Configured from console by console
R2DTU#write
Building configuration
[OK]
2.2.2.3 Router R3DTU
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname R3DTU
b Cấu hình password
R3DTU(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
R3DTU(config)#line console 0
R3DTU(config-line)#password 01478965
R3DTU(config-line)#login
R3DTU(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
R3DTU(config)#line vty 0 4
R3DTU(config-line)#password 01478965
R3DTU(config-line)#login
R3DTU(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
R3DTU(config)#ipv6 unicast-routing
R3DTU(config)#interface f0/0
R3DTU(config-if)#ipv6 address 2001:db8:0:2::/64
R3DTU(config-if)#no shutdown
R3DTU(config-if)#exit
R3DTU(config)#interface f0/1
R3DTU(config-if)#ipv6 address 2001:db8:0:3::/64
R3DTU(config-if)#no shutdown
Trang 12f Định tuyến tĩnh
R3DTU(config)#ipv6 route 2001:db8:0:1::/64 f0/0
R3DTU(config)#ipv6 route 2001:db8:0:0::/64 f0/1
g Lưu cấu hình
R3DTU(config)#exit
R3DTU#
%SYS-5-CONFIG_I: Configured from console by console
R3DTU#write
Building configuration
[OK]
Trang 13Chương 3 LAB 30 3.1 Chia Mạng
……….
………
3.2 Cấu Hình
3.2.1 Máy tính
3.2.1.1 PC/Laptop/….
…
3.2.1.2 PC/Laptop/….
……
3.2.1.3 PC/Laptop/….
……
3.2.2 Router
3.2.2.1 Router HN
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Trang 14Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname HN
b Cấu hình password
HN(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
HN(config)#line console 0
HN(config-line)#passowrd 01478965
HN(config-line)#login
HN(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
HN(config)#line vty 0 4
HN(config-line)#password 01478965
HN(config-line)#login
HN(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
HN(config)#ipv6 unicast-routing
HN(config)#interface s0/1/1
HN(config-if)#ipv6 address 2001:db8:1:4::/64
HN(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/1/1, changed state to down
HN(config-if)#exit
HN(config)#interface s0/2/0
HN(config-if)#ipv6 address 2001:db8:1:5::/64
HN(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to down
HN(config-if)#exit
HN(config)#interface s0/2/1
HN(config-if)#ipv6 address 2001:db8:1:6::/64
HN(config-if)#no shutdown
f Định tuyến RIPng
………
g Lưu cấu hình
HN (config)#exit
HN#write
Trang 153.2.2.2 Router DN
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname DN
b Cấu hình password
DN(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
DN(config)#line console 0
DN(config-line)#password 01478965
DN(config-line)#login
DN(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
DN(config)#line vty 0 4
DN(config-line)#password 01478965
DN(config-line)#login
DN(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
DN(config)#ipv6 unicast-routing
DN(config)#interface s0/1/1
DN(config-if)#ipv6 address 2001:db8:1:1::/64
DN(config-if)#no shutdown
f Định tuyến RIPng
………
g Lưu cấu hình
DN (config)#exit
DN#write
3.2.2.3 Router HCM
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Trang 16Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname HCM
b Cấu hình password
HCM(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
HCM(config)#line console 0
HCM(config-line)#password 01478965
HCM(config-line)#login
HCM(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
CM(config)#line vty 0 4
HCM(config-line)#password 01478065
HCM(config-line)#login
HCM(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
HCM(config)#ipv6 unicast-routing
HCM(config)#interface s0/1/1
HCM(config-if)#ipv6 address 2001:db8:1:3::/64
HCM(config-if)#no shutdown
f Định tuyến RIPng
………
g Lưu cấu hình
HCM (config)#exit
HCM#write
3.2.2.4 Router INTERNET
Continue with configuration dialog? [yes/no]: no
Router>
Router> enable
Router#
Router# configure terminal
Router(config)#
a Đặt tên cho thiết bị
Router(config)#hostname INTERNET
Trang 17b Cấu hình password
INTERNET(config)#enable secret 01478965
c Cấu hình bảo vệ cổng line console
INTERNET(config)#line console 0
INTERNET(config-line)#password 01478965
INTERNET(config-line)#login
INTERNET(config-line)#exit
d Cấu hình bảo vệ cổng line vty (Cho phép telnet/ssh)
INTERNET(config)#line vty 0 4
INTERNET(config-line)#password 01478965
INTERNET(config-line)#login
INTERNET(config-line)#exit
e Cấu hình Interface (ethernet/fastethernet)
INTERNET(config-line)#exit
INTERNET(config)#ipv6 unicast-routing
INTERNET(config)#interface s0/1/1
INTERNET(config-if)#ipv6 address 2001:db8:1:7::/64
INTERNET(config-if)#no shutdown
f Định tuyến RIPng
………
g Lưu cấu hình
INTERNET(config)#exit
INTERNET#write