08-05-2024 03:54 AM
hi,
I want to simplify a config to enable 8 separate vlans, to be secure from each other but all have access to 2 supervisor vlans.
so call vlan SRV1 + SPC1, have access to RIG1 - RIG8
RIG1 - 8 have access to SRV1 + SPC1, but no access to each other
I configured this, but although the rig vlans remained separate, they couldn't talk to SRV or SPC
any ideas please.
switch>en
switch#
!
conf t
!
hostname test_switch
!
banner motd ^
#################################################################
# #
# SWITCH BEING USED FOR TEST SCENARIOS #
# #
#################################################################
^
!
vlan 100
name SRV_vlan
!
vlan 101
name SPC_vlan
!
vlan 201
name rig1_vlan
!
vlan 202
name rig2_vlan
!
vlan 203
name rig3_vlan
!
vlan 204
name rig4_vlan
!
vlan 205
name rig5_vlan
!
vlan 206
name rig6_vlan
!
vlan 207
name rig7_vlan
!
vlan 208
name rig8_vlan
!
interface g1/0/1
switchport mode trunk
switchport trunk allowed vlan all
!
interface vlan 100
ip address 10.0.1.1 255.255.255.0
!
interface vlan 101
ip address 10.0.2.1 255.255.255.0
!
interface g1/0/2
switchport mode trunk
switchport trunk allowed vlan all
!
interface g1/0/4
switchport mode access
switchport access vlan 201
!
interface g1/0/5
switchport mode access
switchport access vlan 202
!
interface g1/0/6
switchport mode access
switchport access vlan 203
!
interface g1/0/7
switchport mode access
switchport access vlan 204
!
interface g1/0/8
switchport mode access
switchport access vlan 205
!
interface g1/0/9
switchport mode access
switchport access vlan 206
!
interface g1/0/10
switchport mode access
switchport access vlan 207
!
interface g1/0/11
switchport mode access
switchport access vlan 208
!
end
08-05-2024 04:11 AM - edited 08-05-2024 04:11 AM
Ip routing <<- this command need in SW
MHM
08-06-2024 12:44 AM
Check on private VLANs, maybe it suits to your setup.
08-06-2024 03:04 AM
hi, was rather hoping some pointers in my config attempt above, rather than a whole lesson guide on Vlans.
Unless you can point to the particular config in the guide that relates to my original scenario.
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide