mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Refined switch config to make internet access work.
This commit is contained in:
@@ -29,32 +29,33 @@ spanning-tree extend system-id
|
||||
!
|
||||
!
|
||||
interface FastEthernet0/1
|
||||
switchport mode dynamic desirable
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/2
|
||||
switchport access vlan 2
|
||||
switchport access vlan 11
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/3
|
||||
switchport mode dynamic desirable
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/4
|
||||
switchport access vlan 2
|
||||
switchport access vlan 12
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/5
|
||||
switchport mode dynamic desirable
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/6
|
||||
switchport access vlan 2
|
||||
switchport access vlan 13
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/7
|
||||
switchport trunk encapsulation dot1q
|
||||
switchport mode trunk
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/8
|
||||
switchport access vlan 2
|
||||
switchport access vlan 14
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/9
|
||||
@@ -62,7 +63,7 @@ interface FastEthernet0/9
|
||||
switchport mode trunk
|
||||
!
|
||||
interface FastEthernet0/10
|
||||
switchport access vlan 2
|
||||
switchport access vlan 15
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/11
|
||||
@@ -70,11 +71,11 @@ interface FastEthernet0/11
|
||||
switchport mode trunk
|
||||
!
|
||||
interface FastEthernet0/12
|
||||
switchport access vlan 2
|
||||
switchport access vlan 16
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/13
|
||||
switchport access vlan 11
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/14
|
||||
@@ -82,7 +83,7 @@ interface FastEthernet0/14
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/15
|
||||
switchport access vlan 12
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/16
|
||||
@@ -90,7 +91,7 @@ interface FastEthernet0/16
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/17
|
||||
switchport access vlan 13
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/18
|
||||
@@ -98,7 +99,7 @@ interface FastEthernet0/18
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/19
|
||||
switchport access vlan 14
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/20
|
||||
@@ -106,7 +107,7 @@ interface FastEthernet0/20
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/21
|
||||
switchport access vlan 15
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/22
|
||||
@@ -114,7 +115,7 @@ interface FastEthernet0/22
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/23
|
||||
switchport access vlan 16
|
||||
switchport access vlan 2
|
||||
switchport mode access
|
||||
!
|
||||
interface FastEthernet0/24
|
||||
@@ -131,8 +132,7 @@ interface Vlan1
|
||||
ip address 10.0.0.61 255.255.255.0
|
||||
!
|
||||
interface Vlan2
|
||||
ip address 10.0.100.1 255.255.255.0
|
||||
ip access-group 102 in
|
||||
ip address 10.0.100.2 255.255.255.0
|
||||
!
|
||||
interface Vlan11
|
||||
ip address 10.0.1.1 255.255.255.0
|
||||
@@ -161,13 +161,12 @@ interface Vlan16
|
||||
ip classless
|
||||
ip http server
|
||||
!
|
||||
access-list 102 permit ip 10.0.100.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 111 permit ip 10.0.1.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 112 permit ip 10.0.2.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 113 permit ip 10.0.3.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 114 permit ip 10.0.4.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 115 permit ip 10.0.5.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 116 permit ip 10.0.6.0 0.0.0.255 host 10.0.0.50
|
||||
access-list 111 permit ip 10.0.1.0 0.0.0.255 host 10.0.100.50
|
||||
access-list 112 permit ip 10.0.2.0 0.0.0.255 host 10.0.100.50
|
||||
access-list 113 permit ip 10.0.3.0 0.0.0.255 host 10.0.100.50
|
||||
access-list 114 permit ip 10.0.4.0 0.0.0.255 host 10.0.100.50
|
||||
access-list 115 permit ip 10.0.5.0 0.0.0.255 host 10.0.100.50
|
||||
access-list 116 permit ip 10.0.6.0 0.0.0.255 host 10.0.100.50
|
||||
!
|
||||
line con 0
|
||||
exec-timeout 0 0
|
||||
|
||||
Reference in New Issue
Block a user