05-17-2017 10:04 AM - last edited on 03-08-2019 10:37 AM by NikolaIvanov
Hello, Probably a noob question but can't seem to find a decent answer; here goes.
I have a network 192.168.1.0/29, my PE has 192.168.1.1/29, my CE has 192.168.1.2/29 NAT out..., on the LAN portion of the CE, we have a 172.16.1.0/24 network NAT inside..., now; how con I assign 192.168.1.0/29 addresses on devices inside the LAN and still be reachable from the outside network.
internet <---->192.168.1.0/29 <--> 172.16.1.0/24 <---> 172.16.1.0/24 (out to internet but no access from internet) 192.168.1.3-6/29 (out to internet and accesible from the internet).
The addresses used are an example; I am using a /29 public and a /24 private..., I just really need to split that /29 over that /24, being able to reach the 4 remaining addresses from the /29 from the internet via the /24.
I really don't know how to better explain this but I guess you get the idea.
Thanks in advance.
05-17-2017 10:41 AM
Hi
Could you please provide more details about this section: now; how con I assign 192.168.1.0/29 addresses on devices inside the LAN and still be reachable from the outside network.
Thanks
05-17-2017 11:26 AM
You don't need to assign the IPs to devices, you can just use static NAT statements on your CE device. Assuming your CE device is a router as an example -
device real IP = 172.16.1.3
device public IP = 192.168.1.3
add this to your router -
"ip nat inside source static 172.16.1.3 192.168.1.3"
note that you may also need to allow the traffic if you are using acls etc. on your router ie. you should limit access ideally with a firewall. In addition if you have more 172.16.1.x devices than 192.168.1.x IPs then you can use the same 192.168.1.x for multiple inside devices providing the ports are different.
If you need to do that let me know because the above configuration needs modifying.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide