Solved

Router setup question CCNA

Posted on 2013-06-07
8
431 Views
Last Modified: 2013-06-08
I'm trying to see how ip route works with static route entry. I set up a simple 3 router setup and tried to ping. I can ping next router, but pinging from Router 3 to Router 1 fails. I put the static ip route to 10.1.1.0 network, still fails. what am I doing wrong? I used fastethernet interfaces to connect routers and used crossover cable.

here are the configs of the 3 routers and the layout image is attached.

Router 1
Router#sh run
Building configuration...

Current configuration : 460 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router

!
interface FastEthernet0/0
 ip address 10.1.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end



===========================
Router 2

Router#sh run
Building configuration...

Current configuration : 470 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
interface FastEthernet0/0
 ip address 10.1.1.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 10.1.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

======================================
Router3

Router#sh run
Building configuration...

Current configuration : 502 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router

!
interface FastEthernet0/0
 ip address 10.1.2.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip route 10.1.1.0 255.255.255.0 10.1.2.1
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end
r1.jpg
0
Comment
Question by:crcsupport
  • 4
  • 4
8 Comments
 
LVL 24

Assisted Solution

by:smckeown777
smckeown777 earned 500 total points
ID: 39230305
On Router1 you don't have a route to Router3...


ip route 10.1.2.0 255.255.255.0 10.1.1.2

Add that to Router1 to fix...
0
 
LVL 1

Author Comment

by:crcsupport
ID: 39230337
I didn't add the route because I was testing to ping from router 3 to router 1.
I added the route, but it doesn't resolve the problem any. I rather think something other than ip routes...
0
 
LVL 1

Author Comment

by:crcsupport
ID: 39230342
just to let you know, I'm testing this using Cisco Packet Tracer.
0
 
LVL 24

Assisted Solution

by:smckeown777
smckeown777 earned 500 total points
ID: 39230374
Not sure what you mean by 'I didn't add the route because I was testing to ping from router 3 to router 1' - in order for traffic to flow between 1 and 3 you need static routes...regardless of what testing you are doing...

So you've both route commands now on R1 and R3 yes?
What does

sh ip route

command produce when run on R1 and R3?
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 1

Author Comment

by:crcsupport
ID: 39230400
You're right. I added again now it solves the problem. I don't know why it didn't work before, maybe I added wrong. If I add the wrong static ip route, does router removes the incorrect route automatically because I don't see the route I added to Router 1 anymore after you told me.
0
 
LVL 24

Assisted Solution

by:smckeown777
smckeown777 earned 500 total points
ID: 39230409
Not that I know of, you can add multiple routes...only way to remove them is to issue the

no ip route 10.1.1.0 255.255.255.0 10.1.2.1

command - i.e. the no being the key command above
0
 
LVL 1

Author Comment

by:crcsupport
ID: 39230443
Thanks the problem resolved.
If a router is supposed to have ip route on table  for all remote network, then now I think it seems somewhat weird. For stub router (like gateway from lan to internet) is ok. I can configure default route (ip route 0.0.0.0 0.0.0.0 s0/0/0). But how about the router in tier 1,2,3 routers outside. Do they actually keep all internet network route ??? I'm confused cause' I just saw for both router to communicate, they both need to have routes configured for each other
0
 
LVL 24

Accepted Solution

by:
smckeown777 earned 500 total points
ID: 39230453
Routers in the real world(i.e. not stub routers) all use dynamic routing protocols...not static like you are using to test...

I.e. they use OSPF/EIGRP/RIP/etc...etc...
They will have routes to routers within their 'network' - no router has routes to every router on the planet...but with dynamic routes they can get to the final destination since the next router in the loop will have slightly different/more routes to other destinations etc...etc...so its all dynamic

For testing with static routing you always need routes on both ends to make it work
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now