cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
328
Views
0
Helpful
2
Replies

Nat and cisco 827

franspain
Level 1
Level 1

I have a cisco 827 connected to telefonica ADSL provider using pppoe.

Each time I open the router I get a different ip address, so I have been unable to create a correct Nat translation to be able to use the ADSL connection with all the computers I have behind the router.

I have tried with the examples shown in your web, but I have been unable.

This is my basic config, any ideas?

version 12.1

no service single-slot-reload-enable

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname router

!

logging rate-limit console 10 except errors

enable secret xxxx

!

ip subnet-zero

no ip finger

ip name-server 80.58.0.33

ip name-server 80.58.32.97

!

no ip dhcp-client network-discovery

vpdn enable

no vpdn logging

!

vpdn-group pppoe

request-dialin

protocol pppoe

!

!

!

!

interface Loopback0

no ip address

shutdown

!

interface Ethernet0

ip address 192.168.10.1 255.255.255.0

ip nat inside

no cdp enable

!

interface ATM0

no ip address

no atm ilmi-keepalive

bundle-enable

dsl operating-mode auto

hold-queue 224 in

!

interface ATM0.1 point-to-point

pvc 8/32

encapsulation aal5snap

protocol pppoe

pppoe-client dial-pool-number 1

!

!

interface Dialer1

ip address negotiated

ip mtu 1492

ip nat outside

encapsulation ppp

dialer pool 1

no cdp enable

ppp authentication chap callin

ppp chap hostname xxx

ppp chap password xxx

!

ip classless

ip route 0.0.0.0 0.0.0.0 Dialer1

ip http server

!

ip nat inside source list 1 interface Dialer1 overload

access-list permit 192.168.10.0 255.255.255.0

no cdp run

Please can somebody specify me how I can give access to my internal hosts to the internet?

Thank you

2 Replies 2

Harold Ritter
Level 12
Level 12

This configuration line is wrong:

access-list permit 192.168.10.0 255.255.255.0

should be

access-list 1 permit 192.168.10.0 255.255.255.0

everything else looks good.

Have you done a bit of troubleshooting? Can you ping from the service provider from the router itself?

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Yes, I'm able to ping any host in the internet and I can use ftp, and other protocols, but i'm unable to use the web browser. I have checked all in my side and everything is correct. So I think that it will be something with telefonica. I know that they have web cache configured for all ADSL connections.

Also if I open my vpn client and I make a connection, I can't reach the hosts of my internal office network. This only happen with this ADSL line.

I will check all this with telefonica, but if you have any idea, please let me know it.

Thanks

Review Cisco Networking for a $25 gift card