03-21-2017 10:22 AM - edited 07-05-2021 06:43 AM
I have set up a Cisco 877W router to connect to our business broadband, however it doesn't give out DNS information to the clients.
A client will get an IP Address from DHCP ok, but doesn't get any DNS information. I would expect that it would get one of the Open DNS server IP Addresses as its DNS server.
I have included the config below.
Current configuration : 4851 bytes
!
version 12.3
no service pad
service timestamps debug uptime
service timestamps log datetime localtime
service password-encryption
!
hostname ch_adsl_router
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
enable secret 5 $1$3N1o$6G84AGWAHy0mAUw1HB67A.
!
username response privilege 15 secret 5 $1$QO99$fHpHFUdFeHnCy0Ox7zSuE.
clock timezone gmt 0
clock summer-time BST recurring last Sun Mar 2:00 last Sun Oct 2:00
no aaa new-model
ip subnet-zero
ip cef
ip dhcp excluded-address 172.25.50.1 172.25.50.10
!
ip dhcp pool dpool1
network 172.25.50.0 255.255.255.0
default-router 172.25.50.4
dns-server 208.67.222.222 208.67.220.220
!
!
ip domain name response-ad.com
ip name-server 208.67.222.222
ip name-server 208.67.220.220
ip ssh version 2
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
no ftp-server write-enable
!
!
!
!
!
bridge irb
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface Dot11Radio0
no ip address
!
encryption mode ciphers tkip
!
encryption vlan 1 mode ciphers tkip
!
ssid CH_Wifi
vlan 1
authentication open
authentication key-management wpa
guest-mode
wpa-psk ascii 7 0001595E457D08173A
!
world-mode dot11d country GB outdoor
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
no cdp enable
!
interface Dot11Radio0.1
encapsulation dot1Q 1 native
ip virtual-reassembly
no cdp enable
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 spanning-disabled
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
!
interface Vlan1
no ip address
ip nat inside
ip virtual-reassembly
bridge-group 1
!
interface Dialer1
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip route-cache flow
ip tcp adjust-mss 1452
dialer pool 1
ppp authentication chap callin
ppp chap hostname ek005t3171@adsl.vmbusiness.net
ppp chap password 7 08735F430C111C1A1E
!
interface BVI1
ip address 172.25.50.4 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip http server
ip http authentication local
ip http secure-server
ip nat pool dpool1 172.25.50.11 172.25.50.250 netmask 255.255.255.0
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 172.25.50.0 0.0.0.255
dialer-list 1 protocol ip permit
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
banner login ^CCCCCC
**************************************************************************
* *
* Un-authorized Access Is Strictly Prohibited. *
* If You Have Not Been Granted Permission To Access This Device, *
* Disconnect Now! *
* *
* *
* All access attempts will be logged. *
**************************************************************************
^C
banner motd ^CCCCCCC
_________ .__
\_ ___ \_____ ____________ |__|____ ____
/ \ \/\__ \ / ___/\____ \| \__ \ / \
\ \____/ __ \_\___ \ | |_> > |/ __ \| | \
\______ (____ /____ >| __/|__(____ /___| /
\/ \/ \/ |__| \/ \/
___ ___
/ | \ ____ __ __ ______ ____
/ ~ \/ _ \| | \/ ___// __ \
\ Y ( <_> ) | /\___ \\ ___/
\___|_ / \____/|____//____ >\___ >
\/ \/ \/
_____ ________ _________.____
/ _ \ \______ \ / _____/| |
/ /_\ \ | | \ \_____ \ | |
/ | \| ` \/ \| |___
\____|__ /_______ /_______ /|_______ \
\/ \/ \/ \/
__________ __
\______ \ ____ __ ___/ |_ ___________
| _// _ \| | \ __\/ __ \_ __ \
| | ( <_> ) | /| | \ ___/| | \/
|____|_ /\____/|____/ |__| \___ >__|
\/ \/
^C
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
transport preferred all
transport output all
line vty 0 4
privilege level 15
login local
transport preferred all
transport input telnet ssh
transport output all
!
scheduler max-task-time 5000
end
03-21-2017 12:27 PM
This issue was answered in a previous post Sir.
https://supportforums.cisco.com/discussion/10981336/dns-not-working-cisco-877
HTH,
William Kuczmera
03-21-2017 01:53 PM
I came across that post, hence why I have configured the ip name-server command and the dns-server command within the dhcp pool.
I still dont get any DNS info passed to the client.
03-22-2017 05:52 AM
Issue seems to be resolved. It looks like it is an issue with the DHCP lease.
When I connect today, I am getting the DNS information and can access the Internet ok.
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