08-22-2018 03:14 AM
Hello, I have configured DHCP but when I connect computer to this cisco router, then I get DHCP IP but cant connect to Internet. What is wrong in my settings?
!
version 15.5
service tcp-keepalives-in
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname ******
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
logging buffered 128000
no logging rate-limit
no logging console
enable secret *******
!
aaa new-model
!
!
aaa session-id common
ethernet lmi ce
clock timezone CET 1 0
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
!
!
!
!
ip dhcp excluded-address 10.249.111.1
ip dhcp excluded-address 10.249.111.254
!
ip dhcp pool Hnevotin
network 10.249.111.0 255.255.255.0
default-router 10.249.111.1
dns-server 10.249.111.1 8.8.8.8
lease 30
!
!
!
no ip bootp server
no ip domain lookup
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
controller VDSL 0
operating mode auto adsl2+ vdsl2
!
!
!
!
!
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
no atm ilmi-keepalive
!
interface ATM0.50 point-to-point
description WAN
ip address 85.163.13.9 255.255.255.254
atm route-bridged ip
pvc 8/50
vbr-nrt 640 640 1
tx-ring-limit 3
oam-pvc manage 0
encapsulation aal5snap
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
!
interface FastEthernet0
description Broadband Internet
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface Vlan1
ip address 10.249.111.1 255.255.255.0
ip nat outside
ip virtual-reassembly in
!
ip default-gateway 10.249.111.1
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 85.163.13.8
!
!
access-list 1 permit 85.163.3.33
access-list 1 permit 85.163.8.27
access-list 1 remark VTY_ACL
access-list 1 permit 85.163.13.8
access-list 1 permit 80.74.38.0 0.0.0.255
access-list 1 permit 80.74.39.0 0.0.0.255
!
!
!
ipv6 access-list VTY_ACL_V6
deny ipv6 any any
!
control-plane
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
banner motd ^C
---------------------------------------------------------------
---------------------------------------------------------------
^C
!
line con 0
no modem enable
line aux 0
line vty 0 4
access-class 1 in
ipv6 access-class VTY_ACL_V6 in
transport input telnet ssh
line vty 5 15
access-class 1 in
ipv6 access-class VTY_ACL_V6 in
transport input telnet ssh
!
scheduler allocate 20000 1000
!
end
08-23-2018 02:35 AM
! username <user> secret <password> ! enable secret <password> !
cheers,
Seb.
08-23-2018 09:06 PM
Thank You very much.
08-22-2018 03:59 AM
Hello! good morning!
As Seb said you have to configure NAT, following the steps he gave you in order to built your NAT ACL, also your outsite interface have to be the ATM interface and vlan 1 has to be the inside. One thing I need to understad is why your DNS is 10.249.111.1? You have to use the IP of your internal DNS and an external DNS, in case you don't have internal DNS so use 2 external DNSs: dns-server 4.2.2.2 8.8.8.8
Please do not forget to rate useful post.
Best Regards,
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