RE: ACL to block /29 route? (Solved by using prefix list)

From: William Wong Kun Sing (wong_kunsing@xxxxxxxxxxxxxxxxx)
Date: Tue Aug 20 2002 - 23:37:15 GMT-3


   
Hi guys

Here is the config on the r2 and briliant thanks to Brian McGahan who give
me the ideal.

int ser1
 ip address 168.1.10.1 255.255.255.248

int ser0
 ip address 166.1.10.1 255.255.255.0
 ip rip send ver 2

router rip
 redistribute ospf 1 metric 2
 network 168.1.0.0
 network 166.1.0.0
 distribute-list prefix ospf out Ethernet0
 no auto-summary
!
ip prefix-list ospf seq 5 permit 168.1.0.0/16 le 24

01:09:58: RIP: sending v2 update to 224.0.0.9 via serial 0 (166.1.10.1)
01:09:58: 168.1.12.0/24 -> 0.0.0.0, metric 1, tag 0
01:09:58: 168.1.14.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.0.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.1.0/24 -> 0.0.0.0, metric 1, tag 0
01:09:58: 168.1.2.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.3.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.4.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.5.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.6.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.25.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.30.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.20.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.40.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.35.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.60.0/24 -> 0.0.0.0, metric 2, tag 0
01:09:58: 168.1.100.0/24 -> 0.0.0.0, metric 2, tag 0

Best regards,

William

-----Original Message-----
From: William Wong Kun Sing [mailto:wong_kunsing@solsis-eso.com.my]
Sent: Wednesday, August 21, 2002 8:04 AM
To: '\mit Askan (TK-Network Gvz|mleri)'; William Wong Kun Sing
Cc: Ccie (E-mail)
Subject: RE: ACL to block /29 route?

Hi Askan

You can actually send v2 update in rip v1.

-----Original Message-----
From: \mit Askan (TK-Network Gvz|mleri)
[mailto:umit.askan@probil.com.tr]
Sent: Tuesday, August 20, 2002 8:31 PM
To: 'William Wong Kun Sing'
Cc: Ccie (E-mail)
Subject: RE: ACL to block /29 route?

william,

If I assume it is RIP 1;
you can't redist "different major net" nets to rip with a higher mask
then their major net.
r2 only redist a 168.1.0.0 to r3 because r2's rip link have a major net
166.1.X.X
you have different ways ;
secondary ip, tunnel blah blah ......

if I assume it is RIP2 ;
ip prefix-list test 168.1.10.0/24
route-map test
  match ip address prefix-list test
router rip
  redist ospf 1 metric 1 route-map test

hth
umit

-----Original Message-----
From: William Wong Kun Sing [mailto:wong_kunsing@solsis-eso.com.my]
Sent: Tuesday, August 20, 2002 13:58
To: 'Groupstudy'
Subject: ACL to block /29 route?

Hi guys

I have these 2 ospf routes in r2 being redistributed into rip in r2:

168.1.10.0/29
168.1.10.0/24

 ---------OSPF--------r2------------RIP----------------r3
   168.1.10.0/29 166.1.10.0/24

I just want to advertise the /24 network to r3. How can I achieve that?

Thanks in advance.

Best regards,

William



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:31 GMT-3