| supergoku0 2002-01-22, 12:52 am |
| Hi all,
Not familiar with VPN, but is it possible to use static NAT(no special feature or other application run on top)to make a VPN-like enviroment for 2 remote locations connected by an IP cloud?
The goal is that hosts with virtual IP's at two sites can "see" each other, is the following config feasible? All advices from you are appreciated.
Location A:
virtual IP for hosts: 192.168.1.2 ~ 192.16.8.1.6
public IP's for NAT: 111.111.111.80/29
gateway: 192.168.1.1 255.255.255.0
Location B:
virtual IP for hosts: 192.168.1.249 ~ 192.168.1.253
public IP's for NAT: 222.222.222.80/29
gateway: 192.168.1.254 255.255.255.0
Config:
Router A:
int f0
ip add 111.111.111.86 255.255.255.248
ip add 192.168.1.1 255.255.255.0 sec
ip nat inside
!
int s0
ip unnumbered f0
ip nat outside
!
ip nat inside source static 192.168.1.2 111.111.111.81
ip nat inside source static 192.168.1.3 111.111.111.82
ip nat inside source staitc 192.168.1.4 111.111.111.83
ip nat inside source static 192.168.1.5 111.111.111.84
ip nat inside source static 192.168.1.6 111.111.111.85
-------------------------------
Router B:
int f0
ip add 222.222.222.86 255.255.255.248
ip add 192.168.1.254 255.255.255.0 sec
ip nat inside
!
int s0
ip unnumbered f0
ip nat outside
!
ip nat inside source static 192.168.1.249 222.222.222.81
ip nat inside source staitc 192.168.1.250 222.222.222.82
ip nat inside source static 192.168.1.251 222.222.222.83
ip nat inside source static 192.168.1.252 222.222.222.84
ip nat inside source static 192.168.1.253 222.222.222.85 |