Files
Yandex-Practicum/R-DarkStore.md
2025-11-19 23:27:38 +03:00

1.0 KiB

enable configure terminal ! interface e0/0 no ip address no shutdown ! interface e0/0.30 encapsulation dot1Q 30 ip address 10.10.3.1 255.255.255.0 ! interface e0/0.40 encapsulation dot1Q 40 ip address 10.10.4.1 255.255.255.0 ! interface e0/1 no ip address no shutdown ! interface e0/1.60 encapsulation dot1Q 60 ip address 10.10.6.1 255.255.255.0 ! interface e0/2 ip address 55.55.55.105 255.255.255.252 no shutdown ! interface e0/3 no ip address shutdown ! ip route 0.0.0.0 0.0.0.0 55.55.55.106 ! ip access-list standard NAT_ACL permit 10.10.0.0 0.0.255.255 ! interface e0/0 ip nat inside ! interface e0/1 ip nat inside ! interface e0/2 ip nat outside ! ip nat inside source list NAT_ACL interface e0/2 overload ! ip dhcp pool LOGISTICS network 10.10.3.0 255.255.255.0 default-router 10.10.3.1 dns-server 8.8.8.8 lease 7 ! ip dhcp excluded-address 10.10.3.1 10.10.3.10 ! ip dhcp pool STORAGE network 10.10.4.0 255.255.255.0 default-router 10.10.4.1 dns-server 8.8.8.8 lease 7 ! ip dhcp excluded-address 10.10.4.1 10.10.4.10 ! end write memory