# Network_Basic-Фадеев_Александр-Практика-6 1) Сконфигурировать инфраструктуру лабораторной работы - Router ``` version 15.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname Main-Router ! boot-start-marker boot-end-marker ! ! enable password 7 13340643595F507F7D ! aaa new-model ! aaa session-id common clock timezone EET 2 0 mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 ! ip dhcp pool POOL10VLAN network 192.168.10.0 255.255.255.0 default-router 192.168.10.254 dns-server 8.8.8.8 8.8.4.4 ! ip dhcp pool POOL20VLAN network 192.168.20.0 255.255.255.0 default-router 192.168.20.254 dns-server 8.8.8.8 8.8.4.4 ! ip dhcp pool VLAN10POOL network 192.168.1.0 255.255.255.0 default-router 192.168.1.254 dns-server 8.8.8.8 8.8.4.4 ! no ip domain lookup ip domain name pr.local ip cef no ipv6 cef ! multilink bundle-name authenticated ! username admin privilege 15 password 7 03354A5A545C751918 ! redundancy ! interface Ethernet0/0 no ip address ! interface Ethernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.1.1 255.255.255.0 ! interface Ethernet0/0.10 encapsulation dot1Q 10 ip address 192.168.10.254 255.255.255.0 ! interface Ethernet0/0.20 encapsulation dot1Q 20 ip address 192.168.20.254 255.255.255.0 ! interface Ethernet0/1 ip address dhcp ! interface Ethernet0/2 no ip address shutdown ! interface Ethernet0/3 no ip address shutdown ! ip forward-protocol nd ! no ip http server no ip http secure-server ! control-plane ! line con 0 logging synchronous line aux 0 line vty 0 4 exec-timeout 60 0 logging synchronous transport input ssh ! end ``` - Switch ``` version 15.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption service compress-config ! hostname Switch ! boot-start-marker boot-end-marker ! ! enable password Qq123456 ! username admin privilege 15 password 0 Qq123456 aaa new-model ! aaa session-id common clock timezone EET 2 0 ! ip domain-name pt.local ip cef no ipv6 cef ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface Ethernet0/0 switchport trunk encapsulation dot1q switchport mode trunk ! interface Ethernet0/1 switchport access vlan 10 switchport mode access ! interface Ethernet0/2 switchport access vlan 20 switchport mode access ! interface Ethernet0/3 switchport mode access ! interface Vlan20 ip address 192.168.20.250 255.255.255.0 ! control-plane ! line con 0 logging synchronous line aux 0 line vty 0 4 exec-timeout 60 0 logging synchronous transport input telnet ! end ``` 2) Сгенерировать трафик протоколов, работающих на уровне L7 OSI - DHCP  windows и debian машинки получали ip адрес - DNS  - telnet   - SSH   - HTTP/HTTPs   - SMB 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up