Добавить
Уведомления

Datové sítě - řešení cvičné maturitní topologie

Omlouvám se za špatný mic, připojil jsem si špatný mobil, ale ty hlavní věci by měly jít rozumět Konfigurace: R1 en conf t hostname R1 enable secret cisco username admin password cisco int fa 0/0 ip add 192.168.10.1 255.255.255.252 no shut exit int se 0/1/0 ip add 192.168.10.9 255.255.255.252 clock rate 128000 no shut exit int fa 0/1 no shut exit int fa 0/1.100 encapsulation dot1q 100 ip add 192.168.0.1 255.255.255.128 ip helper-address 192.168.10.2 exit int fa 0/1.200 encapsulation dot1q 200 ip add 192.168.0.129 255.255.255.192 ip helper-address 192.168.10.2 exit int fa 0/1.99 encapsulation dot1q 99 ip add 192.168.0.193 255.255.255.240 exit router eigrp 1 network 192.168.10.0 0.0.0.3 network 192.168.10.8 0.0.0.3 network 192.168.0.0 0.0.0.127 network 192.168.0.128 0.0.0.63 network 192.168.0.192 0.0.0.15 passive-interface fa 0/1.100 passive-interface fa 0/1.200 passive-interface fa 0/1.99 exit line vty 0 15 transport input ssh login local exit ip domain-name MyRouter1.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa R2 en conf t hostname R2 enable secret cisco username admin password cisco int fa 0/0 ip add 192.168.10.17 255.255.255.252 no shut exit int se 0/1/1 ip add 192.168.10.6 255.255.255.252 no shut exit int fa 0/1 ip add 192.168.10.2 255.255.255.252 no shut ip route 0.0.0.0 0.0.0.0 192.168.10.18 ip route 0.0.0.0 0.0.0.0 fa 0/0 router eigrp 1 network 192.168.10.0 0.0.0.3 network 192.168.10.4 0.0.0.3 passive-interface fa 0/0 redistribute static exit ip dhcp pool StudentLan network 192.168.0.0 255.255.255.128 default-router 192.168.0.1 dns 8.8.8.8 exit ip dhcp pool TeacherLan network 192.168.0.128 255.255.255.192 default-router 192.168.0.129 dns 8.8.8.8 exit ip dhcp excluded-address 192.168.0.1 192.168.0.3 ip dhcp excluded-address 192.168.0.129 192.168.0.131 line vty 0 15 transport input ssh login local exit ip domain-name MyRouter2.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa R3 en conf t hostname R3 enable secret cisco username admin password cisco int fa 0/0 ip add 192.168.10.13 255.255.255.252 no shut exit int se 0/1/1 ip add 192.168.10.10 255.255.255.252 no shut exit int se 0/1/0 ip add 192.168.10.5 255.255.255.252 clock rate 128000 no shut router eigrp 1 network 192.168.10.4 0.0.0.3 network 192.168.10.8 0.0.0.3 network 192.168.10.12 0.0.0.3 passive-interface fa 0/0 exit line vty 0 15 transport input ssh login local exit ip domain-name MyRouter3.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa S1 en conf t hostname S1 enable secret cisco username admin password cisco vlan 100 name StudentLan exit vlan 200 name TeacherLan vlan 99 name AdminLan exit int range fa 0/1-4 switchport mode trunk exit int range fa 0/5-14 switchport mode access switchport access vlan100 exit int range fa 0/15-24 switchport mode access switchport access vlan200 int vlan 99 ip add 192.168.0.201 no shut exit line vty 0 15 login local transport input ssh exit ip domain-name MySwitch1.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa S2 en conf t hostname S1 enable secret cisco username admin password cisco vlan 100 name StudentLan exit vlan 200 name TeacherLan vlan 99 name AdminLan exit int range fa 0/1-4 switchport mode trunk exit int range fa 0/5-14 switchport mode access switchport access vlan100 spanning-tree portfast exit int range fa 0/15-24 switchport mode access switchport access vlan200 spanning-tree portfast exit int vlan 99 ip add 192.168.0.202 no shut exit line vty 0 15 login local transport input ssh exit ip domain-name MySwitch2.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa S3 en conf t hostname S1 enable secret cisco username admin password cisco vlan 100 name StudentLan exit vlan 200 name TeacherLan vlan 99 name AdminLan exit int range fa 0/1-4 switchport mode trunk exit int range fa 0/5-14 switchport mode access switchport access vlan100 spanning-tree portfast exit int range fa 0/15-24 switchport mode access switchport access vlan200 spanning-tree portfast exit int vlan 99 ip add 192.168.0.203 no shut exit line vty 0 15 login local transport input ssh exit ip domain-name MySwitch3.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa KONFIGURACE OSPF router ospf 1 network 192.168.0.0 255.255.255.128 default-information originate (PROPAGACE STATIKY)

Иконка канала Технореволюция
5 подписчиков
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Omlouvám se za špatný mic, připojil jsem si špatný mobil, ale ty hlavní věci by měly jít rozumět Konfigurace: R1 en conf t hostname R1 enable secret cisco username admin password cisco int fa 0/0 ip add 192.168.10.1 255.255.255.252 no shut exit int se 0/1/0 ip add 192.168.10.9 255.255.255.252 clock rate 128000 no shut exit int fa 0/1 no shut exit int fa 0/1.100 encapsulation dot1q 100 ip add 192.168.0.1 255.255.255.128 ip helper-address 192.168.10.2 exit int fa 0/1.200 encapsulation dot1q 200 ip add 192.168.0.129 255.255.255.192 ip helper-address 192.168.10.2 exit int fa 0/1.99 encapsulation dot1q 99 ip add 192.168.0.193 255.255.255.240 exit router eigrp 1 network 192.168.10.0 0.0.0.3 network 192.168.10.8 0.0.0.3 network 192.168.0.0 0.0.0.127 network 192.168.0.128 0.0.0.63 network 192.168.0.192 0.0.0.15 passive-interface fa 0/1.100 passive-interface fa 0/1.200 passive-interface fa 0/1.99 exit line vty 0 15 transport input ssh login local exit ip domain-name MyRouter1.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa R2 en conf t hostname R2 enable secret cisco username admin password cisco int fa 0/0 ip add 192.168.10.17 255.255.255.252 no shut exit int se 0/1/1 ip add 192.168.10.6 255.255.255.252 no shut exit int fa 0/1 ip add 192.168.10.2 255.255.255.252 no shut ip route 0.0.0.0 0.0.0.0 192.168.10.18 ip route 0.0.0.0 0.0.0.0 fa 0/0 router eigrp 1 network 192.168.10.0 0.0.0.3 network 192.168.10.4 0.0.0.3 passive-interface fa 0/0 redistribute static exit ip dhcp pool StudentLan network 192.168.0.0 255.255.255.128 default-router 192.168.0.1 dns 8.8.8.8 exit ip dhcp pool TeacherLan network 192.168.0.128 255.255.255.192 default-router 192.168.0.129 dns 8.8.8.8 exit ip dhcp excluded-address 192.168.0.1 192.168.0.3 ip dhcp excluded-address 192.168.0.129 192.168.0.131 line vty 0 15 transport input ssh login local exit ip domain-name MyRouter2.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa R3 en conf t hostname R3 enable secret cisco username admin password cisco int fa 0/0 ip add 192.168.10.13 255.255.255.252 no shut exit int se 0/1/1 ip add 192.168.10.10 255.255.255.252 no shut exit int se 0/1/0 ip add 192.168.10.5 255.255.255.252 clock rate 128000 no shut router eigrp 1 network 192.168.10.4 0.0.0.3 network 192.168.10.8 0.0.0.3 network 192.168.10.12 0.0.0.3 passive-interface fa 0/0 exit line vty 0 15 transport input ssh login local exit ip domain-name MyRouter3.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa S1 en conf t hostname S1 enable secret cisco username admin password cisco vlan 100 name StudentLan exit vlan 200 name TeacherLan vlan 99 name AdminLan exit int range fa 0/1-4 switchport mode trunk exit int range fa 0/5-14 switchport mode access switchport access vlan100 exit int range fa 0/15-24 switchport mode access switchport access vlan200 int vlan 99 ip add 192.168.0.201 no shut exit line vty 0 15 login local transport input ssh exit ip domain-name MySwitch1.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa S2 en conf t hostname S1 enable secret cisco username admin password cisco vlan 100 name StudentLan exit vlan 200 name TeacherLan vlan 99 name AdminLan exit int range fa 0/1-4 switchport mode trunk exit int range fa 0/5-14 switchport mode access switchport access vlan100 spanning-tree portfast exit int range fa 0/15-24 switchport mode access switchport access vlan200 spanning-tree portfast exit int vlan 99 ip add 192.168.0.202 no shut exit line vty 0 15 login local transport input ssh exit ip domain-name MySwitch2.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa S3 en conf t hostname S1 enable secret cisco username admin password cisco vlan 100 name StudentLan exit vlan 200 name TeacherLan vlan 99 name AdminLan exit int range fa 0/1-4 switchport mode trunk exit int range fa 0/5-14 switchport mode access switchport access vlan100 spanning-tree portfast exit int range fa 0/15-24 switchport mode access switchport access vlan200 spanning-tree portfast exit int vlan 99 ip add 192.168.0.203 no shut exit line vty 0 15 login local transport input ssh exit ip domain-name MySwitch3.cz ip ssh version 2 ip ssh authentication-retries 3 crypto key generate rsa KONFIGURACE OSPF router ospf 1 network 192.168.0.0 255.255.255.128 default-information originate (PROPAGACE STATIKY)

, чтобы оставлять комментарии