Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Vlan on 3845 gi0/0

Hi,

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

3750

-------

interface gi1/0/5

switchport access vlan 20

3845

------

interface gi0/0.20

encapsulation dot1q 20

3 REPLIES

Re: Vlan on 3845 gi0/0

Hi

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.

Thanks

Mahmood

Super Bronze

Re: Vlan on 3845 gi0/0

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.

Re: Vlan on 3845 gi0/0

Hi,

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.

HTH

Tomoyuki

348
Views
14
Helpful
3
Replies
CreatePlease to create content