access-list usage

From: rakesh m <raaki.88_at_gmail.com>
Date: Sun, 22 Nov 2009 22:33:26 +0530

hello group i have a doubt regarding the usage of access-list

i have 4 loopbacks

49.1.0.1

49.1.1.1

49.1.2.1

49.1.3.1

now the task requires the redistribution of these networks

the solution provided is something like this

creation of access-list goes like this

access-list 101 permit 55.1.0.0 0.0.3.255

but is this prefect ?

like cant we do it like this

access-list 101 permit ip host 49.1.0.1 any
access-list 101 permit ip host 49.1.1.1 any
access-list 101 permit ip host 49.1.2.1 any
access-list 101 permit ip host 49.1.3.1 any

route-map Ospf_Redist permit
match ip addr 101

if asked in lab should i go for the first approach or the next one ?

-- 
Noc engineer
netenrich
I have super powers i just dont wanna show you..
http://diaryofccie.blogspot.com
Blogs and organic groups at http://www.ccie.net
Received on Sun Nov 22 2009 - 22:33:26 ART

This archive was generated by hypermail 2.2.0 : Tue Dec 01 2009 - 06:36:29 ART