Solved

RIP done correctly???

Posted on 2001-06-12
7
310 Views
Last Modified: 2010-04-17
Cisco Gurus,
I am currently learning routing on my own, i have a 2 routers. RouterA 1.1.1.1 and Routerb 2.2.2.2, i did not know how to do the static route so i type this command in IP ROUTE 0.0.0.0 0.0.0.0 2.2.2.2 on RouterA as well as RouterB 0.0.0.0 0.0.0.0.0 1.1.1.1.

When i did a SHOW IP ROUTE it gave me a read out of S* which shows i am in static connections. So i assume i have this correct? i have no seariel connections to this, i am currently using the ethernet port to these routers with a public static ip address.

When i go in to global mode on RouterA and RouterB typed NETWORK 2.2.2.2 and exit back to priv mode and i typed DEBUG IP RIP.Then it states that rip is turned on and RouterA starts to to send packtes and says something like supressing null but does not show any metric nor hop like the book shows? but RouterB does not show what RouterA does, is it working?? i am learning this from the book and the book shows it has a metric and hop i think ?when it starts to supress. So am i doing this right?? i am new at this so if u can help me in a step by step command to show me???
0
Comment
Question by:peterh1975
  • 4
  • 2
7 Comments
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
>i am currently using the ethernet port to these routers with a public static ip address.

Whenever you connect two routers, the connection between them must be on the same IP network. Since you are using the Ethernet ports, I would use something like:
A:
Interface Ethernet 0
 ip add 1.1.1.1 255.255.255.0

B:
Interface Ethernet 0
 ip add 1.1.1.2 255.255.255.0

Since they are on the same network, there really is no routing happening and no static routes to put in, and no routes to broadcast via RIP.

What you can do is artificially keep your serial interface up with an ip address assigned:

A:
Interface serial 0
 no shutdown
 no keepalive
 ip add 2.2.2.1 255.255.255.0

B:
Interface serial 0
 no shut
 no keep
 ip add 2.2.3.1 255.255.255.0

Now, if you just want to watch RIP happen:

Both A and B:
router rip
 network 1.0.0.0
 network 2.0.0.0

First, on both routers, make sure all interfaces show as up, and none of them are administratively down:
router>sho ip interface brief

Now you should be able to watch the RIP through your debug..

Are you connecting directly to the console port of both routers when trying to watch the debug? If you telnet into it, you will not see the debug messages without first issueing the command "term mon" at the priveleged prompt
router#term mon
0
 

Author Comment

by:peterh1975
Comment Utility
Thanks for the super fast reply! so am i better off using the serial to learn this? sorry  i am so new to routing and stuff. I am confuse about the part where i put network 1.0.0.0??? i thought u have to put the IP of the router itself?
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 100 total points
Comment Utility
Network 1.0.0.0 is the class "A" network.
RIP does not understand subnets, and 1.1.1.0 with a subnet mask of 255.255.255.0 will not be propogated via rip.
That is why I suggested using 2.0.0.0 on the serial interfaces. You might even want to make one of them 2.2.2.1 and the other one 3.3.3.1 and your rip statements would look more like:

A:
int serial 0
 ip add 2.2.2.1 255.255.255.0
!
router rip
network 1.0.0.0
network 2.0.0.0

B:
int serial 0
 ip add 3.3.3.1 255.255.255.0
!
router rip
network 1.0.0.0
network 3.0.0.0

Hope this helps!
0
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

 

Author Comment

by:peterh1975
Comment Utility
ooohh.....thanks lrmoore. i`ll try that soon as i get a dte 2 dce cable. am i diffently keep you posted for sure!
Your the bomb !
0
 

Author Comment

by:peterh1975
Comment Utility
ooohh.....thanks lrmoore. i`ll try that soon as i get a dte 2 dce cable. am i diffently keep you posted for sure!
Your the bomb !
0
 

Author Comment

by:peterh1975
Comment Utility
I am gonna do a NAT question also...maybe u can help me too!?
0
 

Expert Comment

by:even_tsui
Comment Utility
what lrmoore said is perfectly right.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
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…

744 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