03-18-2024 10:24 AM
Compliments,
Please, I need a help to configure 2 Routers to route packet via distribution layer switches. I know how to achieve this with Multi-layer switch but I want to try it using Router sub-interface. I don't know how with Router. Many thanks.
Solved! Go to Solution.
03-31-2024 05:22 AM
Hello @sincerefrank366 ,
here is an example of configuring a router with sub-interfaces in order to route packets between different vlans:
interface GigabitEthernet0/0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0/1.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
!
interface GigabitEthernet0/0/1.20
encapsulation dot1Q 20
ip address 10.10.20.1 255.255.255.0
!
interface GigabitEthernet0/0/1.50
encapsulation dot1Q 50
ip address 10.10.50.1 255.255.255.0
Hope this helps.
04-14-2024 07:53 AM
You are welcome. Happy to help.
03-31-2024 05:22 AM
Hello @sincerefrank366 ,
here is an example of configuring a router with sub-interfaces in order to route packets between different vlans:
interface GigabitEthernet0/0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0/1.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
!
interface GigabitEthernet0/0/1.20
encapsulation dot1Q 20
ip address 10.10.20.1 255.255.255.0
!
interface GigabitEthernet0/0/1.50
encapsulation dot1Q 50
ip address 10.10.50.1 255.255.255.0
Hope this helps.
04-14-2024 07:33 AM
Thanks for the solution. I do appreciate it.
04-14-2024 07:53 AM
You are welcome. Happy to help.
03-31-2024 05:46 AM
check Router VLAN tagging :
https://www.ciscopress.com/articles/article.asp?p=2990405&seqNum=2
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