diff --git a/INTERNET.md b/INTERNET.md index 00dd272..261b8e3 100644 --- a/INTERNET.md +++ b/INTERNET.md @@ -1,7 +1,11 @@ enable configure terminal +! interface e0/0 ip address 1.1.1.1 255.255.255.0 no shutdown +! +ip route 0.0.0.0 0.0.0.0 1.1.1.2 +! end write memory \ No newline at end of file diff --git a/ISP.md b/ISP.md index c128836..6098933 100644 --- a/ISP.md +++ b/ISP.md @@ -1,15 +1,20 @@ enable configure terminal +! interface e0/0 ip address 55.55.55.106 255.255.255.252 no shutdown +! interface e0/1 ip address 192.168.10.1 255.255.255.248 no shutdown +! interface e0/2 ip address 1.1.1.2 255.255.255.0 no shutdown +! ip route 10.10.0.0 255.255.0.0 55.55.55.105 ip route 10.10.5.0 255.255.255.0 192.168.10.2 +! end write memory \ No newline at end of file diff --git a/R-DarkStore.md b/R-DarkStore.md index 9f5fe68..52e2ef3 100644 --- a/R-DarkStore.md +++ b/R-DarkStore.md @@ -1,32 +1,65 @@ enable configure terminal +! interface e0/0 no ip address no shutdown -interface e0/1 - 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 \ No newline at end of file diff --git a/R-HQ.md b/R-HQ.md new file mode 100644 index 0000000..b720b9b --- /dev/null +++ b/R-HQ.md @@ -0,0 +1,51 @@ +enable +configure terminal +! +interface e0/0 + ip address 192.168.10.2 255.255.255.248 + no shutdown +! +interface e0/1 + no ip address + no shutdown +! +interface e0/1.50 + encapsulation dot1Q 50 + ip address 10.10.5.1 255.255.255.0 +! +interface e0/2 + no ip address + no shutdown +! +interface e0/2.10 + encapsulation dot1Q 10 + ip address 10.10.1.1 255.255.255.0 +! +interface e0/2.20 + encapsulation dot1Q 20 + ip address 10.10.2.1 255.255.255.0 +! +interface e0/3 + no ip address + shutdown +! +ip route 0.0.0.0 0.0.0.0 192.168.10.1 +! +ip dhcp pool IT + network 10.10.1.0 255.255.255.0 + default-router 10.10.1.1 + dns-server 8.8.8.8 + lease 7 +! +ip dhcp excluded-address 10.10.1.1 10.10.1.100 +! +ip dhcp pool MANAGEMENT + network 10.10.2.0 255.255.255.0 + default-router 10.10.2.1 + dns-server 8.8.8.8 + lease 7 +! +ip dhcp excluded-address 10.10.2.1 10.10.2.100 +! +end +write memory \ No newline at end of file diff --git a/Readme b/Readme index 3ab4c64..9606e6b 100644 --- a/Readme +++ b/Readme @@ -46,6 +46,25 @@ ISP ├─ e0/0 ↔ R-Darkstore e0/2 ├─ e0/1 ↔ R-HQ e0/0 └─ e0/2 ↔ INTERNET e0/0 +R-HQ +├─ e0/0 ↔ ISP e0/1 +├─ e0/1 ↔ SW2-HQ e0/0 +├─ e0/2 ↔ SW1-HQ e0/0 +└─ e0/3 ↔ WAN e0/0 +SW1-HQ +├─ e0/0 ↔ R-HQ e0/2 +├─ e0/1 ↔ PCI-1 eth0 +├─ e0/2 ↔ PCI-2 eth0 +├─ e0/3 ↔ PCM-1 eth0 +└─ e1/0 ↔ PCM-2 eth0 +SW2-HQ +├─ e0/0 ↔ R-HQ e0/1 +├─ e0/1 ↔ DC eth0 +├─ e0/2 ↔ DNS eth0 +├─ e1/0 ↔ Ansible eth0 +├─ e0/3 ↔ Mail eth0 +├─ e1/2 ↔ Web eth0 +└─ e1/1 ↔ FS eth0 SW1-Darkstore ├─ e0/1 ↔ SW3-Darkstore e0/0 ├─ e0/2 → PCL-3 (VLAN 30) diff --git a/SW1-Darkstore.md b/SW1-Darkstore.md index 77d1b4e..a4989ad 100644 --- a/SW1-Darkstore.md +++ b/SW1-Darkstore.md @@ -1,40 +1,49 @@ enable configure terminal +! vlan 30 name Logistics +! vlan 40 name Storage +! interface e0/2 description PCL-3 - Logistics switchport mode access switchport access vlan 30 no shutdown +! interface e0/3 description PCL-4 - Logistics switchport mode access switchport access vlan 30 no shutdown +! interface e1/0 description PCS-3 - Storage switchport mode access switchport access vlan 40 no shutdown +! interface e1/1 description PCS-4 - Storage switchport mode access switchport access vlan 40 no shutdown +! interface e0/0 description To R-Darkstore switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 30,40 no shutdown +! interface e0/1 description To SW3-Darkstore switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 30,40 no shutdown +! end write memory \ No newline at end of file diff --git a/SW1-HQ.md b/SW1-HQ.md new file mode 100644 index 0000000..cef7935 --- /dev/null +++ b/SW1-HQ.md @@ -0,0 +1,42 @@ +enable +configure terminal +! +vlan 10 + name IT +! +vlan 20 + name Management +! +interface e0/1 + description PCI-1 - IT + switchport mode access + switchport access vlan 10 + no shutdown +! +interface e0/2 + description PCI-2 - IT + switchport mode access + switchport access vlan 10 + no shutdown +! +interface e0/3 + description PCM-1 - Management + switchport mode access + switchport access vlan 20 + no shutdown +! +interface e1/0 + description PCM-2 - Management + switchport mode access + switchport access vlan 20 + no shutdown +! +interface e0/0 + description To R-HQ + switchport trunk encapsulation dot1q + switchport mode trunk + switchport trunk allowed vlan 10,20 + no shutdown +! +end +write memory \ No newline at end of file diff --git a/SW2-Darkstore.md b/SW2-Darkstore.md index 01911af..94f3783 100644 --- a/SW2-Darkstore.md +++ b/SW2-Darkstore.md @@ -1,32 +1,40 @@ enable configure terminal +! vlan 30 name Logistics +! vlan 40 name Storage +! vlan 60 name DS-Servers +! interface e0/1 description Portal - DS-Servers switchport mode access switchport access vlan 60 no shutdown +! interface e0/2 description FileServer - DS-Servers switchport mode access switchport access vlan 60 no shutdown +! interface e0/0 description To R-Darkstore switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 60 no shutdown +! interface e0/3 description To SW1-Darkstore switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 30,40,60 no shutdown +! end write memory \ No newline at end of file diff --git a/SW2-HQ.md b/SW2-HQ.md new file mode 100644 index 0000000..1aa9b01 --- /dev/null +++ b/SW2-HQ.md @@ -0,0 +1,51 @@ +enable +configure terminal +! +vlan 50 + name HQ-Servers +! +interface e0/1 + description DC - Data Center + switchport mode access + switchport access vlan 50 + no shutdown +! +interface e0/2 + description DNS - DNS Server + switchport mode access + switchport access vlan 50 + no shutdown +! +interface e0/3 + description Mail - Mail Server + switchport mode access + switchport access vlan 50 + no shutdown +! +interface e1/0 + description Ansible - Automation + switchport mode access + switchport access vlan 50 + no shutdown +! +interface e1/1 + description FS - File Server + switchport mode access + switchport access vlan 50 + no shutdown +! +interface e1/2 + description Web - Web Server + switchport mode access + switchport access vlan 50 + no shutdown +! +interface e0/0 + description To R-HQ + switchport trunk encapsulation dot1q + switchport mode trunk + switchport trunk allowed vlan 50 + no shutdown +! +end +write memory \ No newline at end of file diff --git a/SW3-Darkstore.md b/SW3-Darkstore.md index 46d451b..7b4fea2 100644 --- a/SW3-Darkstore.md +++ b/SW3-Darkstore.md @@ -1,34 +1,42 @@ enable configure terminal +! vlan 30 name Logistics +! vlan 40 name Storage +! interface e0/1 description PCL-1 - Logistics switchport mode access switchport access vlan 30 no shutdown +! interface e0/2 description PCL-2 - Logistics switchport mode access switchport access vlan 30 no shutdown +! interface e0/3 description PCS-1 - Storage switchport mode access switchport access vlan 40 no shutdown +! interface e1/0 description PCS-2 - Storage switchport mode access switchport access vlan 40 no shutdown +! interface e0/0 description To SW1-Darkstore switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 30,40 no shutdown +! end write memory \ No newline at end of file