02-19-2013 04:07 AM - edited 03-07-2019 11:47 AM
attached document is my network diagram for wireless user.
1.i have /30 public IP for my WAN interface
2.i also have /29 Public IPS for LAN segment.
3.i have /24 private IPS for my internal network.
my doubt is how do i do natting on router.on LAN port of router which IP to be configure(public 0r private).
kindly any one send me the configuration to be done on router and switch,so the my internet will work.
02-19-2013 04:21 AM
I'm assuming that you're only going to need to nat the 10.x.x.x subnet since your provider knows how to get to your lan side "public side" addresses. NAT is needed when the provider has no knowledge of your internal addressing. That being said, you'd need to configure for the 10.x.x subnet and not really worry about the others. You haven't posted your router config, so I'm assuming that your router has subinterfaces to support the 10.x.x.x subnet since you have L2 switches in your diagram.
access-list 101 permit ip 10.60.9.0 0.0.0.255
ip nat inside source list 101 interface f0/0 overload
int fa0/0
ip nat outside
int fa0/1
ip address 123.63.x.x 255.x.x.x
int fa0/1.10
ip address 10.60.9.x 255.x.x.x
ip nat inside
If this isn't the way you're set up, we may need to know a little more information.
HTH,
John
*** Please rate all useful posts ***
02-19-2013 04:33 AM
access-list 101 permit ip 10.60.9.0 0.0.0.255
ip nat inside source list 101 interface f0/0 overload
int fa0/0
IP Address (Public IP Segment /32)
ip nat outside
int fa0/1
IP Address (/24 Internal LAN Segment IP)
ip nat inside
IP Access-list Extend NAT
Permit IP (/24 Internal LAN Segment IP ) any
ip route 0.0.0.0 0.0.0.0 int Fa 0/0
For Using /29 Public IP Segment
u can do Static NAT
like
IP NAT INSDIE soure static (/24 Segement Any Local IP) (/29 Segment any Public IP)
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