<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />技术贴---求解 NAT处理重叠地址问题 
 
 
 
 
 
 
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
要点:
R1后面的内网和R3后面的内网代表各自的公司。R1R3是边界路由器,在R1R3上都要做NAT
2个公司的内部地址用了重叠的地址~~
现在要解决2个问题:

 

1,  R1R3之间建立了×××,后面的内网要相互通信,怎样转换地址?

我用的方案是用inside source Network 2个网段都映射出来,测试可行。
配置如下:
R1#sh running-config

 

 

interface Tunnel0
 ip address 10.1.1.1 255.255.255.0
 ip nat outside
 ip virtual-reassembly
 tunnel source Serial0/0
 tunnel destination 192.168.23.3
!
interface Serial0/0
 ip address 192.168.12.1 255.255.255.0
 ip nat outside
 ip virtual-reassembly
 ip ospf 1 area 0
 serial restart-delay 0
!
!
interface FastEthernet1/0
 ip address 192.168.1.254 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
!
router ospf 1
 log-adjacency-changes
!
ip http server
no ip http secure-server
ip route 172.16.3.0 255.255.255.0 Tunnel0
!
!
ip nat inside source static network 192.168.1.0 172.16.1.0 /24
!
!

 

 

 

 

2,  同时,R3内部的主机要访问Internet,需要使用PAT映射到接口地址··

 

  这个问题如何解决?

 

192.168.1.0------ 172.16.3.0
192.168.1.0----- 192.168.23.3
 2NAT同时存在R3上, 实验现象是:NAT只按照inside static network定义的来转换,不会考虑那个PAT

 

 

有没有什么办法解决?