Microsoft
Software
Hardware
Network
Question : Access-list
It's been a long time since I wrote an ACL, but, below is what i'm trying to place on a 3750G
access-list 20 permit 10.2.0.0 0.0.255.255
access-list 20 permit 10.3.0.0 0.0.255.255
access-list 20 permit 10.4.0.0 0.0.255.255
access-list 20 permit 10.5.0.0 0.0.255.255
access-list 20 permit 10.6.0.0 0.0.255.255
access-list 20 permit 10.7.0.0 0.0.255.255
access-list 20 deny 172.18.1.0 0.0.255.255
access-list 20 deny 172.18.9.0 0.0.255.255
access-list 20 deny 172.18.30.0 0.0.255.255
access-list 20 deny 172.18.96.0 0.0.255.255
access-list 20 deny 172.18.97.0 0.0.255.255
access-list 20 deny 172.18.98.0 0.0.255.255
access-list 20 permit 172.18.0.0 0.0.127.255
However it will not accept it, it keeps converting it to a /16.
So, will the below acl work?
access-list 20 permit 10.2.0.0 0.0.255.255
access-list 20 permit 10.3.0.0 0.0.255.255
access-list 20 permit 10.4.0.0 0.0.255.255
access-list 20 permit 10.5.0.0 0.0.255.255
access-list 20 permit 10.6.0.0 0.0.255.255
access-list 20 permit 10.7.0.0 0.0.255.255
access-list 20 deny 172.18.0.0 0.0.255.255
access-list 20 permit 172.18.0.0 0.0.127.255
Thanks
Answer : Access-list
use the tabledef
dim td as dao.tabledef, db as dao.database
set db=currentdb
for each td in db.tabledefs
if left(td.name, 8)="tblType1" then
db.execute "drop table ["& td.name &"]"
end if
next
Random Solutions
Web server in DMZ to access SQL server on INSIDE
drive mapping not working?
How to design my DNS structure
JQuery based image (actually an element of code) rotator
"bad request" when trying to access 'options' page in Exchange 2010 OWA
What is the proper DNS settings for ...
Iterating through a PDF file (stepping through) for validation purposes
Custom Search Page and Impersonation
How do I dynamically sum up/display customcontrol (ascx control in the item template) values into an asp:repeater footer?
how do you read a list of links from a sql database SP and print the list on a aspx .NET ASP page C#