cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
5
Helpful
3
Replies

No internet on cisco2811 Router

Rokas Daunoras
Level 1
Level 1

Hello Cisco community,

My task is to create dhcp server on cisco router 2811.

Need help configuring NAT...

Config is working well but i think the problem is at Nat.

Building configuration...

Current configuration : 1052 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot config flash:r2-confg
boot-end-marker
!
! card type command needed for slot/vwic-slot 0/0
logging message-counter syslog
enable secret 5 $1$3bEP$djjScYet2sVtEKDvlpbOd0
enable password cisco2
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
ip cef
ip dhcp excluded-address 10.100.100.1
!
ip dhcp pool DHCP_SERVER
import all
network 10.100.100.0 255.255.255.0
dns-server 213.197.128.71
default-router 10.100.100.1
!
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
no cdp enable
no mop enabled
!
interface FastEthernet0/1
ip address 10.100.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
no cdp enable
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 dhcp
no ip http server
no ip http secure-server
!
!
ip nat inside source list 115 interface FastEthernet0/0 overload
!
access-list 115 permit ip 10.100.100.0 0.0.0.255 any
!
!
!
!
!
!
!
control-plane
!
!
!
ccm-manager fax protocol cisco
!
mgcp fax t38 ecm
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password cisco3
login
!
scheduler allocate 20000 1000
no process cpu extended
no process cpu autoprofile hog
end

2 Accepted Solutions

Accepted Solutions

Hello,

change your access list from:

access-list 115 permit ip 192.168.0.0 0.0.0.255 any

to

access-list 115 permit ip 10.100.100.0 0.0.0.255 any

View solution in original post

Hello

Just would like to add to what gpawen posted

ip dhcp excluded address 10.100.100.1
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 dhcp

ip dhcp pool DHCP_SERVER
import all

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

Hello,

change your access list from:

access-list 115 permit ip 192.168.0.0 0.0.0.255 any

to

access-list 115 permit ip 10.100.100.0 0.0.0.255 any

I agree that the access list used for NAT(PAT) needs to be corrected. But if this is the complete config then NAT/PAT is not the only problem. I do not see any route statements. If there is not at least a route statement for a default route (or for some routing protocol) then that is another reason why there is no Internet access. The route statement might look something like this

ip route 0.0.0.0 0.0.0.0 dhcp

HTH

Rick

HTH

Rick

Hello

Just would like to add to what gpawen posted

ip dhcp excluded address 10.100.100.1
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 dhcp

ip dhcp pool DHCP_SERVER
import all

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card