cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
600
Views
0
Helpful
8
Replies

Access List help

brianwagerer
Level 1
Level 1

Hello,

I have a question about configuring an access list? Can you use computer names instead of ip addresses. We have a pix in front of our SQL servers and workstation PC's that need to access the SQL servers are assigned DHCP addresses.

8 Replies 8

suschoud
Cisco Employee
Cisco Employee

hi,

if you want to use computer name,you need to configure the same in the pix.

example:

name 207.17.34.0 RediPlus2

name 216.35.59.0 RediPlus1

name 192.168.1.12 Themis02

name 1.1.1.1 abc

name 10.12.252.11 TACACS-2.6

use these names in the access-list.

Hope this helps.

Regards,

Sushil

allcastr
Level 1
Level 1

Hello.

Yes you can but you need to give the IP address a name first. Here's an example

pixfirewall(config)# int e1

pixfirewall(config-if)# ip address 192.168.1.1

pixfirewall(config-if)# no shut

pixfirewall(config-if)# duplex full

pixfirewall(config-if)# nameif inside

INFO: Security level for "inside" set to 100 by default.

ICMP: icmp_open Entry for context 0

pixfirewall(config-if)# exit

pixfirewall(config)#

pixfirewall(config)# name 192.168.1.100 SQL-SERVER

pixfirewall(config)# access-list inside-access permit ip host SQL-SERVER any

pixfirewall(config-if)# access-group inside-access in interface inside

pixfirewall(config)#

pixfirewall(config)#

I hope this helps.

That helps a little bit but i have to give DHCP clients access to a sql server behind the pix.

What if the IP on the client changes then i have to login and change it on the pix too.

ok,plz clarify.

on which interface of pix, do we have the sql server.

on which interface of pix, do we have the workstations.

which code are u running on this pix?

also,please post the following:

sh nat..if code is 6.x

sh run nat..if code is 7.x

sh glo..if code is 6.x

sh run glo...if code is 7.x

sh static..if code is 6.x

sh run static..if code is 7.x

---------

If all the clients in the dhcp pool have access, then just allow the whole network.

not all should have access only about 30 clients

Even if you could use computer name, how secure would that be if I knew what computer names were allowed access?

robfos123
Level 1
Level 1

What kind of DHCP server is in play? I've found the best way is to create a seperate scope on the DHCP server and make a rule for the address range or make an authentication rule for traffic destined for sql ports, then supply a username and password to the DB developers

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card