cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
464
Views
0
Helpful
4
Replies

How to config Router to Manage VLANs

sincerefrank366
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

liviu.gheorghe
Spotlight
Spotlight

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.

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

You are welcome. Happy to help.

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

4 Replies 4

liviu.gheorghe
Spotlight
Spotlight

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.

Regards, LG
*** Please Rate All Helpful Responses ***

Thanks for the solution. I do appreciate it.

You are welcome. Happy to help.

Regards, LG
*** Please Rate All Helpful Responses ***

balaji.bandi
Hall of Fame
Hall of Fame