Ćwiczenie 4. Konfigurowanie dynamicznego routingu. 1. Skonfigurować sieci według schematu 2. Sprawdzenie konfiguracji routerów RU105G# show running-config RU105G# show ip protocols 3. Konfigurowanie routingu RIPv2. RU105G>enable RU105G#configure terminal RU105G(config)#router rip RU105G(config-router)#version 2 RU105G(config-router)#network 172.16.0.0 RU105G(config-router)#no auto-summary RU105G(config-router)#exit RU105G(config)#exit Powtórzyć powyŝsze polecenia dla routera RU105S, RU105D. RU105G# show ip route RU105G# show ip rip database Router# show ip protocols Wyłączyć RIP jako protokół routingu. RU105G(config)#no router rip Zrestartować routery lub usunąć wszystkie rekordy z tablicy routingu. 1
4. Konfigurowanie routingu EIGRP RU105G>enable RU105G#configure terminal RU105G(config)# interface serial 0/0/0 RU105G(config-if)# clock rate 56000 RU105G(config-if)# ip address 172.16.20.1 255.255.255.0 RU105G(config)# interface fastetherenet 0/1 RU105G(config-if)# ip address 172.16.10.1 255.255.255.0 RU105G(config)# router eigrp 100 RU105G(config-router)# no auto-summary RU105G(config-router)# network 172.16.0.0 [opcjonalnie] RU105G# copy running-config startup-config Konfigurowanie routera RU105D. RU105D> enable RU105D# configure terminal RU105D(config)# interface serial 0/0/1 RU105D(config-if)# ip address 172.16.20.2 255.255.255.0 RU105D(config)# interface fastetherenet 0/1 RU105D(config-if)# ip address 172.16.30.1 255.255.255.0 RU105D(config)# router eigrp 100 RU105D(config-router)# no auto-summary RU105D(config-router)# network 172.16.0.0 [opcjonalnie] RU105D# copy running-config startup-config 2
RU105D # show ip route RU105Dr# show ip route eigrp RU105D# show ip eigrp neighbors RU105D# show ip eigrp interfaces RU105D# show ip eigrp topology RU105D# show ip eigrp traffic Wyłączyć EIGRP jako protokół routingu. RU105G(config)# no router eigrp 100 RU105D(config)# no router eigrp 100 Zrestartować routery lub usunąć wszystkie rekordy z tablicy routingu. 3
5. Konfigurowanie routingu OSPF [ćwicznie opcjonalne] RU105G> enable RU105G# configure terminal RU105G(config)# interface fastethernet 0/0 RU105G(config-if)# ip address 172.16.10.1 255.255.255.0 RU105G(config)# interface serial 0/0/0 RU105G(config-if)# ip address 172.16.20.1 255.255.255.252 RU105G(config-if)# clock rate 56000 RU105G(config)# router ospf 1 RU105G(config-router)# network 172.16.10.0 0.0.0.255 area 0 RU105G(config-router)# network 172.16.20.0 0.0.0.255 area 0 RU105G(config-router)# crtl+z RU105G# copy running-config startup-config Konfigurowanie routera RU105S. RU105S> enable RU105S# configure terminal RU105S(config)# interface fastethernet 0/0 RU105S(config-if)# ip address 172.16.30.1 255.255.255.0 4
RU105S(config)# interface serial 0/0/1 RU105S(config-if)# ip address 172.16.20.2 255.255.255.252 RU105S(config-if)# interface serial 0/0/0 RU105S(config-if)# ip address 172.16.40.1 255.255.255.252 RU105S(config-if)# clock rate 56000 RU105S(config)# router ospf 1 RU105S(config-router)# network 172.16.0.0 0.0.255.255 area 0 RU105S(config-router)# crtl+z RU105S# copy running-config startup-config Konfigurowanie routera RU105D. RU105D> enable RU105D# configure terminal RU105D(config)# interface fastethernet 0/0 RU105D(config-if)# ip address 172.16.50.1 255.255.255.0 RU105D(config)# interface serial 0/0/1 RU105D(config-if)# ip address 172.16.40.2 255.255.255.252 RU105D(config)# router ospf 1 RU105D(config-router)# network 172.16.40.2 0.0.0.0 area 0 RU105D(config-router)# network 172.16.50.1 0.0.0.0 area 0 RU105D(config-router)# crtl+z RU105DS # show ip route RU105D# show ip ospf RU105D# show ip ospf interface RU105D# show ip ospf neighbor RU105D# show ip ospf databse RU105D# show ip ospf databse Wyłączyć OSPF jako protokół routingu. RU105D(config)# no router ospf 1 Zrestartować routery. 5