cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
947
Views
0
Helpful
5
Replies

trunking between a router and a switch

omar_elmohri
Level 1
Level 1

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

conf t

int fa 0/0.1

ip address blah

encapsulation dot1q 1 native

View solution in original post

5 Replies 5

Roberto Salazar
Level 8
Level 8

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?

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

conf t

int fa 0/0.1

ip address blah

encapsulation dot1q 1 native

well! it works without "native"

thx

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

Please rate helpful posts.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco