×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

trunking between a router and a switch

Answered Question
Apr 13th, 2006
User Badges:

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



Correct Answer by Roberto Salazar about 11 years 4 months ago

conf t

int fa 0/0.1

ip address blah

encapsulation dot1q 1 native


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Roberto Salazar Thu, 04/13/2006 - 09:45
User Badges:
  • Gold, 750 points or more

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?

omar_elmohri Thu, 04/13/2006 - 09:54
User Badges:

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

Correct Answer
Roberto Salazar Thu, 04/13/2006 - 10:05
User Badges:
  • Gold, 750 points or more

conf t

int fa 0/0.1

ip address blah

encapsulation dot1q 1 native


Roberto Salazar Thu, 04/13/2006 - 12:13
User Badges:
  • Gold, 750 points or more

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


Please rate helpful posts.

Actions

This Discussion