04-27-2019 05:24 AM - edited 04-27-2019 05:24 AM
Hello,
I'm fairly new to this, so I apologise if the solution is obvious.
I'm trying to get the two PCs in vlan10(green) to communicate with each other, however I'm not sure how to do this with a third multilayer switch between them. The multilayer switch is on the distribution layer whilst the standard switches are at the access layer. I could get it working with a connection between just the layer 2 switches, but could anyone help me with the multilayer switch between? I've included a screenshot of the topology as well as what I've configured so far below.
Switch 1:
interface Port-channel1
switchport mode trunk
!
interface FastEthernet0/1
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/2
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0001.97c3.a001
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
mac-address 0001.97c3.a002
ip address 192.168.20.1 255.255.255.0
!
Switch 2:
interface Port-channel2
switchport mode trunk
!
interface FastEthernet0/1
switchport mode trunk
channel-group 2 mode active
!
interface FastEthernet0/2
switchport mode trunk
channel-group 2 mode active
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0007.ecc6.3901
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
mac-address 0007.ecc6.3902
ip address 192.168.20.1 255.255.255.0
!
The multilayer switch has no VLAN configuration yet. The only configuration is for the etherchannel links.
Any help would be greatly appreciated
-Stuart
Solved! Go to Solution.
04-27-2019 06:02 AM
There are 2 ways here :
1. On the Multi Layer you need to have VLAN 10 and VLAN 20
2. Multi Layer switch - Connected to Switch 1 and Switch2 configure as Trunk
3. Enable routing - Ip routing.
4. configure
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
5. Switch1 and Switch 2 - remove below config
no interface Vlan10
!
no interface Vlan20
6. Configured PC VLAN 10 192.168.10.2 with Gateway 192.168.10.1 and test and advise.
7. Configured PC VLAN 20 192.168.20.2 with Gateway 192.168.10.1 and test and advise.
04-27-2019 06:00 AM - edited 04-27-2019 06:08 AM
Hello
The easiest solution would be to remove the addressing of both sw1/2 and apply it to only the distribution switch enabling ip routing along and adding their presepective L2 vlans
Keep the tunking and L2 vlans on all switches as it is.
Note: ip routing is only required for communication between vlans it isn’t required for host to host communication within the same vlan
04-27-2019 06:02 AM
There are 2 ways here :
1. On the Multi Layer you need to have VLAN 10 and VLAN 20
2. Multi Layer switch - Connected to Switch 1 and Switch2 configure as Trunk
3. Enable routing - Ip routing.
4. configure
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
5. Switch1 and Switch 2 - remove below config
no interface Vlan10
!
no interface Vlan20
6. Configured PC VLAN 10 192.168.10.2 with Gateway 192.168.10.1 and test and advise.
7. Configured PC VLAN 20 192.168.20.2 with Gateway 192.168.10.1 and test and advise.
11-08-2019 10:56 PM
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