Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

trunking between a router and a switch

i used the topology and the configuration described on the pictures included on this post.. but the problem that the ping failed between the switch and the router

1 ACCEPTED SOLUTION

Accepted Solutions

Re: trunking between a router and a switch

conf t

int fa 0/0.1

ip address blah

encapsulation dot1q 1 native

5 REPLIES

Re: trunking between a router and a switch

The router config might not have been captured correctly coz it would not allow you to configure the subinterface with no vlan id after the encapsulation. But you can try this, define the native vlan 1 on the router's subtinterface for subnet 172.16.1.0/24. Also, what address of the router are you pinging from the switch?

New Member

Re: trunking between a router and a switch

thx,

how i can define the native vlan 1?

do you mean that i use a subinterface as vlan1?

i did this at first and i defined it's ip address as 172.16.1.1/24

the address i tried to ping is 172.16.1.1/24

Re: trunking between a router and a switch

conf t

int fa 0/0.1

ip address blah

encapsulation dot1q 1 native

New Member

Re: trunking between a router and a switch

well! it works without "native"

thx

Re: trunking between a router and a switch

Okay, so you forgot to put in the vlan. Great.

Please rate helpful posts.

373
Views
0
Helpful
5
Replies
CreatePlease to create content