06-24-2022 06:37 AM
ok, guys, I know this is an OLD device, but it belongs to a nonprofit and they can't afford new equipment now.
they have a 2821 ISR running Version 15.1(1)T. they need to add a few vlans but the vlan subcommand is not available. I am using the command int vlan [XX]
They did have a static IP set on the inside interface, but I removed it.
what I am trying to do is set up vlans for their staff, guests and live stream system
what am I missing?
thanks in advance
Solved! Go to Solution.
06-24-2022 06:42 AM - edited 06-24-2022 06:47 AM
This is Router - Interface vlan not going to work (since this is Switch command)
You can do sub interface, that should work - can you post show run
example :
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 20 ( VLAN 20)
ip address xxxxxxxxxxxxxxx
ip nat inside
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 30 ( VLAN 30)
ip address xxxxxxxxxxxxxxxxxxxxxxxxx
ip nat inside
06-24-2022 06:42 AM - edited 06-24-2022 06:47 AM
This is Router - Interface vlan not going to work (since this is Switch command)
You can do sub interface, that should work - can you post show run
example :
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 20 ( VLAN 20)
ip address xxxxxxxxxxxxxxx
ip nat inside
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 30 ( VLAN 30)
ip address xxxxxxxxxxxxxxxxxxxxxxxxx
ip nat inside
06-24-2022 06:57 AM
thank you! don't know why that didn't occur to me!
06-24-2022 06:49 AM - edited 06-24-2022 06:51 AM
you need as I know switch module to make router accept the VLAN config, otherwise all port is L3 router port and router don't accept VLAN config.
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