cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1055
Views
0
Helpful
10
Replies

Connection issues

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
10 Replies 10

Jeromy Polachak
Level 1
Level 1

My computer can ping my router, but my router can not ping my computer?

Jeromy

Jeromy

Hi Jeromy,

you have duplicate question in another section of this forum.

First id depens how is your switch configured. Are ports 1 and 2 of switch in the same VLAN?

Second you will need to configure your router to obtain IP address from Cable modem. Then you will have to configure IP address for F0/1 interface fo the router and so on.

What type of router do you use?

Please post sh run of switch and router.

Regards,

Jan

Jeromy Polachak
Level 1
Level 1

I keep switching from my computer so i have access and then back to the router/cable modem/switch configuration. Should ports 1 and 2 be in the same vlan or different vlans?(im guessing same which i believe they are) ...I do know i set up the FA0/1 port on my router to be the default gateway through configuration which might be wrong because your saying obtain the IP address from the cable modem? (how do i do that?) I will sign off and get the sh run information for you right now so you can see it in like 3 minutes.

Jeromy

Jeromy

Jeromy Polachak
Level 1
Level 1

R2#show run
Building configuration...

Current configuration : 504 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
ip classless
no ip http server
!
!
line con 0
password jeromy
logging synchronous
line aux 0
line vty 0 4
login
!
end

Jeromy

Jeromy

Hi Jeormy,

please also post switch configuration.

I assume this topology:

Cable modem ---- f0/0-router-f0/1------f0/1switchf0/2-------PC.

Probably cable modem is configured like DHCP server so he will provide Ip address for your router on interface f0/0

Try configure this:

interface FastEthernet0/0

ip address dhcp

no shutdown

you should obtain IP address from cable modem. To check it issue this command

sh ip interface brief

and then we will continue...

Regards,

Jan

Switch#show run
Building configuration...

Current configuration : 1829 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Fa0/25, Fa0/26, Fa0/27, Fa0/28
                                                Fa0/29, Fa0/30, Fa0/31, Fa0/32
                                                Fa0/33, Fa0/34, Fa0/35, Fa0/36
                                                Fa0/37, Fa0/38, Fa0/39, Fa0/40
                                                Fa0/41, Fa0/42, Fa0/43, Fa0/44
                                                Fa0/45, Fa0/46, Fa0/47, Fa0/48
                                                Gi0/1, Gi0/2

R2#show run
Building configuration...

Current configuration : 483 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
ip classless
no ip http server
!
!
line con 0
password jeromy
logging synchronous
line aux 0
line vty 0 4
login

Jeromy

Jeromy

Great. So your switch is in default setting. All ports seems to be in VLAN1(default).

Now check if you have IP address assigned from cable modem on router this command:

sh ip interface brief

you should see something like this

Router#sh ip inter brief

Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        10.0.0.1        YES DHCP   up                    up

FastEthernet0/1        192.168.1.1     YES manual up                    up

Router#

If IP address will be present on both interfaces we can check LAN connectivity with router from your PC.

Setup your PC to have unique IP from your subnet 192.168.1.0 mask 255.255.255.0 gayeway 192.168.1.1

And let me know if you can ping router. Please check that you have firewall turned off on your PC.

Jan

Ok it pinged both of them! However, it wasn't letting me use the internet with that setup?


R2#ping 192.168.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/17/24 ms
R2#
00:12:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down

I also have a cisco linksys E3000 which im not wanting to use. Im wanting to use the 2611XM, however i don't think the 2611XM is not able to use wireless which i also need wireless set up at the house. I was t hinking i could just plug the cisco E3000 to a switch port(3) and it would give wireless but no luck... but moreso im missing a key component because my one computer with all the routers and switches that are set up didn't have internet connection(however i was able to ping from router to computer and vise versa)? hmmm Your help is greatly appreciated btw.

Jeromy

Jeromy

Jeromy Polachak
Level 1
Level 1

Below is my switch details, i think this is why its not connecting to the internet properly? Also this is a horrible experience, why is this so hard? There isn't a step by step place to find out how to set up a home lab? Because the book is horrible i have the third edition and the brand new edition for ccent and ccna for the brand new tests. Cisco why do you make it so difficult for probably the simpliest jobs to ever do

Switch#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

Vlan1                      192.168.1.200   YES NVRAM  up                    up 

FastEthernet0/1            unassigned      YES unset  up                    up 

FastEthernet0/2            unassigned      YES unset  up                    up 

FastEthernet0/3            unassigned      YES unset  down                  down

FastEthernet0/4            unassigned      YES unset  down                  down

Switch#show ip interface brief

Interface                  IP-Address      OK? Method Status                Protocol

Vlan1                      192.168.1.200   YES NVRAM  up                    up 

FastEthernet0/1            unassigned      YES unset  up                    up 

FastEthernet0/2            unassigned      YES unset  up                    up 

FastEthernet0/3            unassigned      YES unset  down                  down

FastEthernet0/4            unassigned      YES unset  down                  down

Jeromy

Jeromy

Hi Jeromy,

you didn't read my last answer well. I told you do sh ip interface brief  on router not on switch but this output would be also useful.

It is little bit harder because devices you use has many functions and features and when you will practice hard I can ensure you that in half year you will see it little bit easier.

Tell me.

Are you able ping modem from PC.

Is modem able to reach internet? Is modem corectly configured?

Jan

Review Cisco Networking for a $25 gift card