Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASA 5510 VLAN Routing

Status
Not open for further replies.

Mordine

IS-IT--Management
Sep 23, 2008
27
US
This is probably simple but I am new to routing in general and an infant when it comes to Cisco.
The ASA 5510 is our firewall. We are using the inside port for our private network and the outside to connect to the world at large. Pretty vanilla. We decide to muck everything up by virtualizing. Now I need 2 more subnets. I created 2 VLANs using HP 1800 switches. I created sub-interfaces on the ASA to accept them. There was a global NAT created to translate the lan to the wan. When I tried to add another rule for the subnets, I broke the first. I figured out how to add the other 2 NAT rules under the same Pool ID then presto - I can see the VLANs from the main subnet. Problem is VLANs cant see each other or the main subnet. I could use a bit of help.
 
It might be your security levels. Can you post a scrubbed config?

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Kind of new to the config part, so is this the aplicable section? If you hadn't figured out already, I have been configuring in the ASDM gui.
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group network NAME
description Subnets of NAME
network-object ##.##.1.0 255.255.255.0
network-object ##.##.2.0 255.255.255.0
network-object ##.##.3.0 255.255.255.0
access-list acl_outside extended permit tcp any host ###.###.###.34 eq www
access-list acl_outside extended permit tcp any host ###.###.###.34 eq https
access-list acl_outside extended permit tcp any host ###.###.###.36 eq www
access-list acl_outside extended permit tcp any host ###.###.###.36 eq https
access-list acl_outside extended permit tcp any host ###.###.###.35 eq pptp
access-list acl_outside extended permit gre any host ###.###.###.35
access-list dmz_access_in extended permit ip any any
access-list NCIGF-VPN_splitTunnelAcl standard permit any
access-list inside_nat0_outbound extended permit ip any 172.168.1.0 255.255.255.0
access-list inside_nat_outbound extended permit ip ##.##.1.0 255.255.255.0 ##.##.2.0 255.255.255.0
access-list storage_access_in_1 extended permit ip any any
access-list servers_access_in_1 extended permit ip any any
pager lines 24
logging enable
logging buffered debugging
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu DMZ 1500
mtu management 1500
mtu storage 1500
mtu servers 1500
ip local pool NAME-VPN-POOL 172.168.1.100-172.168.1.200 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 101 interface
global (inside) 104 interface
global (storage) 102 interface
global (servers) 103 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 102 access-list inside_nat_outbound
nat (inside) 101 0.0.0.0 0.0.0.0
nat (DMZ) 101 0.0.0.0 0.0.0.0
static (inside,outside) ###.###.###.34 ##.##.1.11 netmask 255.255.255.255
static (inside,outside) ###.###.###.36 ##.##.1.20 netmask 255.255.255.255
static (inside,outside) ###.###.###.35 ##.##.1.7 netmask 255.255.255.255
access-group acl_outside in interface outside
access-group dmz_access_in in interface DMZ
access-group storage_access_in_1 in interface storage
access-group servers_access_in_1 in interface servers
route outside 0.0.0.0 0.0.0.0 ###.###.###.33 1
 
In all honestly your best bet is to get a layer 3 switch internally. Although you can get what you desire working, its much better to use a layer 3 switch.

Additionally you need to post your entire configuration.
 
Post your whole config. Just mask the passwords and the middle two octects of any public IPs.
I don't spend money if I don't need and the ASA can do what you want but the router/layer3 switch is a better idea.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Here is the way it is setup now. My current work around was to pull 2 of the nics from each server back to the 1.1 subnet. We will be getting a L3 switch, but we over spent to get to where we are. I have to wait until next year to add more.

ASA Version 8.0(3)
!
hostname ASA-NCIGF
domain-name ncigf.org
enable password ############# encrypted
names
!
interface Ethernet0/0
nameif outside
security-level 0
ip address 209.##.##.37 255.255.255.248
ospf cost 10
!
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
ospf cost 10
!
interface Ethernet0/1.2
vlan 20
nameif storage
security-level 100
ip address 192.168.2.1 255.255.255.0
!
interface Ethernet0/1.3
vlan 30
nameif servers
security-level 100
ip address 192.168.3.1 255.255.255.0
!
interface Ethernet0/2
nameif DMZ
security-level 50
ip address 10.0.1.1 255.255.255.0
ospf cost 10
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
nameif management
security-level 100
ip address 10.0.0.1 255.255.255.0
ospf cost 10
management-only
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns server-group DefaultDNS
domain-name ncigf.org
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group network NCIGF_INNER
network-object 192.168.1.0 255.255.255.0
network-object 192.168.2.0 255.255.255.0
network-object 192.168.3.0 255.255.255.0
access-list acl_outside extended permit tcp any host 209.##.##.34 eq www
access-list acl_outside extended permit tcp any host 209.##.##.34 eq https
access-list acl_outside extended permit tcp any host 209.##.##.36 eq www
access-list acl_outside extended permit tcp any host 209.##.##.36 eq https
access-list acl_outside extended permit tcp any host 209.##.##.35 eq pptp
access-list acl_outside extended permit gre any host 209.##.##.35
access-list acl_outside extended permit tcp 208.##.##.0 255.255.248.0 host 209.##.##.36 eq smtp
access-list acl_outside extended permit tcp host 74.##.##.145 host 209.##.##.36 eq smtp
access-list dmz_access_in extended permit ip any any
access-list NCIGF-VPN_splitTunnelAcl standard permit any
access-list inside_nat0_outbound extended permit ip any 172.168.1.0 255.255.255.0
access-list storage_access_in_1 extended permit ip any any
access-list servers_access_in_1 extended permit ip any any
pager lines 24
logging enable
logging buffered debugging
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu DMZ 1500
mtu management 1500
mtu storage 1500
mtu servers 1500
ip local pool NCIGF-VPN-POOL 172.168.1.100-172.168.1.200 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 101 interface
global (storage) 101 interface
global (servers) 101 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 101 0.0.0.0 0.0.0.0
nat (DMZ) 101 0.0.0.0 0.0.0.0
static (inside,outside) 209.##.##.34 192.168.1.11 netmask 255.255.255.255
static (inside,outside) 209.##.##.36 192.168.1.20 netmask 255.255.255.255
static (inside,outside) 209.##.##.35 192.168.1.7 netmask 255.255.255.255
access-group acl_outside in interface outside
access-group dmz_access_in in interface DMZ
access-group storage_access_in_1 in interface storage
access-group servers_access_in_1 in interface servers
route outside 0.0.0.0 0.0.0.0 209.##.##.33 1
timeout xlate 3:00:00
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 uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
aaa-server NCIGF-RADIUS protocol radius
aaa-server NCIGF-RADIUS host 192.168.1.7
timeout 5
key ########
aaa-server NCIGF-NT protocol nt
aaa-server NCIGF-NT host 192.168.1.15
nt-auth-domain-controller PDC
aaa authentication ssh console LOCAL
http server enable
http 10.0.0.0 255.255.255.0 management
http 192.168.1.0 255.255.255.0 inside
http 10.0.1.0 255.255.255.0 DMZ
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 192.168.1.0 255.255.255.0 inside
ssh 10.0.0.0 255.255.255.0 management
ssh timeout 5
console timeout 0
dhcpd address 10.0.0.2-10.0.0.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
ntp server 192.168.1.15 source inside
group-policy NCIGF-VPN internal
group-policy NCIGF-VPN attributes
wins-server value 192.168.1.15 192.168.1.16
dns-server value 192.168.1.15 192.168.1.16
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value NCIGF-VPN_splitTunnelAcl
default-domain value ncigf.org
username ####### password ############ encrypted privilege 15
tunnel-group NCIGF-VPN type remote-access
tunnel-group NCIGF-VPN general-attributes
address-pool NCIGF-VPN-POOL
authentication-server-group NCIGF-NT
default-group-policy NCIGF-VPN
tunnel-group NCIGF-VPN ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
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
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:cb919e627187c27a340960a7945636e8
: end
asdm image disk0:/asdm-603.bin
no asdm history enable
 
Give this a try -

clear this part (no ip, nameif or anything) -
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
ospf cost 10

and do

interface Ethernet0/1
no shut

and move that setup to this one -

interface Ethernet0/1.1
vlan 10
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
ospf cost 10

Now you can look at the bottom of this for the config for inter-interface communication (which you have part of)

but you will need statics to translate between networks.





Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Thank you. I'm not going to be able to make any changes until this weekend. One thing I have noticed, and picked up from reading, is that none of t he subnets need NAT for same security level communication as long as there is no dynamic NAT on one of the interfaces. 2.0 and 3.0 have full communication, just not with 1.0. If I could get rid of dynamic nat, but still keep internet connectivity for the clients on 1.0 then I would be golden. At least I believe so. Thank you for your suggestion. This weekend, when I have unrestricted access, I will try it out.
 
What I ended up doing was deleting these 2 additions to the global nat group:
global (storage) 101 interface
global (servers) 101 interface

and added these to except rules:
access-group storage_access_in_1 in interface storage
access-group servers_access_in_1 in interface servers

Every thing works the way I want it to now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top