08-05-2016 04:23 AM - edited 03-08-2019 06:53 AM
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
Solved! Go to Solution.
08-05-2016 07:27 AM
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.
08-05-2016 07:27 AM
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.
08-05-2016 04:16 PM
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
08-05-2016 05:28 PM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide