[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Static NAT on Cisco Router

Posted on 2016-09-07
3
Medium Priority
?
62 Views
Last Modified: 2016-09-27
I having an issue routing traffic out of our cisco router out to the global internet. I have nat setup, I can ping to the outside interface from the inside network but traffic doesn't exit the router. Clean router with no access list, we can ping 8.8.8.5 from outside but unable to access webpage. Any clues ?

Cisco config

Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#do show run
Building configuration...
!
interface GigabitEthernet0/0
 ip address 8.8.8.4 255.255.255.248
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 10.224.0.151 255.255.0.0
 ip nat inside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source static tcp 10.224.0.152 80 8.8.8.5 80 extendable
ip nat inside source static tcp 10.224.0.152 443 8.8.8.5 443 extendable
!
0
Comment
Question by:Iyad Alaqrabawi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
SIM50 earned 1000 total points (awarded by participants)
ID: 41788491
define your internal network:
access-list 100 permit ip 10.224.0.0 0.0.255.255 any

bind it to outside interface:
ip nat inside source list 100 interface  GigabitEthernet0/0 overload

verify nat:
sh ip nat translations
0
 
LVL 47

Assisted Solution

by:Craig Beck
Craig Beck earned 1000 total points (awarded by participants)
ID: 41790565
In addition to what SIM50 said, and assuming you didn't cut it out of the snippet you provided, you don't appear to have a default route pointing out of your Gig0/0 interface.  You won't get anywhere without that.

ip route 0.0.0.0 0.0.0.0 8.8.8.5

Open in new window

0
 
LVL 47

Expert Comment

by:Craig Beck
ID: 41817524
Best answer chosen
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question