06-21-2019 07:05 PM
I've been fighing this all day and im going in circles. I have a block of static ip addresses "xxx.yyy.56.104/29. i dont know if it matters but im using a single subinterface for everything other than asdm. if it is important that can change. the ultimate goal that im trying to accomplish is i would like to map .105-109 to indvidual private subnets ie. 10.10.105-109.0/24. at this point i would be happy to get boring old nat/pat working. then start working from there. im i doing something wrong?
Result of the command: "show running-config"
: Saved
:
: Serial Number: -----redacted----
: Hardware: ASA5520, 2048 MB RAM, CPU Pentium 4 Celeron 2000 MHz
:
ASA Version 9.1(7)32
!
hostname COREASA
enable password -----redacted---- encrypted
names
!
interface GigabitEthernet0/0
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/1
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
management-only
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet1/0
media-type sfp
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/0.66
vlan 66
nameif OUTSIDE
security-level 0
ip address xxx.yyy.56.105 255.255.255.248
!
interface GigabitEthernet1/0.100
vlan 100
nameif INSIDE
security-level 100
ip address 10.10.100.254 255.255.255.0
!
interface GigabitEthernet1/1
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/3
shutdown
no nameif
no security-level
no ip address
!
ftp mode passive
pager lines 24
logging enable
logging asdm informational
mtu management 1500
mtu INSIDE 1500
mtu OUTSIDE 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
!
nat (INSIDE,OUTSIDE) after-auto source dynamic any interface
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
aaa authentication http console LOCAL
aaa authentication ssh console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet timeout 5
ssh stricthostkeycheck
ssh 192.168.1.0 255.255.255.0 management
ssh timeout 60
ssh key-exchange group dh-group1-sha1
console timeout 0
dhcpd address 10.10.100.150-10.10.100.200 INSIDE
dhcpd dns 1.1.1.1 8.8.8.8 interface INSIDE
dhcpd lease 10080 interface INSIDE
dhcpd enable INSIDE
!
threat-detection basic-threat
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
username admin password -----redacted---- encrypted
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
class class-default
user-statistics accounting
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
hpm topN enable
Cryptochecksum:-----redacted----
: end
06-22-2019 12:20 PM
Hello,
a basic NAT with pool configuration would look like below. You need one pool for each address, create a network object for each subnet, and the NAT this subnet to the appropriate pool:
ASA5520(config)# object network NAT_POOL_105
ASA5520(config-network-object)# range xxx.yyy.56.105 xxx.yyy.56.105
!
ASA5520(config)# object network INSIDE_NET_105
ASA5520(config-network-object)# subnet 10.10.105.0 255.255.255.0
ASA5520(config-network-object)# nat (inside,outside) dynamic NAT_POOL_105
!
ASA5520(config)# object network NAT_POOL_106
ASA5520(config-network-object)# range xxx.yyy.56.106 xxx.yyy.56.106
!
ASA5520(config)# object network INSIDE_NET_106
ASA5520(config-network-object)# subnet 10.10.106.0 255.255.255.0
ASA5520(config-network-object)# nat (inside,outside) dynamic NAT_POOL_106
!
ASA5520(config)# object network NAT_POOL_107
ASA5520(config-network-object)# range xxx.yyy.56.107 xxx.yyy.56.107
!
ASA5520(config)# object network INSIDE_NET_107
ASA5520(config-network-object)# subnet 10.10.107.0 255.255.255.0
ASA5520(config-network-object)# nat (inside,outside) dynamic NAT_POOL_107
!
ASA5520(config)# object network NAT_POOL_108
ASA5520(config-network-object)# range xxx.yyy.56.108 xxx.yyy.56.108
!
ASA5520(config)# object network INSIDE_NET_108
ASA5520(config-network-object)# subnet 10.10.108.0 255.255.255.0
ASA5520(config-network-object)# nat (inside,outside) dynamic NAT_POOL_108
!
ASA5520(config)# object network NAT_POOL_109
ASA5520(config-network-object)# range xxx.yyy.56.109 xxx.yyy.56.109
!
ASA5520(config)# object network INSIDE_NET_109
ASA5520(config-network-object)# subnet 10.10.109.0 255.255.255.0
ASA5520(config-network-object)# nat (inside,outside) dynamic NAT_POOL_109
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide