[Xorp-users] RIP configuration is unable to learn routes.

naresh raga naresh_raga at yahoo.co.in
Wed Apr 7 03:42:47 PDT 2010


Hello friends,
I am trying to connect 2 computers as shown below:PC1 has one NIC(eth0) and PC2 has 2 NICs(eth2 and eth3).Both systems had xorp installed and rip configured.

            PC1(eth0)---------------------(eth2)PC2(eth3)

eth0 :10.64.25.208/16
eth2:10.64.25.77/16
eth3:172.20.0.90/16

Xorp on PC1 is able to learn the subnet of PC2(eth3)  and it is displaying them on xorpsh command:
>show route table ipv4 unicast rip
172.20.0.0/16  [rip(120)/1]
                      > to 10.64.25.77 via eth0/eth0.
Similarly Xorp on PC2 is able to learn the subnet of 10.64.0.0 and it is displaying:
>show route table ipv4 unicast rip
10.64.0.0/16  [rip(120)/1]
                    >to 10.64.25.208 via eth2/eth2  


But when eth0 is configured to any other subnet (say 11.11.0.0/16) other than 10.64.0.0/16,then PC1 is not displaying any routes .It is unable to learn the subnets of PC2 even when PC2 is sending RIPv2 responses.Similarly PC2 is not learning any route even when PC1(eth0) is sending RIPv2
 response about its connected subnets.

The rip configuration file(of PC1) I have used is pasted below.Similiar configuration I have used on PC2 for two interfaces(configuring RIP on 2 interfaces).What could be the problem in learning routes.Is there anything to add in this configuration(like import policies.)

interfaces{
interface eth0 {
    description: "IT LAB"
     mac:00:1d:72:70:23:db  
    disable: false
    vif eth0 {
      disable: false
      address 10.64.25.208{
        prefix-length: 16
        broadcast: 10.64.255.255
        disable: false
      }
      
      
    }
  }

}
fea {
  unicast-forwarding4 {
    disable: false
  }
  
}

policy {
    policy-statement connected {
        term export {
            from {
                protocol: "connected"
            }
            
        }
    }
}
protocols {
  rip {
    /* Redistribute connected and static routes */
    export: "connected"
    /* Run on specified network interface addresses */
    interface eth0 {
      vif eth0 {
         address 10.64.25.208 {
               metric:1
               horizon:"split-horizon-poison-reverse"
         }
      }
    }
  }

}

Any help in this regard is grateful.

Thanks,
Naresh.





      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20100407/dd45ec76/attachment.html 


More information about the Xorp-users mailing list