03-17-2016 02:52 AM - edited 03-12-2019 12:30 AM
Hi,
I need to setup an CISCO ASA 5505 to route internet network to my computer.
In front I have an Netgear N150 in bridge / modem mode.
My ASA can get an public IP address, but I'm not able to ping 8.8.8.8 for example from the ASA in terminal.
I'm not talking about pinging internet from an computer behind the asa (the nat settings will be in second time).
I can get the public ip from pppoe but i'm still out from internet.
Can you help me please ?
Here is my running config :
ciscoasa(config)# sh running-config
: Saved
:
ASA Version 8.2(5)
!
hostname ciscoasa
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
pppoe client vpdn group groupname
ip address pppoe setroute
!
ftp mode passive
access-list outside_access_in extended permit ip any any
pager lines 24
logging monitor debugging
logging asdm informational
mtu inside 1500
mtu outside 1492
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
icmp permit any outside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
access-group outside_access_in in interface outside
route inside 0.0.0.0 0.0.0.0 82.127.133.99 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh timeout 5
console timeout 0
vpdn group groupname request dialout pppoe
vpdn group groupname localname fti/gh32z**
vpdn group groupname ppp authentication pap
vpdn username fti/gh32z** password *****
dhcpd auto_config outside
!
dhcpd address 192.168.1.5-192.168.1.36 inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:6201b5390883aceaef76e17704dc77b2
: end
Solved! Go to Solution.
03-17-2016 02:58 AM
Hi,
You have got
route inside 0.0.0.0 0.0.0.0 82.127.133.99 1
This shall be
route outside 0.0.0.0 0.0.0.0 82.127.133.99 1
Please try that.
Would you be able to run "debug
Regards,
Dinesh Moudgil
P.S. Please rate helpful posts.
03-17-2016 02:58 AM
Hi,
Please share the output of :
show route and show arp | in outside
Regards,
Aditya
03-17-2016 03:02 AM
Hi,
You do not any route statement on the ASA.
Since you are getting the IP from the PPOE router you can remove the default route.
Regards,
Aditya
please rate helpful posts.
03-17-2016 05:05 AM
One question If y want to setup my previous public IP in the ASA, I need to add route right ?
But only route inside 0.0.0.0 0.0.0.0 82.127.133.99 1 right?
03-17-2016 05:09 AM
Hi,
You need the route outside 0.0.0.0 0.0.0.0 82.127.133.99 only when you have the previous public IP.
You do not need any static route right now as ASA is getting a dynamic PPOE
Regards,
Aditya
Please rate helpful posts.
03-17-2016 05:13 AM
route outside or inside ...?
The route inside means that all connection from inside vlan to 0.0.0.0 goes by public ip right ?
In definitive I want to add srtatic public ip, so :
- adding IP
- add a route inside to 0.0.0.0
no dns record?
03-17-2016 05:13 AM
Hi,
route outside as this would be acting as a default route for the ASA.
Regards,
Aditya
Please rate helpful posts.
03-17-2016 05:16 AM
Can I just add static public ip and let auto route pppoe ?
03-17-2016 05:18 AM
Hi,
I do not see any need to add a static route as PPOE config on the ASA would take care of it.
See this config:
interface Vlan2
security-level 0
This would automatically route the traffic to outside.
Regards,
Aditya
03-17-2016 05:28 AM
In my actual installation, in the appliance the public IP is setting.
but maybe because there are 2 dsl link on this appliance, and it cannot manage 2 automatic public ip setting, one must be set to static and the other is dynamic.
03-17-2016 06:14 AM
Hi,
The static route is a configured route and it makes no sense in having two default routes static or dynamic for the same interface.
So you can remove the static route, ASA would still be able to ping the internet IP.
Regards,
Aditya
Please rate helpful posts.
03-17-2016 02:58 AM
Hi,
You have got
route inside 0.0.0.0 0.0.0.0 82.127.133.99 1
This shall be
route outside 0.0.0.0 0.0.0.0 82.127.133.99 1
Please try that.
Would you be able to run "debug
Regards,
Dinesh Moudgil
P.S. Please rate helpful posts.
03-17-2016 05:06 AM
Thank you for this reply.
It was just my route which was wrong.
I disabled it & after that I can ping internet, just public ip from the ASA, and public domain dns from computer connected on eth 4 (because I added google dns).
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