10-13-2022 09:22 AM - edited 10-13-2022 09:50 AM
Using this topology and configuration.
How do I get PC1 to ping PC2? With this configuration I can only get PC1 to ping PC3. I've looked at tons of guides and seem to be following them perfect but cant get communication between PC1 and PC2...
Solved! Go to Solution.
10-13-2022 11:37 PM
RyanPowers9691
PC1 (10.22.0.11/24) & PC3 (10.22.0.13/24) in VLAN22 can ping each other and their gateway (10.22.0.1/24)
PC1 (10.22.0.11/24) & PC3 (10.22.0.13/24) in VLAN22 can't ping PC2 (192.168.200.12) in VLAN200.
PC2 (192.168.200.12) in VLAN200 can't ping its gateway (192.168.200.1/24).
The most likely cause would be that PC2's ARP's are probably failing at S1. Is VLAN200 configured on S1?
----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.
10-13-2022 09:32 AM
did you configured sub interfaces in router? your configurations says s2 gi 0/1 configured as sub interfaces? is it router? if so, make sure PCs configured with correct gateway addresses.
10-13-2022 09:45 AM
My apologies, you're correct, the subinterfaces were configured on the router. I wrote the wrong name on the image. PC1 and PC3 are configured with gateway 10.33.0.1 and PC2 is configured with gateway 192.168.200.1. They're still not talking.
10-13-2022 10:49 AM - edited 10-13-2022 10:54 AM
See post to the thread.
10-13-2022 10:57 AM
Sorry, typo again.. PC1 and PC3 gateway is 10.22.0.1 not 10.33.0.1.
PC1 and PC3 can ping their gateway. PC2 cannot ping its gateway.
All trunks have vlan 33 and 200 allowed.
10-13-2022 09:34 AM - last edited on 10-17-2022 09:51 AM by Translator
best is remove on S2 G0/1 and g0/1.22 config
S2
config t
default interface gi0/1
interface gig0/1
sw mode access
switch access vlan 200
on S1
simply create 2 SVI vlan on S1
config t
!
ip routing
!
interface vlan 22
ip address 10.22.0.254 255.255.255.0
no shutdown
!
interface vlan 200
ip address 192.168.200.254 255.255.255.0
no shutdown
Point your PC devices to respected Gateway example :
10.22.0.0 network to 10.22.0.254
192.168.200.0 network to 192.168.200.254
10-13-2022 09:47 AM
I'm unable to create an SVI on S1 as it is not a Layer 3 switch
10-13-2022 11:06 AM
If that case do the same on S2 stil that works
can you post show version from both the switches ?
10-13-2022 10:08 PM - last edited on 10-17-2022 09:52 AM by Translator
Can you post the output of these commands on the router:
show ip route
show arp
10-13-2022 09:56 AM
all config is OK there is no issue still
double check the port number and trunk, may be it cable issue
10-13-2022 11:02 AM - last edited on 10-17-2022 09:55 AM by Translator
{Message Resent}
RyanPowers9691,
The below listed information is taken from your previous posts:
PC1 (10.22.0.11/24) VLAN22 Gateway 10.33.0.1
PC3 (10.22.0.13/24) VLAN22 Gateway 10.33.0.1
PC2 (192.168.200.12/24) VLAN200 Gateway 192.168.200.1
R1 G0/1.22 (10.22.0.1/24) VLAN22
R1 G0/1.200 (192.168.200.1/24) VLAN200
The PC1 & PC3 gateway (10.33.0.1) doesn't match R1 G0/1.22 (10.22.0.1/24).
Perhaps this is a typo in the information you provided. Please check.
Can PC1/PC2/PC3 ping their respect gateways?
Also, What VLANs are allowed on the trunks?
{Message Resent}
----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.
10-13-2022 11:37 PM
RyanPowers9691
PC1 (10.22.0.11/24) & PC3 (10.22.0.13/24) in VLAN22 can ping each other and their gateway (10.22.0.1/24)
PC1 (10.22.0.11/24) & PC3 (10.22.0.13/24) in VLAN22 can't ping PC2 (192.168.200.12) in VLAN200.
PC2 (192.168.200.12) in VLAN200 can't ping its gateway (192.168.200.1/24).
The most likely cause would be that PC2's ARP's are probably failing at S1. Is VLAN200 configured on S1?
----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.
10-14-2022 06:42 AM
Dave, thanks! I didn't have VLAN200 configured on S1. Once configured, I was then able to ping PC2 from PC1!
10-14-2022 09:21 AM
RyanPowers9691,
No Worries! I'm glad the prolem is solved. It's good that we (The Community) were able to meet the SLA (j/k).
----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.
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