cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13456
Views
23
Helpful
34
Replies

cannot ping LAN IP

xue.wen
Level 1
Level 1

Hi, I have a cisco 3825 router with two GE interfaces. GE0/0 is connected to a switch through ethernet cable. I have configured the GE0/0 interface with IP address. I have also configured static route for the local network. However, now I can only ping the GE0/0's own IP from the router. Here are the running-config:

hostname Router

!

boot-start-marker

boot-end-marker

!

!card type command needed for slot 2

enable secret 5 $1$4gxa$sykc0mcaxpCIrGc86i1ZE.

enable password 7 012156114F5814

!

no aaa new-model

ip cef

!

!

!

!

!

!

!

username routeradmin password 7 113B4910034119

!

!

!

!

interface GigabitEthernet0/0

description Internal

ip address 10.1.52.4 255.255.255.0 secondary

ip address 10.1.52.5 255.255.255.0

ip nat inside

duplex auto

speed auto

media-type rj45

no cdp enable

!

interface GigabitEthernet0/1

no ip address

shutdown

duplex auto

speed auto

media-type rj45

!

no ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 10.1.52.1

ip route 10.1.52.0 255.255.255.0 10.1.52.1

!

no ip http server

no ip http secure-server

!

!

control-plane

!

!

line con 0

password 7 012156114F5814

login

line aux 0

password 7 1425421E185738

login

line vty 0 4

password 7 133747071F5F16

login local

!

scheduler allocate 20000 1000

!

end

The 10.1.52.1 is the current gateway on the 10.1.52.x LAN.

Can anyone please help here?

Thanks a lot!

34 Replies 34

Eveyrone is all over the map on this one.

First to the poster, you cant just add/delete stuff randomly w/o knowing what your deleteing....well you can, but you will expereience the results your seeing.

1)  The only connection OUT of this router is ge0/0?

2)  Can you post topo?

From the router can you post

sh int ge0/0

sh cdp nei det

3) I noticed your ge0/0 is in a /24 network, by design?   Your cdp input should show (if Cisco device is on other end) whats on the other end.

4) You mention vlans, do you have router on a stick or some other item handling routing (again, topo would help us see)?  How does this router get OUT to the internet or should it?

To fix we need to first verify layer 1 (sh int ge0/0) then verify layer to (sh cd nei would help), then 3, sh ip route...to start with, so far we havent even verified layer 1.

Jimmy, thanks and here are the answer for your question:

1)  The only connection OUT of this router is ge0/0?

> yes. and I just started to configure this router, which was not in the network before.

2)  Can you post topo?

> the topo right now is:

router ge0/0 connects to switch 2 (port 46, vlan 1), host connects to switch 2 (port 45, vlan 1), gateway of 10.1.52.0/24 connects to switch 1 (port 1, vlan 3), switch 1 and switch 2 are connected through ethernet cable;

host can ping gateway, but router cannot..

From the router can you post

sh int ge0/0

sh cdp nei det

>

GigabitEthernet0/0 is up, line protocol is up

  Hardware is BCM1125 Internal MAC, address is 0021.d8dd.df80 (bia 0021.d8dd.df80)

  Description: Internal

  Internet address is 10.1.52.4/24

  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  Keepalive set (10 sec)

  Full-duplex, 1000Mb/s, media type is RJ45

  output flow-control is XON, input flow-control is XON

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:00:00, output 00:00:05, 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 142000 bits/sec, 17 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

     346650 packets input, 298452189 bytes, 0 no buffer

     Received 346640 broadcasts, 0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     0 watchdog, 60845 multicast, 0 pause input

     0 input packets with dribble condition detected

     5709 packets output, 580745 bytes, 0 underruns

     8 output errors, 0 collisions, 1 interface resets

     2496 unknown protocol drops

     0 babbles, 0 late collision, 0 deferred

     8 lost carrier, 0 no carrier, 0 pause output

     0 output buffer failures, 0 output buffers swapped out

there is no output for sh cdp nei det, since there is no cisco router on the other end.

3) I noticed your ge0/0 is in a /24 network, by design?   Your cdp input should show (if Cisco device is on other end) whats on the other end.

>no cisco device on the other end. ge0/0 is directly connected to switch. this is not by design.. if there is something wrong with it, how should I configure then?

4) You mention vlans, do you have router on a stick or some other item handling routing (again, topo would help us see)?  How does this router get OUT to the internet or should it?

routing for vlans are done through IP routing enabled on switch. this router does not get out to internet now. it should later though..

Thanks a lot for help. Please forgive me if I made any stubid config here..

Your interface recieve, but not send frames:

5 minute output rate 0 bits/sec, 0 packets/sec

may be try to update IOS?

Pls, show output "show version"?

here it is:

Cisco IOS Software, 3800 Software (C3825-IPBASEK9-M), Version 12.4(21a), RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2008 by Cisco Systems, Inc.

Compiled Mon 29-Sep-08 19:47 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T10, RELEASE SOFTWARE (fc1)

Router uptime is 1 day, 1 hour, 5 minutes

System returned to ROM by power-on

System image file is "flash:c3825-ipbasek9-mz.124-21a.bin"

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

Cisco 3825 (revision 1.2) with 226304K/35840K bytes of memory.

Processor board ID FHK1231F32S

2 Gigabit Ethernet interfaces

1 Subrate T3/E3 port

DRAM configuration is 64 bits wide with parity enabled.

479K bytes of NVRAM.

62720K bytes of ATA System CompactFlash (Read/Write)

Configuration register is 0x2102

Can you try to update IOS to later version?

Xue,

Which vlan is 10.1.52.1 situated on?

Jason,

10.1.52.1 is on vlan 3. Thanks.

What vlan is the ports connecting the two switches on?

The port on switch 1 is on vlan 3 and the port on switch 2 is on vlan 1.

Can the host ping the router, and vice versa?

No, neither of them can ping the other. Only when I directly connect host to ge0/0, they can ping each other.

Thanks.

What type of cable are you using between switch 2 and the router?  Is it a crossover or straight through?

UPDATE:

Also, which switch has Layer 3 enabled on it?

It is straight through cable. and both switch are layer 3 enabled.

Is the switch port that the router is connected to a layer 2 or layer 3 port?  Have you tried connecting the router to a different port on the switch?

The fact that the router, when directly connected to the host, can ping each other means that the switch is operating properly as configured.  The problem may lie on your switch hardware or configuration.

Jason,

Thank you very much for your help. The port on switch that connects ge0/0 is layer 3 port. The problem was that encapsulation has to be enabled on router interface.

Review Cisco Networking for a $25 gift card