11-27-2008 06:36 AM - edited 03-06-2019 02:42 AM
Hi All,
I have just configure an ADSL interface on a router to dynamically connect to BT network for internet connection.
Below is my running config:
!
interface ATM0/1/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 0/38
dialer pool-member 1
protocol ppp dialer
!
!
!
interface Dialer1
description ADSL Interface
ip address DHCP
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap hostname xxxxxxxxxxxxxxx
ppp chap password xxxxxxxxxxx
ppp pap sent-username xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Question:
1. Please How do I configure my Dialer1 interface to automatically request a DNS from the BT network?
2. Which do I need to configure on my Dialer1 interface, is it "ip address DHCP" or "ip address negociated"
3. Do I need to configure an "ip nat pool"?
Cheers!
Solved! Go to Solution.
12-03-2008 03:02 AM
Hello Law,
I think there is a little config mismatch in NAT
ip nat inside source list 100 interface Dialer1 overload
access-list 100 permit ip 192.168.0.0 0.0.0.255 any
but f0/0 uses
192.168.2.0/24
so nat is never triggered
you can check nat with
sh ip nat translations
sorry I didn't see before
Hope to help
Giuseppe
12-03-2008 03:19 AM
Thanks Giuseppe,
when I type in "sh ip nat translations", nothing is shown or displayed.
Though the router is not connected to the internet right now. I mean no adsl cable is connected to the interface.
What do you suggest the correct NAT statement should be If you feel there is a mismatch in the config?
Thanks
12-03-2008 03:36 AM
Hi Law,
Guiseppe, there is an access-list misconfiguration for NAT, the correct access-list would be
access-list 100 permit ip 192.168.0.0 0.0.255.255 any
This will permit all address from major networks to be NAtted to the public address.
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
192.168.5.0/24
Remember I gave you that access-list (currently in your config) previously as an example.
Also make sure you set your DNS server on the PC and give it a go.
HTH
Lejoe
12-03-2008 03:50 AM
Thank you all. I very much appreciate all your help.
I have now changed the list to
access-list 100 permit ip 192.168.0.0 0.0.255.255 any
I will give it a go and inform you what happen.
Regards to you all,
12-03-2008 03:58 AM
No worries, It's been long as length of this thread would indicate that you've been running behind the problem. Hopefully this should resolve things 🙂
Please get back if you run into any problems.
Lejoe
12-03-2008 07:31 AM
I am now Up and Running!!!
Thank you all for your support.
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