cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
414
Views
0
Helpful
2
Replies

Why does VLAN 10 not reach the default gateway?

ngaoiwnwa2
Level 1
Level 1

Hi, I wonder why my client with VLAN 10 can't reach the default gateway. The client is configured with an ip address and a gateway address.

The switch which the client is connected to is configured to VLAN 10 on

 int fa0/1

The switch which is connected to the bottom switch is configured as trunk 

  • int fa0/2 -> switchport mode trunk,
    
  • switchport trunk allowed vlan 1,10,20

same with the bottom switch which is connected to the top one same configuration

int fa0/2 access vlan 20

int fa0/3 configured as trunk

R0 is configured with g0/0/0 no shutdown subinterfaces

  • g0/0/0.10 encapsulation dot1q 10
  • ip address 192.168.10.1
  • g0/0/0.20 encapsulation dot1q 20
  • ip address 192.168.20.1

I can ping the gateway from client in VLAN 20 but I can't from client in VLAN 10. Why is that? I mean the switch should broadcast the frame until it hits the router right?

 

 

ngaoiwnwa2_0-1704804057555.png

 

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

Hello @ngaoiwnwa2 

On Switch0 add vlan 10 !

configure-terminal

vlan 10

After that PC0 should be able to ping its Gateway:

M02rt37_0-1704806045215.png

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

2 Replies 2

M02@rt37
VIP
VIP

Hello @ngaoiwnwa2 

On Switch0 add vlan 10 !

configure-terminal

vlan 10

After that PC0 should be able to ping its Gateway:

M02rt37_0-1704806045215.png

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Ruben Cocheno
Spotlight
Spotlight

@ngaoiwnwa2 

 FYI : Community group for Packet Tracer project questions

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/
Review Cisco Networking for a $25 gift card