Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (843.09 KB, 13 trang )
<span class="text_page_counter">Trang 1</span><div class="page_container" data-page="1">
<b>ĐẠI HỌC DUY TÂNTRƯỜNG KHOA HỌC MÁY TÍNHKHOA KỸ THUẬT MMT & TRUYỀN THƠNG</b>
</div><span class="text_page_counter">Trang 2</span><div class="page_container" data-page="2">1.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à
4) Cấu hình password bảo vệ cổng console trên DTU1 & DTU2 là
5) Cấu hình DTU1 cho phép telnet với password là
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
</div><span class="text_page_counter">Trang 3</span><div class="page_container" data-page="3">2. 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
</div><span class="text_page_counter">Trang 4</span><div class="page_container" data-page="4"><b>1.Cấu hình ip cho sơ đồ</b>
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
</div><span class="text_page_counter">Trang 5</span><div class="page_container" data-page="5">DTU2 ( 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
</div><span class="text_page_counter">Trang 6</span><div class="page_container" data-page="6">Subnet mask:255.255.0.0 Gateway: 172.19.0.1
<b>2. Bỏ phân giải domain (no ip domain lookup)</b>
DTU2(config)#no ip domain lookup 0
<b>3) Cấu hình enable secret trên DTU1 & DTU2 là dtu@123</b>
DTU1(config)# line console 0 DTU1(config-line)# password dtu@123 DTU1(config-line)# login
DTU1(config-line)# exit DTU1(config)#
</div><span class="text_page_counter">Trang 7</span><div class="page_container" data-page="7">DTU2(config)# line console 0 DTU2(config-line)# password dtu@123 DTU2(config-line)# login
DTU2(config-line)# exit DTU2(config)#
<b>5) Cấu hình DTU1 cho phép telnet với password là dtu@789</b>
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
</div><span class="text_page_counter">Trang 8</span><div class="page_container" data-page="8">DTU2 (config)# ip ssh version 2 DTU2#username dtu password dtu DTU2 (config)# line vty 0 4
DTU2 (config-line)# transport input ssh
</div><span class="text_page_counter">Trang 9</span><div class="page_container" data-page="9">2. 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
<b>1.2. THỰC HÀNH</b>
1.Router 0
</div><span class="text_page_counter">Trang 10</span><div class="page_container" data-page="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
</div><span class="text_page_counter">Trang 12</span><div class="page_container" data-page="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
</div>