cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
713
Views
0
Helpful
6
Replies

Tunnel with LAN and Wifi in same network group, having problems

Hello,
I have an active IKEv2 tunnel running through my LAN which is great. When I created it, I made my network group do my LAN 192.168.80.0/24 and my Wireless 192.168.83.0/24 for everything. The fact that my LAN is tunneled but my wifi isn't, I'm wondering if I'm missing something dumb.

Here's the part where I might be having a problem...

dhcpd auto_config outside
!
dhcpd address 192.168.80.7-192.168.80.149 inside
dhcpd dns 10.0.0.10 [static DNS] interface inside
dhcpd option 3 ip 192.168.80.1 interface inside
dhcpd enable inside
!
dhcpd address 192.168.83.7-192.168.83.149 wifi
dhcpd dns 10.0.0.10 [static DNS] interface wifi
dhcpd option 3 ip 192.168.83.1 interface wifi
dhcpd enable wifi


If they're in the same network group tunneling to the same IP, is there there a problem with the gateway? Perhaps it has something to do with that DHCPD ioption 3? My lan and wifi are on two separate interface, and this is a very basic setup. I notice when it mentions my IPsec through ADSM, it doesn't mention the 192.168.83.0/24 network, only 192.168.80.0/24.

Do I have to create two separate tunnels for LAN and wifi?

6 Replies 6

Here's my edited show running-config

Result of the command: "show running-config"

: Saved

:
: Hardware: ASA5506, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)
:
ASA Version 9.6(1)
!
hostname myhosts
domain-name mydomain.com
enable password []edit encrypted
names

!
interface GigabitEthernet1/1
nameif outside
security-level 0
ip address [static] 255.255.255.252
!
interface GigabitEthernet1/2
nameif inside
security-level 100
ip address 192.168.80.1 255.255.255.0
!
interface GigabitEthernet1/3
nameif wifi
security-level 100
ip address 192.168.83.1 255.255.255.0
!
interface GigabitEthernet1/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/5
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/6
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/7
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/8
shutdown
no nameif
no security-level
no ip address
!
interface Management1/1
management-only
no nameif
no security-level
no ip address
!
ftp mode passive
dns server-group DefaultDNS
domain-name mydomain.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network obj_any
subnet 0.0.0.0 0.0.0.0
object network MyCorp
subnet 10.0.0.0 255.255.255.0
object network MyCorp2
subnet [edit] 255.255.255.0
object network 0.0.0.0
host 0.0.0.0
object network 10.0.0.0
subnet 10.0.0.0 255.0.0.0
object network 127.0.0.1
subnet 127.0.0.0 255.255.255.0
object network 172.16.0.0
subnet 172.16.0.0 255.240.0.0
object network 192.168.0.0
subnet 192.168.0.0 255.255.0.0
object-group network MyVPN
network-object object MyCorp
network-object object MyCorp2
object-group network private-nets
network-object object 0.0.0.0
network-object object 10.0.0.0
network-object object 127.0.0.1
network-object object 172.16.0.0
network-object object 192.168.0.0
object-group network VPNPrivate
network-object 192.168.80.0 255.255.255.0
network-object 192.168.83.0 255.255.255.0
access-list inside_access_in extended permit ip object-group VPNPrivate object-group MyVPN
access-list inside_access_in extended permit ip object-group VPNPrivate any
access-list outside_access_in extended permit ip object-group private-nets any
access-list outside_access_in extended permit icmp any any echo
access-list outside_access_in extended permit icmp any any echo-reply
access-list outside_access_in extended permit icmp any any time-exceeded
access-list outside_access_in extended permit ip object-group MyVPN object-group VPNPrivate
access-list outside_cryptomap_1 extended permit ip object-group VPNPrivate object-group MyVPN
access-list wifi_access_in extended permit ip object-group VPNPrivate object-group MyVPN
access-list wifi_access_in extended permit ip object-group VPNPrivate any
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu wifi 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (inside,outside) source static VPNPrivate VPNPrivate destination static MyVPN MyVPN no-proxy-arp route-lookup
!
object network obj_any
nat (any,outside) dynamic interface
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
access-group wifi_access_in in interface wifi
route outside 0.0.0.0 0.0.0.0 [static gateway]
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 sctp 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
user-identity default-domain LOCAL
http server enable
http 192.168.80.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
service sw-reset-button
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS mode transport
crypto ipsec ikev2 ipsec-proposal DES
protocol esp encryption des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal 3DES
protocol esp encryption 3des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES
protocol esp encryption aes
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES192
protocol esp encryption aes-192
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES256
protocol esp encryption aes-256
protocol esp integrity sha-1 md5
crypto ipsec security-association pmtu-aging infinite
crypto map outside_map 1 match address outside_cryptomap_1
crypto map outside_map 1 set peer [static ip]
crypto map outside_map 1 set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map outside_map 1 set security-association lifetime seconds 2147482800
crypto map outside_map interface outside
crypto ca trustpool policy
crypto ikev2 policy 1
encryption aes-256
integrity sha
group 5 2
prf sha
lifetime seconds none
crypto ikev2 policy 10
encryption aes-192
integrity sha
group 5 2
prf sha
lifetime seconds none
crypto ikev2 policy 20
encryption aes
integrity sha
group 5 2
prf sha
lifetime seconds none
crypto ikev2 policy 30
encryption 3des
integrity sha
group 5 2
prf sha
lifetime seconds none
crypto ikev2 policy 40
encryption des
integrity sha
group 5 2
prf sha
lifetime seconds none
crypto ikev2 enable outside
crypto ikev1 enable outside
crypto ikev1 policy 20
authentication rsa-sig
encryption aes-256
hash sha
group 2
lifetime none
crypto ikev1 policy 30
authentication pre-share
encryption aes-256
hash sha
group 2
lifetime none
crypto ikev1 policy 50
authentication rsa-sig
encryption aes-192
hash sha
group 2
lifetime none
crypto ikev1 policy 60
authentication pre-share
encryption aes-192
hash sha
group 2
lifetime none
crypto ikev1 policy 80
authentication rsa-sig
encryption aes
hash sha
group 2
lifetime none
crypto ikev1 policy 90
authentication pre-share
encryption aes
hash sha
group 2
lifetime none
crypto ikev1 policy 110
authentication rsa-sig
encryption 3des
hash sha
group 2
lifetime none
crypto ikev1 policy 120
authentication pre-share
encryption 3des
hash sha
group 2
lifetime none
crypto ikev1 policy 140
authentication rsa-sig
encryption des
hash sha
group 2
lifetime none
crypto ikev1 policy 150
authentication pre-share
encryption des
hash sha
group 2
lifetime none
telnet timeout 5
ssh stricthostkeycheck
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

dhcpd auto_config outside
!
dhcpd address 192.168.80.7-192.168.80.149 inside
dhcpd dns 10.0.0.10 71.10.216.1 interface inside
dhcpd option 3 ip 192.168.80.1 interface inside
dhcpd enable inside
!
dhcpd address 192.168.83.7-192.168.83.149 wifi
dhcpd dns 10.0.0.10 71.10.216.1 interface wifi
dhcpd option 3 ip 192.168.83.1 interface wifi
dhcpd enable wifi
!
group-policy DfltGrpPolicy attributes
vpn-tunnel-protocol ikev1 l2tp-ipsec ssl-clientless
group-policy GroupPolicy_[static] internal
group-policy GroupPolicy_[static] attributes
vpn-idle-timeout none
vpn-session-timeout none
vpn-tunnel-protocol ikev2
periodic-authentication certificate none
group-policy GroupPolicy1 internal
group-policy GroupPolicy1 attributes
vpn-tunnel-protocol ikev1
dynamic-access-policy-record DfltAccessPolicy
password-policy authenticate-enable
username Admin password [edit] encrypted privilege 15
tunnel-group [static] type ipsec-l2l
tunnel-group [static] general-attributes
default-group-policy GroupPolicy_[static]
tunnel-group[static] ipsec-attributes
ikev1 pre-shared-key *****
isakmp keepalive threshold 30 retry 2
ikev2 remote-authentication pre-shared-key *****
ikev2 local-authentication pre-shared-key *****
!
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
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:06f9c99f49f823bcba0de8e9e57c634b
: end

Hello,

Can you show output of: (delete public IPs).

show crypto isakmp sa
show crypto ipsec sa

//Cristian

Sorry for the late reply, but I'm getting this

Result of the command: "show crypto ipsec sa"

interface: outside
    Crypto map tag: outside_map, seq num: 1, local addr: [my ip]

      access-list outside_cryptomap_1 extended permit ip 192.168.80.0 255.255.255.0 10.0.0.0 255.255.255.0
      local ident (addr/mask/prot/port): (192.168.80.0/255.255.255.0/0/0)
      remote ident (addr/mask/prot/port): (10.0.0.0/255.255.255.0/0/0)
      current_peer: [my ip]

Looks like my wireless isn't even showing up for that.

Hello,

That does indeed seems wierd.

Could you try the ACL without using objects/object-groups and show output again?

access-list outside_cryptomap_1 extended permit ip 192.168.80.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list outside_cryptomap_1 extended permit ip 192.168.83.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list outside_cryptomap_1 extended permit ip 192.168.80.0 255.255.255.0 <IP> 255.255.255.0
access-list outside_cryptomap_1 extended permit ip 192.168.83.0 255.255.255.0 <IP> 255.255.255.0

//Cristian

I tried that and duplicated some details from the LAN on the used cryptomap, and now it claims the tunnel is running!. It even says my domain on the network adapter, but says unauthenticated. Any ideas with this?

I think I have it going now.

I enabled reverse route injection and that did the trick just in-case anybody else is wondering.

Review Cisco Networking for a $25 gift card