Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Configuring Cisco Switches

Configuring Cisco Switches

User generated image
I have the topology above...
both switches can see both routers mac addresses but cannot ping each other

R1#sh ip interface br | inc up
Ethernet0/0                192.168.12.1    YES manual up                    up  
R1#

Open in new window


SW1#sh mac address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    aabb.cc00.0400    DYNAMIC     Et0/1
  10    aabb.cc00.0100    DYNAMIC     Et0/0
Total Mac Addresses for this criterion: 2
SW1#

Open in new window

SW2#sh mac address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    aabb.cc00.0400    DYNAMIC     Et0/1
  10    aabb.cc00.0100    DYNAMIC     Et0/0
Total Mac Addresses for this criterion: 2

Open in new window


R2#sh ip interface brief | inc up
Ethernet0/0                192.168.12.2    YES manual up                    up  
R2#

Open in new window


R1#sh interfaces e0/0
Ethernet0/0 is up, line protocol is up
  Hardware is AmdP2, address is aabb.cc00.0100 (bia aabb.cc00.0100)

Open in new window






R2#sh interfaces e0/0
Ethernet0/0 is up, line protocol is up
  Hardware is AmdP2, address is aabb.cc00.0400 (bia aabb.cc00.0400)

Open in new window




But I still cannot ping between R1 and R2


R1#ping 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#

Open in new window

Avatar of James Bunch
James Bunch
Flag of United States of America image

What model is the switches?

Did you set these up from scratch and deploy? If managed and nicer ones, they may have ICMP Echo requests disable and even if up and communicating may reject ping.
ASKER CERTIFIED SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
R2 is in VLAN 1 and R1 is in VLAN 10.  Put them both in the same VLAN and it should work.
Avatar of jskfan

ASKER

Not sure what fixed it...
All I did was  "Clear mac address-table dynamic"

Ping works now :

R1#ping 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/2 ms
R1#
Avatar of jskfan

ASKER

That rings the Bell John
now shows correct :

SW1#sh mac address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
  10    aabb.cc00.0100    DYNAMIC     Et0/0
  10    aabb.cc00.0400    DYNAMIC     Et0/1
Total Mac Addresses for this criterion: 2
SW1#

Open in new window


SW2#sh mac address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
  10    aabb.cc00.0100    DYNAMIC     Et0/0
  10    aabb.cc00.0400    DYNAMIC     Et0/1
Total Mac Addresses for this criterion: 2
SW2#

Open in new window


I wonder id clearing mac address table dynamic resolved that
Your MAC address table was stale.   Entries were created when the routers were in different VLANs.  Flushing the table fixed it.
Avatar of jskfan

ASKER

Now if I add a switch between SW1 and SW2, do I need to create VLAN 10 for R1 and R2 to be able to ping each other ?
Yep (if layer 2 switches).
Avatar of jskfan

ASKER

Thank you Guys..
I will LAB the second case and post a question