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

Internet problem

Hi guys,

I have a hybrid wireless router at home (Router + switch) . Until yesterday I've had internet connection via wi-fi connection. 

Yesterday I bought a cisco catalyst 2950 ( IOS 12.2 ) . This switch was connected to the ISP wireless router to a lan port and my laptop was connected to the switch via cable. 

How can I configure the switch or router to have internet to my laptop via ethernet cable not via wireless. 

I'm new to cisco, currently I'm at cisco ccna 2 module.

Need a little help, please!

Cristian

1 Accepted Solution

Accepted Solutions

chrihussey
VIP Alumni
VIP Alumni

Check to see if when you connect your laptop directly to the ISP wireless router LAN port if you get an IP address and have access to the Internet. (Make sure your laptop's wireless adapter is not on at the same time). If that doesn't work that is where you need to start.

If it does work, then connect the switch to the ISP router, your laptop to the switch and make sure the interfaces are up. If the interface to the ISP router is not up, you may need a cross over cable. If it is up, then also make sure you configure "spanning-tree portfast" on the ports. Without it the switch won't allow packets on an interface when it first comes up for about 45 seconds while spanning tree does its thing. Without it DHCP could timeout and you won't resolve an IP.

Hope something here helps you out.

View solution in original post

3 Replies 3

chrihussey
VIP Alumni
VIP Alumni

Check to see if when you connect your laptop directly to the ISP wireless router LAN port if you get an IP address and have access to the Internet. (Make sure your laptop's wireless adapter is not on at the same time). If that doesn't work that is where you need to start.

If it does work, then connect the switch to the ISP router, your laptop to the switch and make sure the interfaces are up. If the interface to the ISP router is not up, you may need a cross over cable. If it is up, then also make sure you configure "spanning-tree portfast" on the ports. Without it the switch won't allow packets on an interface when it first comes up for about 45 seconds while spanning tree does its thing. Without it DHCP could timeout and you won't resolve an IP.

Hope something here helps you out.

Hi,

Everything was done as you said, still does not work, my laptop NIC don't get an IP from router DHCP when laptop is linked to 2950 switch.

This is the configuration I made on SW. interfaces:

hostname SW1
!
enable secret 5 $1$EO/o$ZY8lwrp3foHheSHKuR9bM1
!
username admin password 0 cisco
ip subnet-zero
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
interface FastEthernet0/1
switchport mode trunk
switchport nonegotiate
mls qos trust cos
macro description cisco-switch
spanning-tree link-type point-to-point
!
interface FastEthernet0/2
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
mls qos cos override
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable

Problem solved after I replaced the utp straight cable from ISP hybrid router with a crossover cable. My NIC got an IP address now!

Thank you very much!