Re: RIP filtering using Prefix list

From: Farhan Anwar (farhan.anwar@gmail.com)
Date: Fri Jan 11 2008 - 18:30:49 ARST


use:
Ip prefix-list RIP permit 0.0.0.0/0 le 32 for permitting traffic other than
14.x.x.x network.

On Jan 10, 2008 4:04 PM, vignesh sethuraman <sethuvignesh@yahoo.co.in>
wrote:

> Hello Experts,
>
> I have 2 Routers R4 and R5 connected via framerelay. I created 2
> loopbacks in every router. I configured rip and i want the network
> 14.1.1.0 in R5 to be filtered out while sending out to R4. The issue is
> the another network13.1.1.0/24 is also getting filtered out. I used
> prefix list for filtering and i configured permit 0.0.0.0/32 along with
> the deny 14.1.1.0/24. Here is my config
>
> R4:
> interface Loopback0
> ip address 10.1.1.1 255.255.255.0
> interface Loopback1
> ip address 11.1.1.1 255.255.255.0
> interface Serial1/0
> ip address 12.1.1.1 255.255.255.0
> encapsulation frame-relay
> frame-relay map ip 12.1.1.2 405 broadcast
> router rip
> version 2
> network 10.0.0.0
> network 11.0.0.0
> network 12.0.0.0
> no auto-summary
>
> R5:
>
> interface Loopback0
> ip address 13.1.1.1 255.255.255.0
> interface Loopback1
> ip address 14.1.1.1 255.255.255.0
> interface Serial1/1
> ip address 12.1.1.2 255.255.255.0
> encapsulation frame-relay
> frame-relay map ip 12.1.1.1 504 broadcast
> router rip
> version 2
> network 12.0.0.0
> network 13.0.0.0
> network 14.0.0.0
> distribute-list prefix rip out
> no auto-summary
> ip prefix-list rip seq 5 deny 14.1.1.0/24
> ip prefix-list rip seq 10 permit 0.0.0.0/32
>
> Here is my routing table o/p
>
> R4:
> Rack1R4#sh ip route
> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> E1 - OSPF external type 1, E2 - OSPF external type 2
> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
> level-2
> ia - IS-IS inter area, * - candidate default, U - per-user static
> route
> o - ODR, P - periodic downloaded static route
> Gateway of last resort is not set
> 10.0.0.0/24 is subnetted, 1 subnets
> C 10.1.1.0 is directly connected, Loopback0
> 11.0.0.0/24 is subnetted, 1 subnets
> C 11.1.1.0 is directly connected, Loopback1
> 12.0.0.0/24 is subnetted, 1 subnets
> C 12.1.1.0 is directly connected, Serial1/0
>
> R5:
> Rack1R5(config)#do sh ip route
> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> E1 - OSPF external type 1, E2 - OSPF external type 2
> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
> level-2
> ia - IS-IS inter area, * - candidate default, U - per-user static
> route
> o - ODR, P - periodic downloaded static route
> Gateway of last resort is not set
> 10.0.0.0/24 is subnetted, 1 subnets
> R 10.1.1.0 [120/1] via 12.1.1.1, 00:00:09, Serial1/1
> 11.0.0.0/24 is subnetted, 1 subnets
> R 11.1.1.0 [120/1] via 12.1.1.1, 00:00:09, Serial1/1
> 12.0.0.0/24 is subnetted, 1 subnets
> C 12.1.1.0 is directly connected, Serial1/1
> 13.0.0.0/24 is subnetted, 1 subnets
> C 13.1.1.0 is directly connected, Loopback0
> 14.0.0.0/24 is subnetted, 1 subnets
> C 14.1.1.0 is directly connected, Loopback1
>
> Could you please kindly help me
>
> Thanks,
> Vignesh
>
>
>
>
>
>
> ---------------------------------
> Save all your chat conversations. Find them online.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

-- 
Farhan Anwar
www.farhananwar.com


This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:59 ARST