×

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.

Ping from one switch to another

Unanswered Question
Nov 12th, 2014
User Badges:

I am new at this so Im sorry in advance. I have created Vlan 20 on Sw 1 and Vlan 10 on switch 4. Both with ip address in the same subnet. I cannot however seem to ping. What should I be taking into consideration? Both switches are Catalyst 3750. I'm quite lost, I would appreciate any help.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
John Blakley Wed, 11/12/2014 - 15:59
User Badges:
  • Purple, 4500 points or more

You have two different vlans. You should put both switches in the same vlan and keep the addressing the same. Then under the interfaces that connect the switches, change them to either access ports for vlan 20 (for example), or trunk the port (more common).

HTH,

John

omw214001 Wed, 11/12/2014 - 16:01
User Badges:

Thank you! Is there not a way to keep them in different vlans and be able to ping however?

John Blakley Wed, 11/12/2014 - 16:06
User Badges:
  • Purple, 4500 points or more

Yes you can...both are 3750? You'll need to enable routing on at least one of them because you have to have something route for the vlan. On the routing one, you would configure both vlans. On the other you'd have just the one:

Routing 3750:

ip routing

int vlan 10

ip address 10.10.10.1 255.255.255.0

int vlan 20

ip address 20.20.20.1 255.255.255.0

 

int f0/1 <--- Connects to switch 2

switchport mode trunk (trunks all vlans by default)

 

On other switch:

int vlan 20

ip address 20.20.20.2 255.255.255.0

 

int fa0/1 <--- Connects to switch 1

switchport mode trunk

 

That should do it. Technically, your 3750 that's routing will not be in a separate vlan. The only way to have them totally separated would be to have a router. You have to have a L3 device to route between vlans. Oh, and make sure you created both of those vlans on the routing switch and then create the single vlan on the second one.

HTH,
John

Actions

This Discussion