09-01-2015 08:44 PM
Hi Guys,
My network consist of 5 VLANS. All vlans were map into a range of public ip (NAT).
My question is, is there a way where I can map a specific 1 VLAN into a 1 PUBLIC IP address?
Assuming my vlans are 192.168.1.0 /24 - 192.168.5.0 /24 and my public ip range is 200.1.1.0 /29
Can I map 192.168.1.0 /24 into 200.0.0.5 only?
Thanks in advance :)
09-01-2015 10:23 PM
I assume you are using Cisco routers
so something like
ip nat source static network 192.168.1.0 200.1.1.1 /32
ip nat source static network 192.168.2.0 200.1.1.2 /32
ip nat source static network 192.168.3.0 200.1.1.3 /32
ip nat source static network 192.168.4.0 200.1.1.4 /32
ip nat source static network 192.168.5.0 200.1.1.5 /32
HTH
Richard
09-02-2015 01:47 PM
what product is this?
09-03-2015 12:57 AM
If you want to map your network 192.168.1.0/24 with one Public IP, please try the following:
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool cisco 200.0.0.5 200.0.0.5
ip nat inside source list 1 pool cisco overload
Apply it to the concerned interfaces.
09-06-2015 10:16 PM
Dear,
Below configuration may help you.
interface Vlan1
description CONNECTION TO LAN
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip nat enable
ip nat inside source route-map fixed-nat1 interface FastEthernet0/0
access-list 110 permit 192.168.2.0 0.0.0.255 any
route-map fixed-nat1 permit 10
match ip address 110
match interface FastEthernet0/0
Note:* FastEthernet0/0 is a public ip configured inrterface
Regards,
Raja
09-07-2015 01:41 AM
Yes you can, if you have a Public IP range, you can map your local ip range to public range.
Thanks.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: