Help required on pinging my new switch.

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
Hi,

I bought a new switch for my Cisco lab but I can't get my router to ping
it for some reason, I've been trying for quite a while but to no avail.
It is connected via the e0/0 interface on the router to the FastEternet
0/1 interface on the switch, I've set the switch port speed to 10 Meg &
duplex to auto; the ip of the router interface is 192.168.1.3/24, the ip
address of the switch is 192.168.1.2/24. I've included as much relevant
information as I can but will be happy to post any other information
upon request.

TIA, Jason.


GROUCHO#show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(27), RELEASE SOFTWARE
(fc3)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Tue 02-Nov-04 23:44 by kellmill
Image text-base: 0x8000808C, data-base: 0x80A1F47C

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

GROUCHO uptime is 1 hour, 40 minutes
System returned to ROM by power-on
System image file is "flash:c2600-i-mz.122-27.bin"

cisco 2611 (MPC860) processor (revision 0x203) with 61440K/4096K bytes
of memory.
Processor board ID JAD04420E7O (4253923018)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
2 Ethernet/IEEE 802.3 interface(s)
1 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102


GROUCHO#show interfaces e0/0
Ethernet0/0 is up, line protocol is down
  Hardware is AmdP2, address is 0004.274c.9ca0 (bia 0004.274c.9ca0)
  Description: Internet Connection
  Internet address is 192.168.1.3/24
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 128/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:03, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 input packets with dribble condition detected
     553 packets output, 33440 bytes, 0 underruns
     553 output errors, 0 collisions, 8 interface resets
     0 babbles, 0 late collision, 0 deferred
     553 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out


GROUCHO#show ip interface brief
Interface                  IP-Address      OK? Method Status                
Protocol
Ethernet0/0                192.168.1.3     YES manual up                    
down
Serial0/0                  192.168.2.2     YES NVRAM  up                    
up
Ethernet0/1                unassigned      YES TFTP   administratively
down down


GROUCHO#debug ip packet
IP packet debugging is on
GROUCHO#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
U
01:28:03: IP: tableid=0, s=192.168.2.2 (local), d=192.168.1.2
(Serial0/0), routed via RIB
01:28:03: IP: s=192.168.2.2 (local), d=192.168.1.2 (Serial0/0), len 100,
sending
01:28:03: IP: s=192.168.2.1 (Serial0/0), d=192.168.2.2, len 56, rcvd 1
01:28:03: IP: tableid=0, s=192.168.2.2 (local), d=192.168.1.2
(Serial0/0), routed via RIB
01:28:03: IP: s=192.168.2.2 (local), d=192.168.1.2 (Serial0/0), len 100,
sending.U
01:28:05: IP: tableid=0, s=192.168.2.2 (local), d=192.168.1.2
(Serial0/0), routed via RIB
01:28:05: IP: s=192.168.2.2 (local), d=192.168.1.2 (Serial0/0), len 100,
sending
01:28:05: IP: s=192.168.2.1 (Serial0/0), d=192.168.2.2, len 56, rcvd 1
01:28:05: IP: tableid=0, s=192.168.2.2 (local), d=192.168.1.2
(Serial0/0), routed via RIB
01:28:05: IP: s=192.168.2.2 (local), d=192.168.1.2 (Serial0/0), len 100,
sending.U
Success rate is 0 percent (0/5)
GROUCHO#
01:28:07: IP: tableid=0, s=192.168.2.2 (local), d=192.168.1.2
(Serial0/0), routed via RIB
01:28:07: IP: s=192.168.2.2 (local), d=192.168.1.2 (Serial0/0), len 100,
sending
01:28:07: IP: s=192.168.2.1 (Serial0/0), d=192.168.2.2, len 56, rcvd 1
GROUCHO#

SWITCH1#show version
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, RELEASE
SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 28-Aug-02 10:25 by antonino
Image text-base: 0x80010000, data-base: 0x80528000

ROM: Bootstrap program is CALHOUN boot loader

SWITCH1 uptime is 32 minutes
System returned to ROM by power-on
System image file is "flash:/c2950-i6q4l2-mz.121-11.EA1.bin"

cisco WS-C2950-12 (RC32300) processor (revision G0) with 20402K bytes of
memory.
Processor board ID FOC0638Y10G
Last reset from system-reset
Running Standard Image
12 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0A:F4:CB:DC:C0
Motherboard assembly number: 73-5782-11
Power supply part number: 34-0965-01
Motherboard serial number: FOC06380C9A
Power supply serial number: PHI06350618
Model revision number: G0
Motherboard revision number: A0
Model number: WS-C2950-12
System serial number: FOC0638Y10G
Configuration register is 0xF


SWITCH1#show ip interface brief
Interface                  IP-Address      OK? Method Status                
Protocol
Vlan1                      192.168.1.2     YES NVRAM  up                    
up
FastEthernet0/1            unassigned      YES unset  up                    
up
FastEthernet0/2            unassigned      YES unset  down                  
down
FastEthernet0/3            unassigned      YES unset  up                    
up
FastEthernet0/4            unassigned      YES unset  down                  
down
FastEthernet0/5            unassigned      YES unset  down                  
down
FastEthernet0/6            unassigned      YES unset  down                  
down
FastEthernet0/7            unassigned      YES unset  down                  
down
FastEthernet0/8            unassigned      YES unset  down                  
down
FastEthernet0/9            unassigned      YES unset  down                  
down
FastEthernet0/10           unassigned      YES unset  down                  
down
FastEthernet0/11           unassigned      YES unset  down                  
down
FastEthernet0/12           unassigned      YES unset  down                  
down

Re: Help required on pinging my new switch.
Jason wrote:

Quoted text here. Click to load it

Does this hint something?


Re: Help required on pinging my new switch.
wrote:
Quoted text here. Click to load it

What vlan is f0/1 in on the switch?  Ensure its configured as a access
port in vlan 1, and I would also consider hard coding speed/duplex on
both sites.  On the router, do a show arp and see what is showing up
in the arp table.

Re: Help required on pinging my new switch.
Quoted text here. Click to load it

I would also do a show cam or show mac-address-table on the switch and
ensure you are seeing a layer 2 mac on the f0/1 port, to rule out any
physical issues.  If there is no mac, then the switch is not receiving
any traffic as if it did, it would populate the mac table with the
source mac of the frames that are being received.

Re: Help required on pinging my new switch.



Quoted text here. Click to load it

It was a faulty LAN cable in the end, I've learned quite a lot from
reading your replies so thanks for the advice.

Re: Help required on pinging my new switch.
The interface on your router is up/down.  Do a show interface on the
corresponding switch port and show run interface <interface> on
both.

You are using a straight-through cable, right?


Re: Help required on pinging my new switch.
Quoted text here. Click to load it

Hi,

Re-check your duplex and speed settings. (should be 10Mbps/Full-Duplex)

Regards,
Gabriele



Site Timeline