一 网络拓扑说明
1.1 用户需求

用户需求:
①某客户网络分别连接医保局和银行专线
②但是医保局、银行两侧地址冲突如何解决
1.2 模拟器组网-最终解法

解决方法:去往医保局走静态明细路由,去银行访问2.2.2.1,现在本地出口R做SNAT,再到银行出口做静态NAT映射将目的2.2.2.1转换为192.168.10.1
二 设备配置
2.1 PC设备配置
sysname PC
#
ip unreachables enable
ip ttl-expires enable
#
lldp global enable
#
interface LoopBack0
description YW
ip address 192.168.1.1 255.255.255.255
#
interface GigabitEthernet0/0
port link-mode route
description TO-R
combo enable copper
ip address 1.1.1.1 255.255.255.252
#
ip route-static 0.0.0.0 0 1.1.1.2
#
2.2 用户内网R设备配置
sysname R
#
ip unreachables enable
ip ttl-expires enable
#
lldp global enable
#
acl advanced 3000
description NAT
rule 0 permit ip source 192.168.1.1 0
#
interface GigabitEthernet0/0
port link-mode route
description TO-YiBaoJu
combo enable copper
ip address 1.1.1.5 255.255.255.252
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
description TO-YinHang
ip address 1.1.1.9 255.255.255.252
nat outbound 3000
#
interface GigabitEthernet0/2
port link-mode route
combo enable copper
description TO-PC
ip address 1.1.1.2 255.255.255.252
#
ip route-static 2.2.2.1 32 1.1.1.10 description YinHang-Dnat
ip route-static 192.168.1.1 32 1.1.1.1 description NeiWang-YW
ip route-static 192.168.10.1 32 1.1.1.6 description YiBaoJu-YW
#

&spm=1001.2101.3001.5002&articleId=162818005&d=1&t=3&u=00a003a1ee5746e6bb1714978066e90f)
6747

被折叠的 条评论
为什么被折叠?



