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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Cisco User - Cisco 4700 Help, Can't Route anything!

Status
Not open for further replies.

newcisco711

IS-IT--Management
Jul 21, 2004
8
US
I am studying for my CCNA and I am very new to Cisco. I bought a Cisco 4700 with 6 Ethernet ports and 4 serial on Ebay. I am pretty good with navigating around the console and setting up the ports. I have 3 devices hooked up on 3 networks. I can ping all 3 devices from the router, but the router will not forward and packets from my PCs. For example: I have a PC on class A network 10.0.0.0 with an IP of 10.1.1.2, this is to Ethernet port 3 which is 10.1.1.1. I can ping from the router, but no other device and ping the PC (10.1.1.2). I set up a default route, static routes, and nothing works! The remote PC can ping the router ports (including 10.1.1.1), but never 10.1.1.2. I have tried default command "ip route 0.0.0.0 0.0.0.0 10.1.1.2" and static entry "ip route 10.0.0.0 255.0.0.0 10.1.1.2" and nothing. What am I doing wrong? I have Cisco IOS 11.0 (18). Thanks for the help guys!
 
If all three devices are directly connected to the router on threee different networks then you don't need routes on the router. It should know what networks it has connected to it.

It sounds more likely that your PCs don't have a default route. Check with a "route print".

Chris.


**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
By using a class A network, the router can have problems differentiating between 10.0.0.0 and 10.1.0.0. A show run would help us see.
When you use static routes you need to define the path to the remote network and also the route back. "ip route 10.0.0.0 255.0.0.0 10.1.1.2" sends all traffic from 10.0.0.0 to 10.1.1.2. The path to the remote network and the path back is the same.
Try configuring your networks with class c networks then try using a routing protocol. After you can ping around, then you can remove the routing protocol and see if you can get the static routes to work.

 
If all three networks are connected to the same router then he won't need any routing protocols or static routes. Those networks will be part of the router, ie. directly connected and so will have a default metric of 0. I agree that the issue is most likely that he is using a /8 mask so all networks are essentially the same.

Show us your config!

Chris.

**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
Here is my config. It is pretty simple and straight forward. I have a PC set as 192.168.2.2 and a
PC 192.168.1.160. My Internet is on the class C network of 64.253.98.0 (I can ping the default gateway
of the Internet, but the router will not go out further...such as if I ping from the
router). I have no routing protocols set up at all. The router can ping all the PCs, but the PCs
(using the router as the default Gateway) cannot ping each other (although they can ping all 3
interfaces on the router).



Gateway of last resort is not set

64.0.0.0 255.255.255.0 is subnetted, 1 subnets
C 64.253.98.0 is directly connected, Ethernet0
C 192.168.1.0 is directly connected, Ethernet2
C 192.168.2.0 is directly connected, Ethernet3


Show Run

interface Ethernet0
description Live Internet Connection
ip address 64.253.98.14 255.255.255.0
media-type 10BaseT
!
interface Ethernet1
no ip address
shutdown
media-type 10BaseT
!
interface Ethernet2
description Internal Network
ip address 192.168.1.190 255.255.255.0
media-type 10BaseT
!
interface Ethernet3
description Secondary NIC in Dell
ip address 192.168.2.1 255.255.255.0
media-type 10BaseT









Copyright (c) 1986-1997 by cisco Systems, Inc.
Processor board ID 072925
Image text-base: 0x600087E0, data-base: 0x60646000

ROM: System Bootstrap, Version 5.3(16) [richardd 16], RELEASE SOFTWARE (fc1)

LynchTech uptime is 0 minutes
System restarted by processor memory parity error at PC 0x601407FC, address 0x0
System image file is "flash:4500-11.0.18", booted via flash

cisco 4700 (R4K) processor (revision F) with 32768K/16384K bytes of memory.
Processor board ID 07292539
R4700 processor, Implementation 33, Revision 1.0 (Level 2 Cache)
G.703/E1 software, Version 1.0.
Bridging software.
SuperLAT software copyright 1990 by Meridian Technology Corp).
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
TN3270 Emulation software (copyright 1994 by TGV Inc).
6 Ethernet/IEEE 802.3 interfaces.
4 Serial network interfaces.
128K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102
 
Your router cannot get out to the internet because it has no default gateway set. In only knows about 64.253.98.0 /24, 192.168.1.0 /24 and 192.168.2.0 /24, nothing else. So, you need to add ..

ip route 0.0.0.0 0.0.0.0 64.253.98.?

(? - whatever your gateway address is!)

As for your PC's, as long as they just have one default gateway of the routers address (of the port they are connected to) then they should be able to ping each other. I suspect that you maybe have multiple NICs and multiple default gateways.

Chris.


**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
That did not work.... I set the default gateway by doing a ip route 0.0.0.0 0.0.0.0 64.253.98.1. The router cannot ping any Internet IP address, other PCs can only ping the router's interface of 64.253.98.14 and not the default gateway of 64.253.98.1. This thing is driving me nuts....
 
So what's on 64.253.98.1? What happens if you do a traceroute from the router? From the router can you ping 64.254.98.1?

Chris.


**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
Yes, I can ping 64.253.98.1 fine...that is the default gateway for my ISP. That is what I have on my DSL router and it works fine.

If I do a Trace, all I get is * * * and it does this continuosly
 
Hey you have a class a ip with a class c subnet.64.253.98.0 /24 should have 8 bit subnet.
 
Ignore that last post from TMJ9779. I'm sure that you don't have the full 64 /8 network assigned to you ;-)

This sounds like a problem with the DSL router. What happens if you just stick a laptop on the DSL router and try ping, traceroute etc..

Chris.

**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
My Internet works fine, whether I plug my Linksys router up to it or a laptop. I think there is something critically wrong with this router. It also has hardware problems and keeps rebooting itself with a parity error. I am sending it back to the seller and he is going to ship me an identical one. So I will try it again when I receive this new one. Thanks for all your help and I will be back if I still have the same trouble...
 
Make sure you type "ip routing" on the router config also. You won't see it but the config will start with the command "no ip routing" turned on, and that will keep any routing from happening until you remove the command.
 
Ok, so I got in another router today (Cisco 4700), but I am still having the same problem...I can't get it to route!! If I try to ping from another PC (say the one 10.1.1.2) to the default gateway on the net (64.253.98.1) or another PC (192.168.1.150), I can't connect. Interesting though, I CAN ping a switch (192.168.1.1) from 10.1.1.2, but nothing else on that subnet. I can always ping ANY of the routers interfaces from any device. I did try the IP ROUTING command from an earlier reply. Below I have my full configuration:

Gateway of last resort is 64.253.98.1 to network 0.0.0.0

64.0.0.0/24 is subnetted, 1 subnets
C 64.253.98.0 is directly connected, Ethernet0
C 10.0.0.0/8 is directly connected, Ethernet2
C 192.168.1.0/24 is directly connected, Ethernet1
S* 0.0.0.0/0 [1/0] via 64.253.98.1
LynchTech#ping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 64.233.167.99, timeout is 2 seconds:
!!!!!


IOS (tm) 4500 Software (C4500-IS-M), Version 12.0(7), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 14-Oct-99 04:14 by phanguye
Image text-base: 0x60008930, data-base: 0x608DA000

ROM: System Bootstrap, Version 5.3(16) [richardd 16], RELEASE SOFTWARE (fc1)
BOOTFLASH: 4500 Software (C4500-BOOT-M), Version 11.1(7), RELEASE SOFTWARE (fc2)


LynchTech uptime is 24 minutes
System restarted by reload
System image file is "flash:c4500-is-mz.120-7.bin"

cisco 4700 (R4K) processor (revision F) with 32768K/16384K bytes of memory.
Processor board ID 07297509
R4700 processor, Implementation 33, Revision 1.0 (512KB Level 2 Cache)
G.703/E1 software, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
6 Ethernet/IEEE 802.3 interface(s)
4 Serial network interface(s)
128K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)

Configuration register is 0x2102


Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname LynchTech
!
enable secret 5 $1$6r677OX9.HU6tjkDMpxhfgN1yA1
!
ip subnet-zero
ip host 64.233.167.99
ip host dell2 10.1.1.2
ip host dell 192.168.1.160
ip host intel 192.168.1.150
ip host server1 192.168.1.170
!
!
!
interface Ethernet0
ip address 64.253.98.14 255.255.255.0
no ip directed-broadcast
media-type 10BaseT
!
interface Ethernet1
ip address 192.168.1.190 255.255.255.0
no ip directed-broadcast
media-type 10BaseT
!
interface Ethernet2
ip address 10.1.1.1 255.0.0.0
no ip directed-broadcast
media-type 10BaseT
!
interface Ethernet3
no ip address
no ip directed-broadcast
shutdown
media-type 10BaseT
!
interface Ethernet4
no ip address
no ip directed-broadcast
shutdown
media-type 10BaseT
!
interface Ethernet5
no ip address
no ip directed-broadcast
shutdown
media-type 10BaseT
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial2
no ip address
no ip directed-broadcast
shutdown
shutdown
!
interface Serial3
no ip address
no ip directed-broadcast
shutdown
!
ip nat translation timeout never
ip nat translation tcp-timeout never
ip nat translation udp-timeout never
ip nat translation finrst-timeout never
ip nat translation syn-timeout never
ip nat translation dns-timeout never
ip nat translation icmp-timeout never
ip classless
ip route 0.0.0.0 0.0.0.0 64.253.98.1
ip route 10.0.0.0 255.0.0.0 10.1.1.2
ip route 192.168.1.0 255.255.255.0 192.168.1.1
!
banner motd ^C
<<<--- --->>>

!
line con 0
password asdfsd
login
transport input none
line aux 0
password asdfsd
login
line vty 0 4
password besdfdsf
login
!
end


Ethernet0 is up, line protocol is up
Hardware is Am79c970, address is 0010.7b00.9229 (bia 0010.7b00.9229)
Internet address is 64.253.98.14/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec), Half-duplex
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:03:02, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
67 packets input, 5640 bytes, 0 no buffer
Received 25 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
347 packets output, 32705 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out

Ethernet1 is up, line protocol is up
Hardware is Am79c970, address is 0010.7b00.922c (bia 0010.7b00.922c)
Internet address is 192.168.1.190/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec), Half-duplex
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:02, output 00:00:04, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 15000 bits/sec, 9 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
5505 packets input, 828342 bytes, 0 no buffer
Received 5082 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
600 packets output, 51106 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets
0 babbles, 0 late collision, 1 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out

Ethernet2 is up, line protocol is up
Hardware is Am79c970, address is 0010.7b00.922f (bia 0010.7b00.922f)
Internet address is 10.1.1.1/8
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec), Half-duplex
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:28, output 00:00:04, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
543 packets input, 44215 bytes, 0 no buffer
Received 38 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
616 packets output, 52150 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top