IP primer - LAN in WAN vaja 2008
Iz E-študij, proste zakladnice študentskega znanja
Tukajle so rešitve za LAN in WAN vajo, ki smo jo v letu 2008 reševali preko vmesnika za študente pri NIL-u Kratek uvod v članek...
LAN vaja
1. [enter] 1.b [enter] 2. disable 2.b disable ? / help ? enable enable ? / help ? 3. configure terminal 3.b configure terminal hostname Ro_A hostname Ro_B enable password lab1 enable password lab1 4. line console 0 4.b line console 0 password lab2 password lab2 login login exit exit line vty 0 4 line vty 0 4 password lab3 password lab3 login login exit exit exit exit 5. terminal history size 50 5.b terminal history size 50 6. disable 6.b disable enable enable vpises password: lab1 vpises password: lab1 7. exit 7.b exit [enter] da se skonekta nazaj [enter] da se skonekta nazaj vpises password: lab2 vpises password: lab2 8. show version 8.b show version 9. enable show ip interface brief 10. configure terminal interface FastEthernet 0/0 [ali interface Ethernet 0/0 odvisno od opreme] ip address 192.168.1.1 255.255.255.0 exit 11. interface loopback 0 ip address 10.1.0.1 255.255.0.0 exit interface loopback 1 ip address 10.2.0.1 255.255.0.0 exit exit show ip interface brief 12.b enable show ip interface brief çonfigure terminal interface FastEthernet 0/0 [ali interface Ethernet 0/0 odvisno od opreme] ip address 192.168.1.2 255.255.255.0 exit interface loopback 0 ip address 11.1.0.1 255.255.0.0 exit interface loopback 1 ip address 11.2.0.1 255.255.0.0 exit exit show ip interface brief 13. show ip interface brief 13.b show ip interface brief 14. configure terminal 14.b configure terminal interface FastEthernet0/0 [ali Ethernet0/0] interface FastEthernet0/0 [ali Ethernet0/0] no shutdown no shutdown exit exit exit exit 15. show ip interface brief 15.b show ip interface brief 16. ping 192.168.1.2 16.b ping 192.168.1.1 17. show running-config 17.b show running-config configure terminal configure terminal ip routing ip routing 18. router rip 18.b router rip version 2 version 2 network 10.0.0.0 network 11.0.0.0 network 192.168.1.0 network 192.168.1.0 exit exit exit exit 19. show ip route 19.b show ip route 20. configure terminal 20.b configure terminal router rip router rip no auto-summary no auto-summary exit exit exit exit clear ip route * clear ip route * 21. show ip route 21.b show ip route 22. ping 11.1.0.1 22.b ping 10.1.0.1 ping 11.2.0.1 ping 10.2.0.1 23. debug debug ip rip events undebug all -----------------------------------------------[ASSESSMENT ENGINE]-----------------------------------------------
WAN vaja
1.Ro_A show controllers serial0/0 1.Ro_C show controllers serial0/0 [DTE end] 2.Ro_A show interface serial0/0 2.Ro_C show interface serial0/0 [HDLC omogocen] 3.Ro_A configure terminal 3.Ro_C configure terminal interface serial0/0 interface serial0/0 ip address 192.168.10.1 255.255.255.0 ip address 192.168.10.2 255.255.255.0 encapsulation ppp encapsulation ppp ppp authentication chap ppp authentication chap exit exit 4.Ro_A username Ro_C password lab 4.Ro_C username Ro_A password lab exit exit 5.Ro_A debug ppp authentication 5.Ro_C configure terminal configure terminal interface serial0/0 interface serial0/0 no shutdown no shutdown exit exit exit exit 5.1.Ro_A undebug all 6.Ro_A show ip interface brief 6.Ro_C show ip interface brief 7.Ro_A ping 192.168.10.2 7.Ro_C ping 192.168.10.1 -----------------------------------------------[ASSESSMENT ENGINE TASK 1]----------------------------------------------- 8.Ro_C configure terminal interface serial0/0 shutdown no ip address ip address negotiated 9.Ro_A configure terminal ip local pool IPPR 192.168.10.200 192.168.10.210 10.Ro_A interface serial0/0 peer default ip address pool IPPR exit 11.Ro_C no shutdown 12.Ro_C exit interface loopback 0 ip address 12.1.0.1 255.255.0.0 exit interface loopback 1 ip address 12.2.0.1 255.255.0.0 exit 13.Ro_C ip route 0.0.0.0 0.0.0.0 192.168.10.1 exit 14.Ro_A ip route 12.0.0.0 255.0.0.0 Serial0/0 exit 15.Ro_C show ip interface brief 16.Ro_A show ip route 16.Ro_C show ip route 17.Ro_A ping 17.Ro_C ping [IP:12.1.0.1 extended:y,interface: Loopback0] -----------------------------------------------[ASSESSMENT ENGINE TASK 2]----------------------------------------------- 18.Ro_B enable 18.Ro_D enable configure terminal configure terminal interface Serial0/0 interface Serial0/0 encapsulation frame-relay encapsulation frame-relay ip address 192.168.20.1 255.255.255.0 ip address 192.168.20.2 255.255.255.0 bandwidth 64 bandwith 64 19.Ro_B no shutdown 19.Ro_D no shutdown exit exit exit exit show ip interface brief show ip interface brief 20.Ro_B ping 192.168.20.2 20.Ro_D ping 192.168.20.1 21.Ro_B show frame-relay map 21.Ro_D show frame-relay map -----------------------------------------------[ASSESSMENT ENGINE TASK 3]----------------------------------------------- 22.Ro_D configure terminal interface loopback 0 ip address 13.1.0.1 255.255.0.0 exit interface loopback 1 ip address 13.2.0.1 255.255.0.0 exit 23.Ro_D router rip version 2 network 192.168.20.0 network 13.0.0.0 exit exit 24.Ro_B configure terminal router rip network 192.168.20.0 exit exit 25.Ro_B show frame-relay map 25.Ro_D show frame-relay map 26.Ro_D show ip route 26.1.Ro_B configure terminal 26.1.Ro_D configure terminal interface Serial0/0 interface Serial0/0 ip split-horizon ip split-horizon 27.Ro_B frame-relay map ip 192.168.20.2 101 27.Ro_D frame-relay map ip 192.168.20.1 101 exit exit exit exit 28.Ro_B clear frame-relay inarp 28.Ro_D clear frame-relay inarp 29.Ro_B show frame-relay map 29.Ro_D show frame-relay map 30.Ro_B show ip route 30.Ro_D show ip route [po 1 in 55 sekund] [po 1 in 55 sekund] show ip route show ip route [po 3 minutah] [po 3 minutah] 31.Ro_B show ip route 31.Ro_D show ip route [po 4 minutah] [po 4 minutah] -----------------------------------------------[ASSESSMENT ENGINE TASK 4]----------------------------------------------- 32.Ro_B configure terminal 32.Ro_D configure terminal interface Serial0/0 interface Serial0/0 shutdown shutdown no ip address no ip address no frame-relay map ip 192.168.20.2 101 no frame-relay map ip 192.168.20.1 101 exit exit exit exit clear frame-relay inarp clear frame-relay inarp show frame-relay map show frame-relay map 33.Ro_B configure terminal 33.Ro_D configure terminal interface serial0/0 interface serial0/0 no shutdown no shutdown exit exit interface serial 0/0.1 point-to-point interface serial 0/0.1 point-to-point ip address 192.168.20.1 255.255.255.0 ip address 192.168.20.2 255.255.255.0 frame-relay interface-dlci 101 frame-relay interface-dlci 101 34.Ro_B no shutdown 34.Ro_D no shutdown exit exit exit exit 35.Ro_B show frame-relay pvc 35.Ro_D show frame-relay pvc 36.Ro_B show frame-relay map 36.Ro_D show frame-relay map 37.Ro_D show ip route 38.Ro_D ping [ip:11.1.0.1, extended:y, interface:Loopback0] -----------------------------------------------[ASSESSMENT ENGINE TASK 5]----------------------------------------------- 39.Ro_A configure terminal router rip redistribute static redistribute connected 40.Ro_D show ip route 41.Ro_D ping [ip:12.1.0.1, extended:y, interface: Loopback0] 42.Ro_B debug frame-relay lmi -----------------------------------------------[ASSESSMENT ENGINE OPTIONAL]-----------------------------------------------