From: Jimmy (jimmyx168@yahoo.com)
Date: Thu Aug 28 2003 - 18:31:28 GMT-3
Try these below,
ip prefix-list test deny 10.0.0.0/8 le 32
ip prefix-list test deny 172.16.0.0/12 le 32
ip prefix-list test deny 192.168.0.0/16 le 32
You also need to permit everything else.
HTH
Jimmy Xiao CCIE # 8177 R&S / Security
ccie2be <ccie2be@nyc.rr.com> wrote:
Is this from an IPExpert lab? If so, you can't trust the solution. There
are very often wrong.
----- Original Message -----
From: "Bola Adegbonmire"
To:
Sent: Thursday, August 28, 2003 7:18 AM
Subject: Prefix-lists for RFC 1918 addresses
> Hi all,
> I was wondering if someone can please help me out with a prefix-list for
denying rfc 1918 addresses. I was doing a lab in which I am expected to
filter out BGP updates containing these adress ranges received from
backbone.
>
> I saw a solution like this
>
> ip prefix-list in seq 5 deny 10.0.0.0/8 le 32
> ip prefix-list in seq 5 deny 172.16.0.0/16 le 32
> ip prefix-list in seq 5 deny 192.168.0.0/16 le 32
>
> My dispute is with the 172.16.0.0 addresses (though I am not sure correct
line). The reson is the only class B teaditional addresses are 172.16.0.0 -
172.31.0.0 meaning 172.32.0.0 is not an RFC 1918 addresses. My understanding
is the prefix-list will block addresses 172.16.32.0/16 - 172.254.0.0/16
which are not RFC 1918 addressses.
>
> Thanks!
>
> Bola Adegbonmire
> Networks
> Resourcery Limited
> 18 Adeola Hopewell, Victoria Island.Lagos-Nigeria.
> Tel:234-1-3200301, 4618281, 7740711-2 ( Ext:1644)
>
>
*************************************************Disclaimer*****************
*********************
> "The information contained in this email and any attached files is
strictly private and confidential. This email should be read by the intended
addressee only. If the recipient of this message is not the intended
addressee, please call Resourcery limited Lagos Nigeria, on +234 1 7740711
and promptly delete this email and any attachments. The intended recipient
of this email may only use, reproduce, disclose or distribute the
information contained in this email and any attached files with Resourcery's
permission. If you are not the intended addressee, you are strictly
prohibited from using, reproducing, disclosing or distributing the
information contained in this email and any attached files. Resourcery
advises that this email and any attached files should be scanned to detect
viruses. Resourcery accepts no liability for loss or damage (whether caused
by negligence or not) resulting from the use of any attached files."
>
****************************************************************************
*********************
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:54:09 GMT-3