06-21-2019 08:35 PM
I am having trouble figuring out why my devices in PT won't ping my default-gateway, switch or routers. I also cannot ping my switch to my router but I can ping my routers to each other and to my switch.
06-21-2019 08:49 PM
Need more details; with PT u can attach file
06-23-2019 01:01 PM - edited 06-23-2019 06:47 PM
06-21-2019 09:02 PM
06-22-2019 01:50 AM
Hello Cristopher,
in addition to Edwin's suggestions you need to verify how the switch port connected to the router interface is configured:
if the router interface is configured with an IP address on the physical interface
Example
int gi0/0
ip address 192.168.1.1 255.255.255.0
the corresponding switch interface needs to be configured as an access port in the same vlan where the PC NICs are connected to
Example:
int gi1/0/1
description to router
switchport
switchport mode access
switchport access vlan 10
But if the router interface uses subinterfaces the switch port needs to be configured as a trunk port:
on router
int gi0/0
no ip address
int gi0/0.10
encapsulation dot1q 10
ip address 192.168.1.1 255.255.255.0
The switch port needs to be configured as a trunk port allowing Vlan 10
int gi1/0/1
desc to router
switchport
switchport mode trunk
switchport trunk allowed vlan 1,10
Hope to help
Giuseppe
06-22-2019 04:22 AM
Hello
Please post the PT file - also make sure your end hosts have the correct subnet-masks and default-gateways applied,
and the switchs have the relevant vlans in their vlan database.
06-23-2019 01:00 PM - edited 06-23-2019 06:48 PM
06-23-2019 10:07 AM - edited 06-23-2019 07:03 PM
Thanks for the help everyone. I thought that I attached the PT file before but here it is. I had not considered putting my sub VLANs on my switches but they would not be able to be accessed otherwise. I will also repost my PT file with the new configuration if I am still lost. I am very grateful for everyone's help and I am glad that we have such a helpful community.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide