我计划启用与我们的接入点的连接,如图所示。
我想了解如何启用 192.168.1.1/25 (FE4) 和 10.140.134.0/25(FE1) 之间的路由。Cisco 路由器只允许在 FE4 端口上进行接口配置。因此我将所有 AP 的 IPsec 目的地配置为 FE4。
目标:
- 启用从应用程序服务器到接入点 1、2 和 3 的连接
- 启用从桌面 (D01) 到应用程序服务器的连接(已通过在路由器 R2 上配置 intervlan 路由启用)
- 在应用程序服务器和三个接入点之间启用 IPv6 连接。
注意:从接入点到路由器 R1 的连接已经在 IPsec 和 6in4 隧道上。
你能指导我实现目标#1和#2吗?
如果可能,我想避免在路由器 R2 上添加静态路由。
路由器 R1 中的静态路由能否单独满足 #1 和 #2 要求?
路由器配置:
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
ip address 10.140.134.40 255.255.255.0
ipv6 address FDB7:5CB7:B0E8:947D::/64 eui-64
ipv6 enable
!
ip forward-protocol nd
ip route 192.168.2.0 255.255.255.0 FastEthernet4
no ip http server
no ip http secure-server
!
!
!
ip access-list extended AP_001350FFFE11B666_ACL
permit ip host 192.168.1.1 host 192.168.1.10
!
ipv6 route FDC9:CCBE:1DC7:A6::/64 Tunnel100
!
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
!
scheduler max-task-time 5000
end
Router#
添加 IPSEC 和 6in4 隧道配置
crypto ipsec transform-set MANUAL_TRANSFORM_SET01 esp-aes esp-sha-hmac
mode transport
!
crypto map LAB_MAP 100 ipsec-manual
set peer 192.168.1.10 default
set session-key inbound <Key Removed intentionaly>
set session-key outbound <Key Removed intentionaly>
set transform-set MANUAL_TRANSFORM_SET01
match address AP_<MACCHANGED>_ACL
!
archive
log config
hidekeys
!
!
!
!
!
interface Tunnel100
no ip address
ipv6 address FDC9:CCBE:10C0:A6:BF22:7825:C8F6:7257/64
ipv6 enable
tunnel source 192.168.1.1
tunnel destination 192.168.1.10
tunnel mode ipv6ip
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
crypto map <CHANGED>
!
