Đang tải... (xem toàn văn)
Extra subnets required for 100% growth: +2 Round up to the next whole number5.. Number of host addresses in the largest subnet group: 307.Number of addresses needed for 100% growth in th
Trang 1ĐẠI HỌC DUY TÂNTRƯỜNG KHOA HỌC MÁY TÍNHKHOA KỸ THUẬT MMT & TRUYỀN THÔNG
Trang 21.Cấu hình ip cho sơ đồ 4
2 Bỏ phân giải domain (no ip domain lookup) 6
3) Cấu hình enable secret trên DTU1 & DTU2 là dtu@123 6
4) Cấu hình password bảo vệ cổng console trên DTU1 & DTU2 là dtu@123 6
5) Cấu hình DTU1 cho phép telnet với password là dtu@789 7
6) Cấu hình DTU2 cho phép SSH với cặp username & password là dtu & dtu 7
7) Định tuyến tĩnh cho sơ đồ này 8
PHẦN 3: LAB 1 9
1.1 LÍ THUYẾT 9
1.2 THỰC HÀNH 9
Trang 32 Custom subnet mask: 255.255.255.192 3 Minimum number of subnets needed: 2 4 Extra subnets required for 100% growth: +2
(Round up to the next whole number)
5 Total number of subnets needed = 4
6 Number of host addresses in the largest subnet group: 30
7.Number of addresses needed for 100% growth in the largest subnet: +30
(Round up to the next whole number)
8 Total number of address needed for the largest subnet: =60
Start with the first subnet and arrange your sub-networks from the largest group to the smallest
9.IP address range for Router F0/0 Port: 210.15.10.0 to 210.15.10.63 10.IP address range for Router F0/1 Port: 210.15.10.64 to 210.15.10.127 PC3: 210.15.10.7 255.255.255.192
PC13: 210.15.10.69 255.255.255.192
Trang 4PHẦN 2: LAB 20
1.Cấu hình ip cho sơ đồ
Cấu hình IP cho route 1
Route>en Route>conf t
Route( config) #hostname DTU1 DTU1 ( config) # interface FastEthernet0/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 s0/0/0 DTU1 ( config-if) # no shutdown
DTU1 ( config-if) # ip address 172.17.0.1 255.255.0.0 DTU1(config-if) # clock rate 72000
DTU1 ( config-if) # exit
Cấu hình IP cho route 2
Route>en Route>conf t
Route( config) #hostname DTU2
Trang 5DTU2 ( config) # interface S0/0/0 DTU2 ( config-if) # no shutdown
DTU2 (config-if) # ip address 172.17.0.2 255.255.0.0 DTU2(config-if) # clock rate 72000
DTU2 ( config-if) # exit DTU2 ( config) # interface s0/0/1 DTU2 ( config-if) # no shutdown
DTU2 ( config-if) # ip address 172.18.0.1 255.255.0.0 DTU2 ( config-if) # exit
Cấu hình IP cho route 3
Route>en Route>conf t
Route( config) #hostname DTU3 DTU3 ( config) # interface FastEthernet0/0 DTU3(config-if) # no shutdown
DTU3 (config-if) # ip address 172.19.0.1 255.255.0.0 DTU3 ( config-if) # exit
DTU3 ( config) # interface s0/0/1 DTU3(config-if) # no shutdown
DTU3 ( config-if) # ip address 172.18.0.1 255.255.0.0 DTU3 ( config-if) # exit
Trang 6Subnet mask:255.255.0.0 Gateway: 172.19.0.1
2 Bỏ phân giải domain (no ip domain lookup)
DTU2(config)#no ip domain lookup 0
3) Cấu hình enable secret trên DTU1 & DTU2 là dtu@123
DTU1(config)# line console 0 DTU1(config-line)# password dtu@123 DTU1(config-line)# login
DTU1(config-line)# exit DTU1(config)#
Trang 7DTU2(config)# line console 0 DTU2(config-line)# password dtu@123 DTU2(config-line)# login
DTU2(config-line)# exit DTU2(config)#
5) Cấu hình DTU1 cho phép telnet với password là dtu@789
DTU1(config)# line vty 0 4
DTU1(config-line)# password dtu@789
DTU2 (config)# ip domain-name dtu.vn DTU2(config)# crypto key generate rsa The name for the keys will be: DTU2.dtu.vn
Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys
Choosing a key modulus greater than 512 may take a few minutes How many bits in the modulus [512]: 1024
Trang 8DTU2 (config)# ip ssh version 2 DTU2#username dtu password dtu DTU2 (config)# line vty 0 4
DTU2 (config-line)# transport input ssh
Trang 92 Custom subnet mask: 255.255.224.0 3 Minimum number of subnets needed:4 4 Extra subnets required for 100% growth: +4
(Round up to the next whole number)
5 Total number of subnets needed =8
6 Number of host addresses in the largest subnet group:60
7.Number of addresses needed for 100% growth in the largest subnet +60
(Round up to the next whole number)
8 Total number of address needed for the largest subnet =120
Start with the first subnet and arrange your sub-networks from the largest group to the smallest
9.IP address range for Research:172.16.0.0 to 172.16.31.255 10 IP address range for Marketing:172.16.32.0 to 172.16.63.255 11 IP address range for Management:172.16.64.0 to 172.16.95.255 12 IP address range for Route A to Route B serial connection: 172.16.96.0to 172.16.127.255
1.2 THỰC HÀNH
1.Router 0
Trang 10(config)#ip domain-name dtu.vn (config)#crypto key generate rsa
The name for the keys will be: DTU1.dtu.vn
Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys Choosing a key modulus greater than 512 may take a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable [OK] DTU1(config)#ip ssh version 2
*Mar 1 0:35:43.434: %SSH-5-ENABLED: SSH 1.99 has been enabled (config)#username dtu pass dtu
(config)#line vty 0 4
Trang 12(config)#ip domain-name dtu.vn (config)#crypto key generate rsa
The name for the keys will be: DTU2.dtu.vn
Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys Choosing a key modulus greater than 512 may take a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable [OK] DTU2(config)#ip ssh version 2
*Mar 1 0:50:39.493: %SSH-5-ENABLED: SSH 1.99 has been enabled (config)#username dtu_1 pass dtu_1