cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1276
Views
15
Helpful
13
Replies

Configuring 1 router with 2 switches

RyanPowers9691
Level 1
Level 1

set.png

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...

1 Accepted Solution

Accepted Solutions

NetworkDave
Spotlight
Spotlight

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.

View solution in original post

13 Replies 13

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.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

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.

See post to the thread.

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. 

balaji.bandi
Hall of Fame
Hall of Fame

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

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I'm unable to create an SVI on S1 as it is not a Layer 3 switch

If that case do the same on S2 stil that works

can you post show version from both the switches ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Can you post the output of these commands on the router:

show ip route

show arp

 

HTH

Rick

all config is OK there is no issue still 
double check the port number and trunk, may be it cable issue 

NetworkDave
Spotlight
Spotlight

{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.

NetworkDave
Spotlight
Spotlight

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.

Dave, thanks! I didn't have VLAN200 configured on S1. Once configured, I was then able to ping PC2 from PC1!

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.

Review Cisco Networking for a $25 gift card