cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2496
Views
0
Helpful
23
Replies

cisco 881 cant access internet

cardmaker
Level 1
Level 1

Hello, from console i cant ping google.com or ping 4.2.2.1 form my router.

 

here is my config

Current configuration : 1976 bytes
!
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
enable secret 5 $1$MIpR$pornU7ZCXJR68ina5z7sV1
!
no aaa new-model
!
!
!
!
!

ip dhcp excluded-address 10.0.0.100 10.0.0.150
ip dhcp excluded-address 10.0.0.20
ip dhcp excluded-address 10.0.0.1
!
ip dhcp pool net
 network 10.0.0.0 255.0.0.0
 default-router 10.0.0.1
 dns-server 10.53.XX.XXX
!
ip dhcp pool rede
 import all
 default-router 10.0.0.1
 dns-server 212.1XX.XX.XX
!
!
!
ip cef
no ipv6 cef
!

multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C881-K9 sn XXXXXXXXXXXX
!
!
username dom password 0 cisco
!
!
!
!
!
!
!

interface FastEthernet0
 switchport access vlan 2
 no ip address
!
interface FastEthernet1
 switchport access vlan 2
 no ip address
!
interface FastEthernet2
 switchport access vlan 2
 no ip address
!
interface FastEthernet3
 no ip address
!
interface FastEthernet4
 ip address dhcp
 ip nat outside
 ip nat enable
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
!
interface Vlan2
 description Connection to SW1
 ip address 10.0.0.20 255.0.0.0
 ip nat inside
 ip virtual-reassembly in
!
ip forward-protocol nd
ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface FastEthernet4 overload
ip nat inside source list 101 interface FastEthernet4 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet4
!
!
access-list 101 permit ip 10.0.0.0 0.255.255.255 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
!
!
!
!
!
line con 0
 no modem enable

line aux 0
line vty 0 4
 password cisco
 login
 transport input all
line vty 5 15
 password cisco
 login
 transport input all
!
scheduler allocate 20000 1000
!
end

 

my ISP is cable modem and ip dhcp, any sugestions?

 

23 Replies 23

i add your commands:

ip dhcp pool net
dns-server 8.8.8.8 8.8.4.4

the answer at sh ip dhcp import now dont display any dns.

and some times internet now back connection like you can see
 

cisco#ping google.com
Translating "google.com"...domain server (10.53.0.235) (10.53.0.236)...reusing cache entry

Translating "google.com"...domain server (10.53.0.235) (10.53.0.236)...reusing cache entry

Translating "google.com"...domain server (10.53.0.235) (10.53.0.236)...reusing cache entry

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.58.211.238, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 620/768/1100 ms
cisco#ping google.com
Translating "google.com"...domain server (10.53.0.235) (10.53.0.236)...reusing cache entry

Translating "google.com"...domain server (10.53.0.235) (10.53.0.236)...reusing cache entry

Translating "google.com"...domain server (10.53.0.235) (10.53.0.236)...reusing cache entry

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.58.211.238, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 584/689/752 ms
cisco#sh ip dhcp import

Address Pool Name: net

cisco#

Hello , i open again this discusion , hope this time i solve this issue.

 

still not having internet in the client pc , form the router c881 i can ping google.com

and also i can ping form my pc the router itself.

 

here my new config.

router#sh run
Building configuration...

Current configuration : 1487 bytes
!
! Last configuration change at 15:01:13 UTC Sat Sep 26 2015
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
enable secret 5 $1$Dokk$2rfvd.8LmDET9pez7eZmp0
enable password cisco
!
no aaa new-model
!
!
!
!
!
!


!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C881-K9 sn FCZ184394JQ
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
 no ip address
!
interface FastEthernet1
 no ip address
 shutdown
!
interface FastEthernet2
 no ip address
 shutdown
!
interface FastEthernet3
 no ip address
!
interface FastEthernet4
 ip address 192.168.1.2 255.255.255.0
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface Vlan1
 ip address 10.0.0.254 255.0.0.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 0.0.0.0 0.0.0.0 FastEthernet4
!
!
snmp-server community cisco RO
access-list 1 permit any
access-list 101 permit ip 0.0.0.0 255.255.255.0 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
!
!
!
!
!
line con 0
 no modem enable
line aux 0
line vty 0 4
 password cisco
 login
 transport input all
!
scheduler allocate 20000 1000
!
end

atached at the wan port (f4) i have a cable modem whit static ip 192.168.1.1

 

any help?

Hello

Your configuration has changed considerably,

First of all it looks like nat is arleady being performed on device 192.168.1.1 ( isp router?)

Really there is no need for this, unless you more then 254 hosts  on your network?

With that in mind, can you try the following:

int fa0/4
Description ISP interface
no ip nat outside
no ip adddress
switchport host
switchport access vlan 2


int fa0/0
description host pc
switchport host
switchport access vlan 2

int fa0/1
description host pc
switchport host
switchport access vlan 2

 

int fa0/2
description host pc
switchport host
switchport access vlan 2

int fa0/3
description host pc
switchport host
switchport access vlan 2



int vlan 1
no ip address

int vlan 2
ip address 192.168.1.2 255.255.255.0

no ip route 0.0.0.0 0.0.0.0 FastEthernet4

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

hello, many thanks for your help.

yes nat is arleady being performed on device 192.168.1.1 and is my isp router.

just need 2 hosts on my network.

soo i perform i new erase and put yours configs like you said but interface f4 cnat be assigned an switchport

Router(config)#int f4
Router(config-if)#switchport access vlan2
                   ^
% Invalid input detected at '^' marker.
 

so now i dont have internet access in router


Router#ping google.com
Translating "google.com"...domain server (255.255.255.255)
% Unrecognized host or address, or protocol not running.

 

i cannot ping modem.

on client pc yes is ok i can ping router cisco and pc client form router.

here is my new config:

 


Router#sh run
Building configuration...

Current configuration : 1245 bytes
!
! Last configuration change at 09:03:44 UTC Sun Sep 27 2015
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
!
!
!
!
!
!


!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C881-K9 sn FCZ184394JQ
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
 description host pc
 switchport access vlan 2
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface FastEthernet3
 no ip address
!
interface FastEthernet4
 description ISP interface
 no ip address
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
!
interface Vlan2
 ip address 192.168.1.2 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
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
!
!
!
!
!
line con 0
 no modem enable
line aux 0
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
!
end

 

i think now the problem is whit int f4 ?

just to remenber interface f4 is wan port too.

Hello

Okay try this;

 

int fa0/0

switch port access vlan 1

 

no int vlan 2

int vlan 1

ip address 192.168.1.2 255.255.255.0

 

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

i apply your change but still not ping internet or the modem,

here i change for vlan 1 like you said

Router#sh vlan-switch

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0, Fa1, Fa2, Fa3
2    rede                             active
3    sat                              active
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
2    enet  100002     1500  -      -      -        -    -        0      0
3    enet  100003     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0
Router#

 

and here the new config


Router#sh run
Building configuration...

Current configuration : 1186 bytes
!
! Last configuration change at 18:50:19 UTC Sun Sep 27 2015
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
!
no aaa new-model
!
!
!
!
!
!


!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C881-K9 sn FCZ184394JQ
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
 description host pc
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface FastEthernet3
 no ip address
!
interface FastEthernet4
 description ISP interface
 no ip address
 duplex auto
 speed auto
!
interface Vlan1
 ip address 192.168.1.2 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
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
!
!
!
!
!
line con 0
 no modem enable
line aux 0
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
!
end

 

Hello

I don't seet the default route do you still have This?

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

no, do i have to put

ip route 0.0.0.0 0.0.0.0 FastEthernet4 ?