cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
393
Views
0
Helpful
1
Replies

POLICY NAT ERROR:

sreddy
Level 1
Level 1

Hi...

Can anybody please tell me what this error means and why I’m getting it?

I’m running PIX version 6.3.3

static (inside,outside) 172.16.8.42 access-list test

ERROR: invalid netmask 255.255.0.0 with global address 172.16.8.42

Usage: [no] static [(real_ifc, mapped_ifc)]

{<mapped_ip>|interface}

{<real_ip> [netmask <mask>]} | {access-list <acl_name>}

[dns] [norandomseq] [<max_conns> [<emb_lim>]]

[no] static [(real_ifc, mapped_ifc)] {tcp|udp}

{<mapped_ip>|interface} <mapped_port>

{<real_ip> <real_port> [netmask <mask>]} |

{access-list <acl_name>}

[dns] [norandomseq] [<max_conns> [<emb_lim>]]

I have the following statements related to above static command:

nat (inside) 20 10.10.0.0 255.255.255.0

global (outside) 20 172.16.8.42 netmask 255.255.255.255

access-list test line 1 permit ip host 10.10.0.10 host 192.168.10.10

1 Reply 1

nkhawaja
Cisco Employee
Cisco Employee

you need this

static (inside,outside) 172.16.8.42 10.10.10.10 access-list test