Cisco ASA 5510 接口间路由

Cisco ASA 5510 接口间路由

我正在尝试设置 Cisco 5510 来路由外部和内部接口之间的流量,这两个接口都属于公共 IP 子网。我们的 ISP 为我们分配了一个点对点 IP (207.107.110.150/30),我已将其分配给外部接口,并分配了一个 /29 (207.107.101.112/29),我已将其 207.107.101.113 分配给内部接口。

通过身份 NAT 设置,从 /29 中的主机,我可以 ping ASA,并且可以 ping 路由中的下一跳(207.107.110.149),但是发送到全球互联网的流量不会返回到内部接口。

根据消息“ 6 Jul 01 2014 20:53:42 302015 8.8.4.4 207.107.101.115 Built outbound UDP connection 7052 for Outside:8.8.4.4/53 (8.8.4.4/53) to inside:207.107.101.115/57511 (207.107.101.115/57511)”,看起来流量正在到达 ASA,因此是 ASA 丢弃了它们。

ASA 的“Packet Tracer”显示这些应该退出内部接口。

稍微模糊的配置:

asdm image disk0:/asdm521.bin
no asdm history enable
: Saved
:
ASA Version 7.2(1) 
!
hostname *****
domain-name *****
enable password ***** encrypted
names
!
interface Ethernet0/0
 nameif Outside
 security-level 0
 ip address 207.107.110.150 255.255.255.252 
!
interface Ethernet0/1
 nameif inside
 security-level 50
 ip address 207.107.101.113 255.255.255.248 
!
interface Ethernet0/2
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 nameif management
 security-level 100
 ip address 172.24.19.1 255.255.255.0 
 management-only
!
passwd ***** encrypted
ftp mode passive
dns server-group DefaultDNS
 domain-name rsius.com
access-list Outside_access_in extended permit ip any 207.107.101.112 255.255.255.248 
pager lines 24
logging enable
logging asdm informational
mtu management 1500
mtu inside 1500
mtu Outside 1500
asdm image disk0:/asdm521.bin
no asdm history enable
arp timeout 14400
nat (inside) 0 207.107.101.112 255.255.255.248
access-group Outside_access_in in interface Outside
route Outside 0.0.0.0 0.0.0.0 207.107.110.149 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
http server enable
http 0.0.0.0 0.0.0.0 inside
http 172.24.19.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 172.24.19.2-172.24.19.254 management
dhcpd enable management
!
!
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 
: end

需要进行哪些改变才能使流量从内部路由到外部并返回?

答案1

由于您没有在内部接口上进行 natting:

nat (内部) 0 207.107.101.112 255.255.255.248

您的提供商需要知道子网 207.107.101.112/29 是通过 207.107.110.150 路由的。他们反过来会广播该路由,以便我们其余人员通过 ASA 的外部接口到达您的内部接口。

您是否与他们核实过以确保子网按照相应方式路由?

相关内容