Solved

IP addresses Reachability

Posted on 2001-06-19
9
298 Views
Last Modified: 2012-08-13
Consider the following network.


        |--------|     |      |----------|
      A |        | B   |    C |          | D
--------|   R1   |-----|------|    R2    |----------
    IP1 |        |IP2  |   IP3|          | IP4
        |--------|     |      |----------|

Let R1 and R2 be the two routers.
A, B, C and D are the interfaces and
IP1, IP2, IP3 and IP4 are the corresponding IP address.
IP2 and IP3 are on the same subnet (same LAN).

Now assuming that interface A is down.
RIP/OSPF is running on R1 and R2 on all interfaces.

Now the question is :======

Should R1 advertise IP1 to R2 eventhough the interface A is down.

Or in otherwords If we ping IP1 from R2 should it succeed?
0
Comment
Question by:rameshnaik
9 Comments
 
LVL 2

Expert Comment

by:ToniVR
ID: 6206617
Please asure me that this ain't a homework question, because it seems to be one.
And if you look into the specifications of RIP and OSPF, you'll find the answer.
0
 
LVL 17

Expert Comment

by:mikecr
ID: 6207294
You need to figure out which interfaces your going to pass routing updates to. Once you've done that, you've answered your own question.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6208870
no and no
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 1

Expert Comment

by:rkumar115
ID: 6215043
You are running two protocols RIP and OSPF , and each protocol behaves in a different way when a link goes down.

But the actual concept is that the interface which goes down won't be accessible  by other router .I will give you the concept not involving the RIP or OSPF protocol.


R1 should not Advertise the failed interface IP address to any of the attached interfaces.
Routers maintain the routes in a routing table, The routing table contains all the routes which can be reached by the router.  For Example the Cisco router shows the output like this when you give a command show ip route.

 10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Ethernet0
C    192.168.10.0/24 is directly connected, Loopback0
     192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.1.0/24 is directly connected, Async1
C       192.168.1.2/32 is directly connected, Async1
O E2 192.168.20.0/24 [110/20] via 192.168.1.2, 01:28:24, Async1              


If the route becomes unreachable the router removes it from the routing table in our case  it is R1 and stops advertizing it through its interfaces.


Since the route is not advertized other routers will drop the route from there routing tables.

So in our case the router A won't advertize the IP1 address and Router B won't be able to ping because the Router A stopped Advertizing the route and its routing table doesnot contain any route to that particular destination.


Hope this explains your doubt.
0
 

Author Comment

by:rameshnaik
ID: 6217022
I got what you are trying to say.Routing Protocols will not advertise the failed interface to their peers. But in Router R2 if i add a static route for IP1 with IP2 as NextHop what will happen? Will i be able to ping the failed interface then.
If Yes, then my question is if a router receives a packet to one of its interfaces which is down, then should it respond to the sender?
0
 
LVL 1

Expert Comment

by:rkumar115
ID: 6217866
The Router R1 will remove the route from the routing table
when the link fails ,what i mean is , the interface won't be there in the routing table as C (connected).
Now if we add a static route from R2 to R1 and then give a ping to the interface which failed----

You won't be able to ping . I will explain you how it happens..
When you give a ping command on the Router R2 , It will look in the routing table to find how to reach that IP address. Since you have given a static route it will find out the interface through which it can reach the Destination IP ,in our case destination IP address is  IP1 and it determines the interface to be C.

Now the ICMP ping packet reaches the Router R1 through the interface B, But there is no route in the routing table for IP1 in Router R1 . Hence the Router R1 drops the Packet.

Hence the Ping fails.


0
 
LVL 1

Expert Comment

by:rkumar115
ID: 6217867
The Router R1 will remove the route from the routing table
when the link fails ,what i mean is , the interface won't be there in the routing table as C (connected).
Now if we add a static route from R2 to R1 and then give a ping to the interface which failed----

You won't be able to ping . I will explain you how it happens..
When you give a ping command on the Router R2 , It will look in the routing table to find how to reach that IP address. Since you have given a static route it will find out the interface through which it can reach the Destination IP ,in our case destination IP address is  IP1 and it determines the interface to be C.

Now the ICMP ping packet reaches the Router R1 through the interface B, But there is no route in the routing table for IP1 in Router R1 . Hence the Router R1 drops the Packet.



Hence the Ping fails.


0
 
LVL 1

Accepted Solution

by:
rkumar115 earned 200 total points
ID: 6217873
The Router R1 will remove the route from the routing table
when the link fails ,what i mean is , the interface won't be there in the routing table as C (connected).
Now if we add a static route from R2 to R1 and then give a ping to the interface which failed----

You won't be able to ping . I will explain you how it happens..
When you give a ping command on the Router R2 , It will look in the routing table to find how to reach that IP address. Since you have given a static route it will find out the interface through which it can reach the Destination IP ,in our case destination IP address is  IP1 and it determines the interface to be C.

Now the ICMP ping packet reaches the Router R1 through the interface B, But there is no route in the routing table for IP1 in Router R1 . Hence the Router R1 drops the Packet.



Hence the Ping fails.


0
 

Author Comment

by:rameshnaik
ID: 6218253
Thanks rkumar. I got it.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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