cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1998
Views
0
Helpful
3
Replies

Can't connect to the internet

sash1010
Level 1
Level 1

I can't connect to the Internet, my router is Cisco 881, I have an OpenWRT router connected  to internet which has the local address 192.168.1.1 and distributes addresses with DHCP - he just working great. I connect in this way:

internet => openwrt => cisco881 => my computers

 

If I configure my cisco port 4 on DHCP (ip address dhcp) all works, i have internet, but I want to set static address on Cisco, for example 192.168.1.50. I set this

ip address 192.168.1.50 255.255.255.0

  I have ping to the openwrt 192.168.1.1 but not outsidе - no 8.8.8.8, no www.google.com, nothing.

Router#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Router#ping 8.8.8.8    
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Router#

 

Help me if you can?

 

interface FastEthernet4
 ip address 192.168.1.50 255.255.255.0
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface Vlan1
 ip address 192.168.11.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface FastEthernet4 overload
!
!         
access-list 1 permit 192.168.11.0 0.0.0.255

 

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

you mean when you set as DHCP it works from the router you able to ping 8.8.8.8 ?

 

DHCP giving you Route - since you configuring static you need to add a static route (have you ? as per the config we did not see)

 

added route and test it.

 

ip route 0.0.0.0 0.0.0.0  192.168.1.1

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

you mean when you set as DHCP it works from the router you able to ping 8.8.8.8 ?

 

DHCP giving you Route - since you configuring static you need to add a static route (have you ? as per the config we did not see)

 

added route and test it.

 

ip route 0.0.0.0 0.0.0.0  192.168.1.1

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks!

This is so simple , i spend 2 days reading manuals from cisco, they have all, but not these base things. 

 

Thanks man!

Glad all good. It's all learning lessons all time.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help