• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

Cisco Router DSL config

I'm cofiguring a 2811 router for internet access through a dsl modem. the modem is doing the pppoe negotiation so the interface on the router is set for DHCP. attached is my current config. what do I need to get internet access working?
0
dtadmin
Asked:
dtadmin
  • 3
1 Solution
 
dtadminAuthor Commented:
Celebration2811#sh run
Building configuration...

Current configuration : 1191 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Celebration2811
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 10.30.39.2 10.30.39.20
!
ip dhcp pool Celebration
   network 10.30.39.0 255.255.255.0
   dns-server 10.1.200.108 10.1.200.16 10.1.200.45
   netbios-name-server 10.1.200.17
   default-router 10.30.39.1
!
!
!
voice-card 0
 no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 description outside DSL service
 ip address dhcp
 ip nat outside
 duplex auto
 speed auto
!
interface FastEthernet0/1
 description Internal Network
 ip address 10.30.39.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
!
no ip http server
no ip http secure-server
!
access-list 101 permit ip 10.30.39.0 0.0.0.255 10.1.0.0 0.0.255.255
access-list 110 permit ip 10.30.39.0 0.0.0.255 any
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
 login
!
scheduler allocate 20000 1000
!
end

0
 
Istvan KalmarHead of IT Security Division Commented:
ip dhcp pool Celebration
 import all
0
 
Istvan KalmarHead of IT Security Division Commented:
and you need to add nat:

ip nat inside source list 110 interface fast 0/0 overload
0
 
t509Commented:

Additionally I wouldn´t recommend sending every DNS query to the external net, instead use the IOSes DNS-Server.

You can easily add DNS functionality to the router.

ip name-server 10.1.200.108
ip dns server
ip domain-lookup

ip dhcp pool Celebration
   network 10.30.39.0 255.255.255.0
   dns-server 10.30.39.1 <- The routers IP address itself
   netbios-name-server 10.1.200.17
   default-router 10.30.39.1

0
 
Istvan KalmarHead of IT Security Division Commented:
you need 'import all' if you want to use local DNS server......
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now