cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6119
Views
30
Helpful
26
Replies

Connection problem

Jeromy Polachak
Level 1
Level 1

Hello everyone,

I have a 2611XM router that im trying to connect to the internet. Basically its set up below.

*Cable Modem plugs into my router F0/0 port.

*Router F0/1 plugs into my switch(2950G) port one and then port 2 is then plugged into my computer.

But i am not getting it to work, what am i missing? Is the configuration needing to be set up properly? Should i be checking the switch or the router? Commands i need to type in to help you give you more information?

THANK YOU!

Jeromy       

Jeromy
26 Replies 26

outer#show run
Building configuration...

Current configuration : 736 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
description TO ISP
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
description TO LAN
ip address 192.168.1.10 255.255.255.0
ip nat inside
shutdown
duplex auto
speed auto
!
ip nat inside source list 10 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip http server
!
!
ip access-list standard INTERNET-BOUND-ACL
access-list 10 permit 192.168.1.0 0.0.0.255
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

Jeromy

Jeromy

I am not sure why your router is not taking the IP ACL subcommand.  However, it looks like your configuration is correct using regular ACL. 

Please enable FastEthernet0/1:

interface FastEthernet0/1

no shutdown

To cleanup, you can remove the ACL that is not in use:

no ip access-list standard INTERNET-BOUND-ACL

Ok you guys have been awesome and really helping me. I believe im super close. I can ping www.yahoo.com from my router. But i still don't have internet connection on my computer(i believe maybe something wrong with my computer settings?) The firewalls are down, and i set the internet settings on ip address as of 192.168.1.1 mask as 255.255.255.0 and the default gateway as 192.168.1.10. Shouldn't i have access to the internet now?

Router#show run
Building configuration...

Current configuration : 681 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
description TO ISP
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
description TO LAN
ip address 192.168.1.10 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip nat inside source list 10 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip http server
!
access-list 10 permit 192.168.1.0 0.0.0.255
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

Jeromy

Jeromy

Make sure you also configure DNS on your computer.  Try Google's public DNS servers 8.8.8.8 and 8.8.4.4

Can you ping an public IP address from your computer such as 8.8.8.8?

Hi,

Could you post 'ipconfig/ all' from PC?

Is your PC connected behind the 2611 router or 2950 switch? Also, make sure to use the right cable (i.e. straight or cross).

You could also enable DHCP on the router in order to hand out dynamic private IP addresses:

ip dhcp excluded-address 192.168.1.10
ip dhcp pool POOL-NAME
import all
network 192.168.1.0 /24
default-router 192.168.1.10
dns-server ISP-DNS

Please remember to rate useful posts. Thanks!


Sent from Cisco Technical Support iPhone App

I will definitely be sure to rate you guys, you have been awesome. My computer is set up like this. Cable modem, to router (fa0/0), router fa0/1 to switch 0/1, switch 0/2 to computer. I can ping 8.8.8.8 and 8.8.4.4 from the command prompt but i can't pull up web browsers. router to switch is a straight through, cable modem to router is straight through, and switch to computer is straight through.

Jeromy

Jeromy

As Daniel pointed out, you've probably missed adding DNS on your TCP/IP settings since you can ping public IPs but not a FQDN or hostnames.

Trying adding DNS IP manually or enable DHCP as suggested earlier.

Sent from Cisco Technical Support iPhone App

What do you need from ipconfig /all, it won't let me copy it.

Jeromy

Jeromy

I did your dns configuration and no luck. below is the running config with the updates you gave me.

Router#show run
Building configuration...

Current configuration : 850 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
ip dhcp excluded-address 192.168.1.10
!
ip dhcp pool POOL-NAME
   import all
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.10
   dns-server 8.8.8.8
!
!
!
!
interface FastEthernet0/0
description TO ISP
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
description TO LAN
ip address 192.168.1.10 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip nat inside source list 10 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip http server
!
access-list 10 permit 192.168.1.0 0.0.0.255
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

Jeromy

Jeromy

You either need to add dns manually if you are keeping your static ip on your workstation, or change your workstation back to dhcp so you can acquire ip settings from your dhcp pool in the router.

* you beat me to it John

Sent from Cisco Technical Support iPhone App

YOU TWO ARE AWESOME!!!! ALL WORKING, i can't thank you all enough!... Wanna hear something funny, the last message because i didn't get it and its 3:00 am here, i was like im going to bed, shut the routers and switches off, didn't copy run start lol lost it all, but it was good practice to run through it all again. I didn't do the last part about the DNS part( the part where i was missing it on my internet connection was the key) but the part below i didn't do and still worked, not sure whats that for. *****P.S. what were great learning tools for you to learn all of this or did you all go to classes? I bought routers and switches and even got my CCNA from studying from book and taking notes till my fingers were sore, but i never understand the whole bigger picture and how to do everything, so im restudying everything and doing labs because the new test they just came out with is a much better book, but this stuff still doesn't explain it well enough and looking for more resources, any help is greatly appreciated!!! thank you very much!!!

ip dhcp excluded-address 192.168.1.10

ip dhcp pool POOL-NAME

import all

network 192.168.1.0 /24

default-router 192.168.1.10

dns-server ISP-DNS

ip dhcp excluded-address 192.168.1.10

ip dhcp pool POOL-NAME

import all

network 192.168.1.0 /24

default-router 192.168.1.10

dns-server ISP-DNS

Jeromy

Jeromy

Hi,

Thanks for your feedback and glad it's all good now. I did CCNA NetAcad and learned a lot (still learning though) from my job and doing practise labs.

The CSC forum is also a great resource for obtaining other networking folks' knowledge and experience. What you're doing is fine. Just keep it up and you'll get the hang of it.

Appreciate if you could mark this thread answered/resolved. Thanks and good luck!

Sent from Cisco Technical Support iPhone App

Review Cisco Networking for a $25 gift card