Solved

RIP done correctly???

Posted on 2001-06-12
7
334 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
ID: 6182403
>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
ID: 6182439
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
ID: 6182458
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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 

Author Comment

by:peterh1975
ID: 6182509
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
ID: 6182596
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
ID: 6182606
I am gonna do a NAT question also...maybe u can help me too!?
0
 

Expert Comment

by:even_tsui
ID: 6209036
what lrmoore said is perfectly right.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to router 7 82
Multiple MPLS Circuits Connecting to LAN 3 58
Cisco TACACS+ appliance run same IOS as Cisco routers/switches 7 32
Access-List 15 25
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
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.
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…

679 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