[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4758
  • Last Modified:

Configuring three routers with loopback address

I'm preparing for CCNA and working in GNS3 simulator.  I understand how to configure two routers now but having a hard time figuring out how to configure router 2 of this next configuration.  There are three routers in this simple network.  R1 is connected to R2 and R2 is connected to R3.  There isn't a direct connection from R1 to R3.  Following is the IP and Loopback addresses for the routers:

R1:
Loop - 10.10.10.1
IP - 192.168.1.1

R2:
Loop - 172.20.100.1
IP - 192.168.1.2
IP - 192.168.2.2

R3:
Loop - 172.16.100.1
IP - 192.168.2.1

R1 is connected to R2 via g1/0 (gigabitEthernet).
R2 is connected to R3 via R2's g2/0 and R3's g1/0.

I've configure the routers this way:

R1:
int g1/0
ip address 192.168.1.1 255.255.255.0
no shutdown
int loopback 0
ip address 10.10.10.1 255.255.255.0
no shutdown

R2:
int g1/0
ip address 192.168.1.2 255.255.255.0
no shutdown
ing g2/0
ip address 192.168.2.2
no shutdown
int loopback 0
ip address 172.20.100.1 255.255.255.0
no shutdown

R3:
int g1/0
ip address 192.168.2.1 255.255.255.0
no shutdown
int loopback 0
ip address 172.16.100.1 255.255.255.0
no shutdown

I'm trying to create a static routing table.  I can seem to get R1 talking to R3 and vise a versa.
This is how I created the routing trable on each routers:

R1:
ip route 172.20.100.1 255.255.255.255 192.168.1.2

R2:
ip route 10.10.10.1 255.255.255.255 192.168.1.1
ip route 172.16.100.1 255.255.255.255 192.168.2.1

R3:
ip route 172.20.100.1 255.255.255.255 192.168.2.2

What am I missing or what did I do wrong?
Thank you in advance.
0
elly960
Asked:
elly960
  • 9
  • 8
  • 5
  • +1
1 Solution
 
sstone55423Commented:
You want to route the whole network, not just one IP:
R1:
ip route 172.20.100.0 255.255.255.0 192.168.1.2

R2:
ip route 10.10.10.0 255.255.255.0 192.168.1.1
ip route 172.16.100.0 255.255.255.0 192.168.2.1

R3:
ip route 172.20.100.0 255.255.255.0 192.168.2.2
0
 
elly960Author Commented:
It's still not working right.  
From R3 I can't ping R1 and I only get 80 percent success rate to R2:192.168.2.2.
From R2 I only get 80% success rate to R1:192.168.1.1.
From R2 to R3:192.168.2.1, I get 100% success rate.
From R1 to R2:192.168.1.2, I get 100% success rate.
I can't ping R3 from R1.
I'm still missing something.
0
 
Don JohnstonInstructorCommented:
Here you go...
 

R1:
ip route 172.16.100.0 255.255.255.0 192.168.1.2
ip route 172.20.100.0 255.255.255.0 192.168.1.2
 
R2:
ip route 10.10.10.0 255.255.255.0 192.168.1.1
ip route 172.16.100.0 255.255.255.0 192.168.2.1
 
R3:
ip route 10.10.10.0 255.255.255.0 192.168.2.2
ip route 172.20.100.0 255.255.255.0 192.168.2.2

Open in new window

0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MrJemsonCommented:
Forget static routing!
Go with RIP!

All IPs will be contactable by all stations
R1:
 
router rip
 version 2
 network 192.168.1.0
 network 10.10.10.0
 
R2:
 
router rip
 version 2
 network 192.168.1.0
 network 192.168.2.0
 network 172.20.100.0
 
 
R3:
 
router rip
 version 2
 network 192.168.2.0
 network 172.16.100.0

Open in new window

0
 
sstone55423Commented:

R1:
ip route 172.20.100.0 255.255.255.0 192.168.1.2

R2:
ip route 10.10.10.0 255.255.255.0 192.168.1.1
ip route 172.16.100.0 255.255.255.0 192.168.2.1

R3:
ip route 172.20.100.0 255.255.255.0 192.168.2.2
 
Well, I see you don't have static routes from R1 to R3 (ip route 172.16.100.0 255.255.255.0 192.168.1.2) or from R3 to R1 ( ip route 10.10.10.0 255.255.255.0 192.168.2.2) either.  Also, if you were not routing, you would get 0%, not 80%.
You don't want to use RIP, firstly because it does not meet the requirements of your assignment, which is to learn how static routes work, and also because RIP is too noisy with all three routers broadcasting packets with the full route table every 30 seconds.  On a small network setting up RIP instead of setting static routes is just wrong.
0
 
MrJemsonCommented:
The OP said nothing about the assignment specifically requiring static routes. In the real world any network large enough to span 5 subnets and 3 routers is definately a candidate for RIP. In my opinion setting up static routes on such a network is just bad practice as the administrative overhead in making network changer is far too great.
0
 
Don JohnstonInstructorCommented:
MrJemson,

For the original question:

"I'm preparing for CCNA and working in GNS3 simulator..."

"I'm trying to create a static routing table."

This is not a "real world" scenario. The asker wants to learn how to setup a static routes. Which is a CCNA task.

0
 
elly960Author Commented:
I tried every single suggestion above (except for the RIP V2, I'll try that at another time, I first want to get static routing going) but none of them got me communication from R1 to R3 and R3 to R1.  I don't know what else to try.  I think I got every way possible in the R1 and R3's routing table.  
0
 
Don JohnstonInstructorCommented:
Please post the configs from the three routers.
0
 
sstone55423Commented:
Can you show us your three configs please?
0
 
elly960Author Commented:
R1:
int g1/0
ip address 192.168.1.1 255.255.255.0
no shutdown
int loopback 0
ip address 10.10.10.1 255.255.255.0
no shutdown

R2:
int g1/0
ip address 192.168.1.2 255.255.255.0
no shutdown
ing g2/0
ip address 192.168.2.2
no shutdown
int loopback 0
ip address 172.20.100.1 255.255.255.0
no shutdown

R3:
int g1/0
ip address 192.168.2.1 255.255.255.0
no shutdown
int loopback 0
ip address 172.16.100.1 255.255.255.0
no shutdown
0
 
sstone55423Commented:
Where are the static routes and default gateway settings?
0
 
elly960Author Commented:
R1:
ip route 172.16.100.0 255.255.255.0 192.168.1.2
ip route 172.20.100.0 255.255.255.0 192.168.1.2
 
R2:
ip route 10.10.10.0 255.255.255.0 192.168.1.1
ip route 172.16.100.0 255.255.255.0 192.168.2.1
 
R3:
ip route 10.10.10.0 255.255.255.0 192.168.2.2
ip route 172.20.100.0 255.255.255.0 192.168.2.2
0
 
Don JohnstonInstructorCommented:
Please post the configs. The actual configs. You may have something in there that is affecting the routing table.
0
 
elly960Author Commented:
Attaching screen shots of the running-config files.
R1.doc
0
 
sstone55423Commented:
I can't seem to open that file.  Is it just me?
0
 
elly960Author Commented:
I was able to open it after I uploaded it.
0
 
elly960Author Commented:
Here are the config files.
0
 
elly960Author Commented:
Attached are the NAVRAM files.  Please delete ".txt" and open in Wordpad.
c7200-R1-nvram.txt
c7200-R2-nvram.txt
c7200-R3-nvram.txt
0
 
sstone55423Commented:
Okay, I was finally able to open the file.  
What is the output of a "ip route print" ?
On R1 add: ip route 192.168.2.0 255.255.255.0 192.168.1.2
And on R3 add: ip route 192.168.1.0 255.255.255.0 192.168.2.2
0
 
sstone55423Commented:
Did that work for you?
0
 
elly960Author Commented:
That did it.  I need to look at it again and make sure that I understand why I did what I did but it worked.  Thank you so much for help!!
0
 
sstone55423Commented:
Super!  One thing that would have made for less static routing would have been to put default routes in each router also.
Good luck with your CCNA!
0
 
Don JohnstonInstructorCommented:
Something's screwy. It could be a glitch with the GNS3 software. In your case, you don't need the transient networks in the routing table to reach the loopback networks. You should have been able to reach the loopback networks without them.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 9
  • 8
  • 5
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now