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 (836.96 KB, 14 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ÍNH</b>
<b>KHOA KỸ THUẬT MẠNG MÁY TÍNH & TRUYỀN THƠNG</b>
<b>GIẢNG VIÊN HƯỚNG DẪN : ThS. HOÀNG PHI CƯỜNGSINH VIÊN THỰC HIỆN : TRẦN VĂN QUỐC</b>
</div><span class="text_page_counter">Trang 2</span><div class="page_container" data-page="2"><b>Lab 16: </b>
<b>Cho sC đE mGng nhH sau: </b>
Hy s dng giao thc đnh tuyn RIP đ cu hnh cho s đ ny. Kt qu" cu#i c$ng l tt c" c&c thit b trong s đ c) th ping th*ng m,ng v.i nhau. B"ng đnh tuyn tr0n 2 router nh3 sau: DTU1 (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 s0/0/0 DTU1 (config-if)# no shutdown
DTU1 (config-if)# ip address 172.17.0.1 255.255.0.0 DTU1 (config-if)# exit
DTU1 (config)# do write
<i><b>Cấu hình con Router DTU2</b></i>
Router> enable Router# config terminal Router(config)#hostname DTU1 DTU2 (config)# interface f0/0 DTU2 (config-if)# no shutdown
DTU2 (config-if)# ip address 172.18.0.1 255.255.0.0 DTU2 (config-if)# exit
</div><span class="text_page_counter">Trang 3</span><div class="page_container" data-page="3">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)# exit
DTU2 (config)# do write
<b>S dng đnh tuyn RIP</b>
<i><b>Cấu hình con Router DTU1</b></i>
DTU1> enable DTU1# config terminal DTU1 (config)# router rip
DTU1 (config-router)#network 172.16.0.0 DTU1 (config-router)#network 172.17.0.0 DTU1 (config-router)#exit
DTU1 (config)# do write
<i><b>Cấu hình con Router DTU2</b></i>
DTU2> enable DTU2# config terminal DTU2 (config)# router rip
DTU2 (config-router)#network 172.18.0.0 DTU2 (config-router)#network 172.17.0.0 DTU2 (config-router)#exit
DTU2 (config)# do write
<b>Bng đnh tuyn trn 2 router nh! sau: </b>
</div><span class="text_page_counter">Trang 4</span><div class="page_container" data-page="4">6. Cu hnh đnh tuyn RIPv2 cho ton bF s đ. L3u H: Tt c" password l dtu
<b>Câu 1: </b>
<i><b>Gn đa ch ip cho PC</b></i>
PC 1: Ipv4 Address : 192.168.1.2
</div><span class="text_page_counter">Trang 6</span><div class="page_container" data-page="6">Router# config terminal
Router(config)# no ip domain lookup Router(config)# do write
<i><b>Cấu hình con Router R2 </b></i>
Router> enable Router# config terminal
Router(config)# no ip domain lookup Router(config)# do write
<i><b>Cấu hình con Router R3</b></i>
Router> enable Router# config terminal
Router(config)# no ip domain lookup Router(config)# do write
<i><b>Cấu hình con Router R4</b></i>
</div><span class="text_page_counter">Trang 7</span><div class="page_container" data-page="7">Router> enable Router# config terminal
Router(config)# no ip domain lookup Router(config)# do write
<b>Câu 3: </b>
<b>Bo v- c.ng Consolde trn t1t c router</b>
<i><b>Cấu hình con Router R1 </b></i>
Router> enable Router# config terminal Router(config)# line console 0 Router(config-line)# password dtu Router# config terminal Router(config)# line console 0 Router(config-line)# password dtu Router# config terminal Router(config)# line console 0 Router(config-line)# password dtu Router# config terminal Router(config)# line console 0 Router(config-line)# password dtu
</div><span class="text_page_counter">Trang 8</span><div class="page_container" data-page="8"><i><b>Cấu hình con Router R4 </b></i>
Router> enable Router# config terminal Router(config)# hostname R4 R4 (config)#ip domain-name dtu.vn R4 (config)#enable secrect dtu R4 (config)#crypto key generate rsa R4 (config)#username dtu pass dtu R4 (config)# line vty 0 4
R4 (config-line)# transport input ssh Router# config terminal Route(config)#enable secrect dtu Router(config)# line vty 0 4 Router(config-line)# password dtu Router(config-line)#login Router(config-line)#exit Router(config)# do write
<b>Câu 6: </b>
<b>C1u h9nh đnh tuyn RIPv2 cho to:n b; s< đ=. </b>
<i><b>Cấu hình con Router R1 </b></i>
Router> enable Router# config terminal Router(config)# router rip Router# config terminal Router(config)# router rip Router(config-router)# version 2
Router(config-router)#network 200.23.23.0 Router(config-router)#network 200.24.24.0
</div><span class="text_page_counter">Trang 9</span><div class="page_container" data-page="9">Router# config terminal Router(config)# router rip Router# config terminal Router(config)# router rip
</div><span class="text_page_counter">Trang 10</span><div class="page_container" data-page="10">Y0u cLu v< đnh tuyn tJnh:
</div><span class="text_page_counter">Trang 13</span><div class="page_container" data-page="13"><i><b>Cấu hình con Router R3</b></i>
</div>