Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't ping or access Ethernet interface

Status
Not open for further replies.

jumper4000

IS-IT--Management
Joined
Apr 20, 2005
Messages
15
Location
US
Hi, I'm working on a 3640 and am trying to configure one of the interfaces with an IP address so I can upload my config file using tftp. After I configured the interface, i connected it to a little 4 port switch and connected my computer to the switch as well. However, when I try to ping the interface, it times out and I can't do any thing. Can anyone tell me what's wrong with this configuration so far? thanks

!
version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 (took out)
enable password (took out)
!
no aaa new-model
ip subnet-zero
ip finger
!
!
ip name-server 204.117.214.10
!
ip dhcp pool 1
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 204.117.241.10
!
no ip cef
ip audit po max-events 100
no ftp-server write-enable
!
!
interface Ethernet0/0
ip address 10.10.10.1 255.255.255.0
no ip route-cache
half-duplex
no mop enabled
!
interface Serial0/0
no ip address
no ip route-cache
shutdown
!
interface Ethernet0/1
no ip address
no ip route-cache
shutdown
half-duplex
!
interface Serial0/1
no ip address
no ip route-cache
shutdown
!
interface FastEthernet2/0
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
ip http server
no ip http secure-server
ip classless
!
snmp-server community private RW
snmp-server community public RO
!
dial-peer cor custom
!
!
line con 0
line aux 0
line vty 0 4
password (took out)
login
!
!
end
 
make sure that

1) You're using the straight UTP cable to connect the router and the switch
2) You're connecting the switch to the right port on the router (interface Ethernet0/0)
3) do a "show interface e0/0" and check the interface status and make sure it's "up up".
 
Thanks for your suggestions, but everything checks out fine.

-Right now I'm using Cat5e straight cables (i have tried many ohters)
-I am definitely connect Eth0/0 (have tried the other interfaces as well)
-both Ethernet0/0 and line protocol are up

All the link lights are on too (router, switch, computer). and I still can't ping it.

I'd would appreciate anymore suggestions.
 
check if you have personal firewalls on your PC
 
or even VPN clients that also run some security policies

turn all of them off before you try again
 
No personal firewall. even windows firewall is turned off (i did try both my desktop and laptop). I still can't ping it or tftp or anything. Is it possible that since there's no access-list present this router by default blocks every bit of traffic?
 
if you dont have an ip access-group in the interface then no access-list is applied and by default it passes all traffic if no access-list is applied.

If you have a cross-over UTP you can try to directly connect your PC to the router and ping.

Or try to use a FastEthernet port instead, or other ports as you have 2E 2FE ports.

 
Hello there, Please paste in the output of sh int e0/0 as per

3) do a "show interface e0/0" and check the interface status and make sure it's "up up".

lambent's request. Before trying to ping we must make sure that we have layer 1 and 2 connectivity. Cheers
 
I'm gonna go buy a crossover cable tomorrow and try that too. Also, I have tried the other interfaces as well with the same result (i don't know what's wrong with this thing). Here's the result of show int e0/0:

Router#show int e0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 00d0.5873.fdc1 (bia 00d0.5873.fdc1)
Internet address is 10.10.10.1/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/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 02:40:48, output never, 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
2753 packets output, 286311 bytes, 0 underruns
0 output errors, 0 collisions, 43 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
 
or replace the router with another PC and configure the PC to have the IP address of the router and then do a PC-to-PC ping test.
 
I was able to ping the other pc with no problem. That was a good idea though. At least now I know, the problem is isolated to the router and its configuration.
 
I found that there's no input traffic on the int e0/0 but some output traffic. Did you use the same cable to connect the 2nd PC to the switch?
 
yes, the same exact cable. I took it right out of the router and plugged it into the pc, and I was able to ping.
 
Then the only thing we can do is now waiting for the crossover UTP cable. Let us know the result afterwards.
 
Try using command "shut" on the interface. Then give no shut ... check if the interface comming up.
 
One question.....
When you hookup the PC to the router and are unable to ping it.....what IP is being assigned to the PC???

I do not see the following in your config:

ip dhcp excluded-address 10.10.10.1

Could be DHCP is assigning same address to PC that is on the interface creating an IP conflict.

Just a thought....
 
I removed the config completely, and started fresh with a crossover cable. the routers IP on e0/0 is 10.10.10.1 and the computer's IP is 10.10.10.10. I still can't ping them.
 
? Gateway setting on PC...
? Is interface up and protocol up...
 
from the router.... if you do a show arp
do you see the pc?
 
yes interface is up and so is the protocol. gateway on the pc is set to 10.10.10.1. When I do a show arp all i dont see the pc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top