Vlan on 3845 gi0/0

Unanswered Question
Jun 1st, 2009


I need to setup a 3750 and a 3845 in the same vlan for a test. I'm thinking the only thing i need to do is to configure a subinterface on the 3845. Pls advice i'm missing something impt



interface gi1/0/5

switchport access vlan 20



interface gi0/0.20

encapsulation dot1q 20

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (4 ratings)
mahmoodmkl Mon, 06/01/2009 - 02:16


U dnot need to setup the sub-interface on the router u can do the same with the main interface just configure the ip on the interface as per the same subnet.



Joseph W. Doherty Mon, 06/01/2009 - 03:07

You would normally only need to use subinterfaces on the 3845 if your "trunk" multiple VLANs from your 3750. Since it appears your 3750 port is an access port, you should be able to just use the 3845's main interface.

t-yamashita Mon, 06/01/2009 - 03:27


Router(routing port) and Switch(switch port) take different approach.

Vlan just decide whether to transfer of the packet in a switch.

Therefor, As Mahmood illustrates you can just configure the ip on the interface of the same subnet.

By the way, when you configure the dot1q on the interface, router gives tag to packet and switch drops it.




This Discussion