update 2
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
enable
|
enable
|
||||||
configure terminal
|
configure terminal
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
ip address 1.1.1.1 255.255.255.0
|
ip address 1.1.1.1 255.255.255.0
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
|
ip route 0.0.0.0 0.0.0.0 1.1.1.2
|
||||||
|
!
|
||||||
end
|
end
|
||||||
write memory
|
write memory
|
||||||
5
ISP.md
5
ISP.md
@@ -1,15 +1,20 @@
|
|||||||
enable
|
enable
|
||||||
configure terminal
|
configure terminal
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
ip address 55.55.55.106 255.255.255.252
|
ip address 55.55.55.106 255.255.255.252
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/1
|
interface e0/1
|
||||||
ip address 192.168.10.1 255.255.255.248
|
ip address 192.168.10.1 255.255.255.248
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/2
|
interface e0/2
|
||||||
ip address 1.1.1.2 255.255.255.0
|
ip address 1.1.1.2 255.255.255.0
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
ip route 10.10.0.0 255.255.0.0 55.55.55.105
|
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
|
ip route 10.10.5.0 255.255.255.0 192.168.10.2
|
||||||
|
!
|
||||||
end
|
end
|
||||||
write memory
|
write memory
|
||||||
@@ -1,32 +1,65 @@
|
|||||||
enable
|
enable
|
||||||
configure terminal
|
configure terminal
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
no ip address
|
no ip address
|
||||||
no shutdown
|
no shutdown
|
||||||
interface e0/1
|
!
|
||||||
no ip address
|
|
||||||
no shutdown
|
|
||||||
interface e0/0.30
|
interface e0/0.30
|
||||||
encapsulation dot1Q 30
|
encapsulation dot1Q 30
|
||||||
ip address 10.10.3.1 255.255.255.0
|
ip address 10.10.3.1 255.255.255.0
|
||||||
|
!
|
||||||
interface e0/0.40
|
interface e0/0.40
|
||||||
encapsulation dot1Q 40
|
encapsulation dot1Q 40
|
||||||
ip address 10.10.4.1 255.255.255.0
|
ip address 10.10.4.1 255.255.255.0
|
||||||
|
!
|
||||||
|
interface e0/1
|
||||||
|
no ip address
|
||||||
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/1.60
|
interface e0/1.60
|
||||||
encapsulation dot1Q 60
|
encapsulation dot1Q 60
|
||||||
ip address 10.10.6.1 255.255.255.0
|
ip address 10.10.6.1 255.255.255.0
|
||||||
|
!
|
||||||
interface e0/2
|
interface e0/2
|
||||||
ip address 55.55.55.105 255.255.255.252
|
ip address 55.55.55.105 255.255.255.252
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
|
interface e0/3
|
||||||
|
no ip address
|
||||||
|
shutdown
|
||||||
|
!
|
||||||
ip route 0.0.0.0 0.0.0.0 55.55.55.106
|
ip route 0.0.0.0 0.0.0.0 55.55.55.106
|
||||||
|
!
|
||||||
ip access-list standard NAT_ACL
|
ip access-list standard NAT_ACL
|
||||||
permit 10.10.0.0 0.0.255.255
|
permit 10.10.0.0 0.0.255.255
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
ip nat inside
|
ip nat inside
|
||||||
|
!
|
||||||
interface e0/1
|
interface e0/1
|
||||||
ip nat inside
|
ip nat inside
|
||||||
|
!
|
||||||
interface e0/2
|
interface e0/2
|
||||||
ip nat outside
|
ip nat outside
|
||||||
|
!
|
||||||
ip nat inside source list NAT_ACL interface e0/2 overload
|
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
|
end
|
||||||
write memory
|
write memory
|
||||||
51
R-HQ.md
Normal file
51
R-HQ.md
Normal file
@@ -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
|
||||||
19
Readme
19
Readme
@@ -46,6 +46,25 @@ ISP
|
|||||||
├─ e0/0 ↔ R-Darkstore e0/2
|
├─ e0/0 ↔ R-Darkstore e0/2
|
||||||
├─ e0/1 ↔ R-HQ e0/0
|
├─ e0/1 ↔ R-HQ e0/0
|
||||||
└─ e0/2 ↔ INTERNET 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
|
SW1-Darkstore
|
||||||
├─ e0/1 ↔ SW3-Darkstore e0/0
|
├─ e0/1 ↔ SW3-Darkstore e0/0
|
||||||
├─ e0/2 → PCL-3 (VLAN 30)
|
├─ e0/2 → PCL-3 (VLAN 30)
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
enable
|
enable
|
||||||
configure terminal
|
configure terminal
|
||||||
|
!
|
||||||
vlan 30
|
vlan 30
|
||||||
name Logistics
|
name Logistics
|
||||||
|
!
|
||||||
vlan 40
|
vlan 40
|
||||||
name Storage
|
name Storage
|
||||||
|
!
|
||||||
interface e0/2
|
interface e0/2
|
||||||
description PCL-3 - Logistics
|
description PCL-3 - Logistics
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 30
|
switchport access vlan 30
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/3
|
interface e0/3
|
||||||
description PCL-4 - Logistics
|
description PCL-4 - Logistics
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 30
|
switchport access vlan 30
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e1/0
|
interface e1/0
|
||||||
description PCS-3 - Storage
|
description PCS-3 - Storage
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 40
|
switchport access vlan 40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e1/1
|
interface e1/1
|
||||||
description PCS-4 - Storage
|
description PCS-4 - Storage
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 40
|
switchport access vlan 40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
description To R-Darkstore
|
description To R-Darkstore
|
||||||
switchport trunk encapsulation dot1q
|
switchport trunk encapsulation dot1q
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 30,40
|
switchport trunk allowed vlan 30,40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/1
|
interface e0/1
|
||||||
description To SW3-Darkstore
|
description To SW3-Darkstore
|
||||||
switchport trunk encapsulation dot1q
|
switchport trunk encapsulation dot1q
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 30,40
|
switchport trunk allowed vlan 30,40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
end
|
end
|
||||||
write memory
|
write memory
|
||||||
42
SW1-HQ.md
Normal file
42
SW1-HQ.md
Normal file
@@ -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
|
||||||
@@ -1,32 +1,40 @@
|
|||||||
enable
|
enable
|
||||||
configure terminal
|
configure terminal
|
||||||
|
!
|
||||||
vlan 30
|
vlan 30
|
||||||
name Logistics
|
name Logistics
|
||||||
|
!
|
||||||
vlan 40
|
vlan 40
|
||||||
name Storage
|
name Storage
|
||||||
|
!
|
||||||
vlan 60
|
vlan 60
|
||||||
name DS-Servers
|
name DS-Servers
|
||||||
|
!
|
||||||
interface e0/1
|
interface e0/1
|
||||||
description Portal - DS-Servers
|
description Portal - DS-Servers
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 60
|
switchport access vlan 60
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/2
|
interface e0/2
|
||||||
description FileServer - DS-Servers
|
description FileServer - DS-Servers
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 60
|
switchport access vlan 60
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
description To R-Darkstore
|
description To R-Darkstore
|
||||||
switchport trunk encapsulation dot1q
|
switchport trunk encapsulation dot1q
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 60
|
switchport trunk allowed vlan 60
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/3
|
interface e0/3
|
||||||
description To SW1-Darkstore
|
description To SW1-Darkstore
|
||||||
switchport trunk encapsulation dot1q
|
switchport trunk encapsulation dot1q
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 30,40,60
|
switchport trunk allowed vlan 30,40,60
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
end
|
end
|
||||||
write memory
|
write memory
|
||||||
51
SW2-HQ.md
Normal file
51
SW2-HQ.md
Normal file
@@ -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
|
||||||
@@ -1,34 +1,42 @@
|
|||||||
enable
|
enable
|
||||||
configure terminal
|
configure terminal
|
||||||
|
!
|
||||||
vlan 30
|
vlan 30
|
||||||
name Logistics
|
name Logistics
|
||||||
|
!
|
||||||
vlan 40
|
vlan 40
|
||||||
name Storage
|
name Storage
|
||||||
|
!
|
||||||
interface e0/1
|
interface e0/1
|
||||||
description PCL-1 - Logistics
|
description PCL-1 - Logistics
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 30
|
switchport access vlan 30
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/2
|
interface e0/2
|
||||||
description PCL-2 - Logistics
|
description PCL-2 - Logistics
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 30
|
switchport access vlan 30
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/3
|
interface e0/3
|
||||||
description PCS-1 - Storage
|
description PCS-1 - Storage
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 40
|
switchport access vlan 40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e1/0
|
interface e1/0
|
||||||
description PCS-2 - Storage
|
description PCS-2 - Storage
|
||||||
switchport mode access
|
switchport mode access
|
||||||
switchport access vlan 40
|
switchport access vlan 40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
interface e0/0
|
interface e0/0
|
||||||
description To SW1-Darkstore
|
description To SW1-Darkstore
|
||||||
switchport trunk encapsulation dot1q
|
switchport trunk encapsulation dot1q
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
switchport trunk allowed vlan 30,40
|
switchport trunk allowed vlan 30,40
|
||||||
no shutdown
|
no shutdown
|
||||||
|
!
|
||||||
end
|
end
|
||||||
write memory
|
write memory
|
||||||
Reference in New Issue
Block a user