Hi, I'm trying to do the following NAT, I need the 192.168.1.0/24 LAN network has Internet access through the range 213.1.1.0/24 public. At the same time it must access the server from the Internet with the public IP address 213.1.1.1 It is also necessary to access the server from the LAN to the public address 213.1.1.1
My public range is not configured on any interfaces, in my case I configure a static route to advertise via eBGP.
interface FastEthernet0
ip address 80.80.80.80 255.255.255.252
ip nat enable
!
interface Vlan10
ip address 192.168.1.1 255.255.255.0
ip nat enable
!
ip access-list extended NAT
permit ip 192.168.1.0 0.0.0.255 any
!
ip nat pool PUBLICs 213.1.1.100 23.1.1.150 prefix-length 24
ip nat source static 192.168.1.200 213.1.1.1
ip nat source list LAN pool PUBLICs overload
ip route 213.1.1.0 255.255.255.0 Vlan10
!
end
Is correct this nat? Do not get it to work properly :(
Flows
Internet -> 213.1.1.1 NAT Destination 192.168.1.200
LAN -> Internet NAT Source 192.168.1.x/24 pool public´s
LAN -> Server with Public IP 213.1.1.1
Internet
|
Fa0 (WAN 80.80.80.80)
Cisco 881
LAN: 191.168.1.1
|
Server Host
192.168.1.200 192.168.1.25
My public range is not configured on any interfaces, in my case I configure a static route to advertise via eBGP.
Is correct this nat? Do not get it to work properly :(