Cisco ASA 5505

Associate
Joined
11 Jul 2007
Posts
466
Location
Newcastle Upon Tyne
Does anyone have any experience with this kit, I've had one dumped on me at work and I can't for the life of me get internet access via it.

I've got it hooked up to a bridged ADSL modem using PPPoE. Config is below, any help would be appreciated.

Code:
: Saved
:
ASA Version 8.2(5) 
!
hostname ciscoasa
enable password GuuH2OTIRWlZP8z3 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 ADSL
 ip address pppoe setroute 
!
ftp mode passive
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
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 ADSL request dialout pppoe
vpdn group ADSL localname zenBLAH@zen
vpdn group ADSL ppp authentication chap
vpdn username zen218339@zen password ***** store-local
dhcpd auto_config outside
!
dhcpd address 192.168.1.5-192.168.1.36 inside
dhcpd dns 212.23.6.100 212.23.3.100 interface 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:a41b3b01f692d6515e073c21791bdb22
: end
no asdm history enable
 
I've only got CCNA experience so no experience with ASA or PIX hardware so the syntax may be different, but I don't see any default route in the config so it won't know how to reach any network not directly connected.
 
Does anyone have any experience with this kit, I've had one dumped on me at work and I can't for the life of me get internet access via it.

I've got it hooked up to a bridged ADSL modem using PPPoE. Config is below, any help would be appreciated.

http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a0080ab7ce9.shtml might help a bit. It seems to suggest that you should not enable dhcp on the outside interface if using pppoe. Oh and it will be worth dropping the MTU on your outside interface, try 1462.
Oh and if that is the complete config, you haven't added the inside vlan to any of the physical ports on the device.

Another quick question, are you even getting connected via ppoe ?
 
Last edited:
Yes the PPPoE connection appears to be working, I can see the interface Ethernet 0/0 has picked up our static IP address from the ISP. As far as I was aware DHCP wasn't enabled on the outside interface as this was not an option when going through the setup.

I also thought that ports 1-7 were on vlan 1 and the outside interface 0 was set to vlan 2

I've been doing a bit of research and from what I can tell I need to set a route outside like so "route outside XXX.XXX.XXX.XXX" with the IP being the default gateway of my ISP, does this sound correct?
 
Last edited:
I've been doing a bit of research and from what I can tell I need to set a route outside like so "route outside XXX.XXX.XXX.XXX" with the IP being the default gateway of my ISP, does this sound correct?

I had a quick search an it seems for the ASA you can use: route outside 0 0 gateway-IP

The command is just seting up a static route saying any packet going to 0.0.0.0 0.0.0.0 (which is everything, unless a more specific route is in the routing table), then send it to the gateway-IP.
 
Yes the PPPoE connection appears to be working, I can see the interface Ethernet 0/0 has picked up our static IP address from the ISP. As far as I was aware DHCP wasn't enabled on the outside interface as this was not an option when going through the setup.

I also thought that ports 1-7 were on vlan 1 and the outside interface 0 was set to vlan 2

I've been doing a bit of research and from what I can tell I need to set a route outside like so "route outside XXX.XXX.XXX.XXX" with the IP being the default gateway of my ISP, does this sound correct?

I'm not sure about the ports defaulting to vlan1, it doesn't hurt to set one just to check. General rule of thumb is never use vlan 1 anyway, it can cause problems when connecting to badly configured switches, or at least that's my experience.

"ip address pppoe setroute" according to the documentation, is supposed to set the default route via the pppoe connections gateway, so I'm not sure that you would need a default static route.

What does the output of "sh route" look like ?

If you log into the asa and run the following command "ping outside 8.8.8.8" do you get any response?
 
try logging into the web interface & running either applet ASDM or the standalone app version, then you can play with the wizard interface.

From the ASDM you can do the config as per the commandline connection or via GUI
 
Back
Top Bottom