我目前的设置如下:
Cisco ASA port 1 | internet | outside | vlan2
Cisco ASA port 2 | intranet | inside | vlan1 - dhcp 10.1.10.100 - 254这就是我想要达到的目标:
Cisco ASA port 1 | internet | outside | vlan2
Cisco ASA port 2 | intranet | inside | vlan1 - dhcp 10.1.10.100 - 254
Cisco ASA port 3 | intranet | inside | vlan3 - static 10.1.10.10 - 99我不知道如何做到这一点,在寻找类似的解决方案之后,我还没有找到一个类似于我所需要的解决方案。我希望这样做的原因,是我们有30+个人电脑接收他们的IP动态,包括电话,垫等.然而,我们有一些静态设备,比如几个windows服务器、打印机和其他一些打算是静态的设备。
下面是我的当前配置,这样您就可以更好地理解我拥有的和我正在尝试的内容:(我将过滤敏感数据,但将尝试保留大部分配置)。
Result of the command: "show run"
: Saved
:
ASA Version 8.2(5)
!
hostname HOST
enable password xxxxxxxxxxxxxxxx
passwd xxxxxxxxxxxxxxxxxxxxx
names
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 10.1.10.100 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 74.xx.xx.225 255.255.255.248
!
ftp mode passive
object-group network PPTP-server
object-group network hst-10.1.10.122
description VPN-Server
object-group network DM_INLINE_NETWORK_1
network-object 192.xx.xx.0 255.255.255.0
network-object 192.xx.xx.0 255.255.255.0
access-list outside_access_in extended permit tcp any interface outside eq pptp
access-list outside_access_in extended permit icmp any any
access-list outside_1_cryptomap extended permit ip 10.1.10.0 255.255.255.0 object-group DM_INLINE_NETWORK_1
access-list inside_nat0_outbound extended permit ip 10.1.10.0 255.255.255.0 192.xx.xx.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 10.1.10.0 255.255.255.0 192.xx.xx.0 255.255.255.0
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 10.1.10.0 255.255.255.0
static (inside,outside) tcp interface pptp 10.1.10.122 pptp netmask 255.255.255.255
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 74.xx.xx.230 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 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
http server enable
http 10.1.10.0 255.255.255.0 inside
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-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des 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 security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group5
crypto map outside_map 1 set peer 63.xx.xx.xx
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp enable inside
crypto isakmp enable outside
crypto isakmp policy 10
authentication crack
encryption aes-256
hash sha
group 2
lifetime 86400
crypto isakmp policy 20
authentication rsa-sig
encryption aes-256
hash sha
group 2
lifetime 86400
crypto isakmp policy 30
authentication pre-share
encryption aes-256
hash sha
group 2
lifetime 86400
crypto isakmp policy 40
authentication crack
encryption aes-192
hash sha
group 2
lifetime 86400
crypto isakmp policy 50
authentication rsa-sig
encryption aes-192
hash sha
group 2
lifetime 86400
crypto isakmp policy 60
authentication pre-share
encryption aes-192
hash sha
group 2
lifetime 86400
crypto isakmp policy 70
authentication crack
encryption aes
hash sha
group 2
lifetime 86400
crypto isakmp policy 80
authentication rsa-sig
encryption aes
hash sha
group 2
lifetime 86400
crypto isakmp policy 90
authentication pre-share
encryption aes
hash sha
group 2
lifetime 86400
crypto isakmp policy 100
authentication crack
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 110
authentication rsa-sig
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 120
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 130
authentication crack
encryption des
hash sha
group 2
lifetime 86400
crypto isakmp policy 140
authentication rsa-sig
encryption des
hash sha
group 2
lifetime 86400
crypto isakmp policy 150
authentication pre-share
encryption des
hash sha
group 2
lifetime 86400
crypto isakmp policy 170
authentication pre-share
encryption 3des
hash sha
group 5
lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd dns 75.75.75.75 75.75.76.76
dhcpd auto_config outside
!
dhcpd address 10.1.10.104-10.1.10.254 inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
tunnel-group 63.xx.xx.xx type ipsec-l2l
tunnel-group 63.xx.xx.xx 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 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
inspect pptp
inspect icmp
!
service-policy global_policy global
: end我觉得做第三层是个问题吗?不确定?任何帮助实现我正在寻找的将不胜感激!还请注意,有一个VPN站点到站点隧道的设置。配置不能干扰这一点。
发布于 2013-10-09 16:17:50
我假设你希望这些设备在同一个网络中。
如果是这样的话,你已经准备好了。只需在服务器/打印机/.上设置静态IP地址,并将它们连接到与动态设备相同的VLAN。由于DHCP范围是.100-.254,在静态设置设备时使用.100下面的地址不会引起任何问题(冲突)。
如果您愿意,您可以将它们连接到与DHCP设备相同的交换机,或者只需将port3设置为vlan1并在那里连接它们。
https://networkengineering.stackexchange.com/questions/3541
复制相似问题