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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Trunk issue

I have discovered a problem with my newotk on one particular vlan. The problem started

with a dhcp issue. No clients whatsoever could get a ip address from vlan2 on the switch,

but there were no problems with the other vlans. The router itself acts as a dhcp server

for all vlans, including the one i have problems with. Vlan2 has the exact same configuration

as vlan3, and that one i have never had any issues with.

During troubleshooting i connected a client directly to a accessport on the 1812 router, and

voila! It recieved a ip address. This makes me believe that the configuration itself is good.

I have some sort of trunk issue, for the 1812 router and 2960 switch is conencted via a trunk.

Now i borrowed a 1841 router to act as a client. And i discovered a strange thing. First the setup:

Physical setup:

1812(fa2) ----- 2960(fa0/8)

2960(fa0/4) ----- 1841(fa0/0)



interface FastEthernet2

switchport mode trunk


interface FastEthernet0/4

switchport mode trunk


interface FastEthernet0/0

no ip address

duplex auto

speed auto


interface FastEthernet0/0.2

encapsulation dot1Q 2

ip address


interface FastEthernet0/0.3

encapsulation dot1Q 3

ip address

With this setup i can ping the vlan2 interface ( on the switch from the 1841,

but not the default gateway on the 1812 router for vlan 2 ( But i can however

ping the default gateway for vlan 3 on the router (!!!

If i connect the 1841 router with the same config, directly to the 1812 trunk interface, fa2,

everything works!

I have no clue whatsoever right now, i hope someone can help me.

Hall of Fame Super Silver

Re: Trunk issue

Hello Frederik,

when using 802.1Q trunks a possible problem is a mismatch in the native vlan

check the C2960 ports with

sh interface fas0/4 switchport

sh interface fas0/8 switchport

verify encapsulation, native vlan, list of vlans permitted and in forwarding state

both vlan 2 and vlan 3 must be permitted on both trunks

on the router you can use debug vlan packets

+ term monitor

Hope to help


New Member

Re: Trunk issue


Thanks for your reply. The trunk port configuration on both the router and switch are as you can se in my first message simple, and exactly alike. The trunk works, but not for accessports on the switch. "sh ip int brie" shows up/up for vlan 2 for example.


Hall of Fame Super Silver

Re: Trunk issue

Hello Frederick

for access-ports

switchport mode access

switchport access vlan 2

the default is 1

Hope to help


New Member

Re: Trunk issue


Yeah, i know. But that is not the issue.