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

Using a catalyst 2900 XL as an unmanaged switch

ece344609_2
Level 1
Level 1

I have an old catalyst 2900XL switch that I want to use as an unmanaged swtich.  For some reason it does not work.  The setup I am using to test this works with a netgear so I know it is not the cables or the devices.

Can someone please let me know what I am doing wrong?  Thanks.

Below are the show run and show int status outputs:

Switch#show run
Building configuration...

Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
!
ip subnet-zero
!
!
!
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
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface VLAN1
no ip directed-broadcast
no ip route-cache
!
!
line con 0
transport input none
stopbits 1
line vty 5 15
!
end

Switch#sh int status

Port    Name               Status       Vlan     Duplex Speed   Type
------- ------------------ ------------ -------- ------ ------- ----
Fa0/1                      connected    1        A-Full   A-100 100BaseTX/FX
Fa0/2                      connected    1        A-Full   A-100 100BaseTX/FX
Fa0/3                      connected    1        A-Full   A-100 100BaseTX/FX
Fa0/4                      notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/5                      notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/6                      connected    1        A-Full   A-100 100BaseTX/FX
Fa0/7                      notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/8                      notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/9                      notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/10                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/11                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/12                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/13                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/14                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/15                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/16                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/17                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/18                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/19                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/20                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/21                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/22                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/23                     notconnect   1          Auto    Auto 100BaseTX/FX
Fa0/24                     notconnect   1          Auto    Auto 100BaseTX/FX

10 Replies 10

Jon Marshall
Hall of Fame
Hall of Fame

What exactly is not working ?

Jon

Does not connect to the internet.  None of the clients are getting an IP address through DHCP, which they do when I switch them back to the netgear.

Sorry should have been more clear.

ece344609 wrote:

Does not connect to the internet.  None of the clients are getting an IP address through DHCP, which they do when I switch them back to the netgear.

Sorry should have been more clear.

Okay so every port is in vlan 1. What is this connected to ie. for internet connectivity. What is the port that is connected to the internet device on this switch ?

Where should the DHCP address be coming from ?

Jon

The "uplin" is port 1.  The IP Address should be coming from port 1.

ece344609 wrote:

The "uplin" is port 1.  The IP Address should be coming from port 1.

A bit more info might help as we can't yet read minds

Can you show the topology.

What device is handing out IP addresses

Which device (PC presumably) on the switch is not getting an IP, which port on the switch ?

If you hardcode an IP on the PC from the correct range can you connect to the internet ?

Jon

Leo Laohoo
Hall of Fame
Hall of Fame

Jon's right.  What was the Netgear switch doing before?  Was it also acting as the DHCP server too?  Is it just a switch or your xDSL model as well?

The DHCP server is on port 1.  All the clients are on the rest of the connected ports.

All I am trying to do in the test environment is replace the netgear switch which is NOT acting as a DHCP server.

Jon, I have not tried hardcoding the IP Address since I know and can confirm the DHCP server is handing out IP addresses when I replace the Cisco switch with the netgear.

It is a pretty simple topology with the uplink (DHCP services, outbound internet) on port 1 and all the clients on the rest of the ports.

Hopefully this makes it a little more clear.

Thanks.

Try adding:

spanning-tree portfast

to each interface that is or could be connected to a host.   So your config would look like this:

interface FastEthernet0/1
spanning-tree portfast

!
interface FastEthernet0/2
spanning-tree portfast

!
interface FastEthernet0/3
spanning-tree portfast

!

interface FastEthernet0/4
spanning-tree portfast

!

...

etc.
 

So if I interpret correctly, you have a 24-port switch where in first port is connected to a DHCP server

and the rest are hosts.

The hosts are unable to receive IP addresses from the DHCP server, please confirm if we are right till here

Palukuri that is correct and again let me reiterate that when I replace the catalyst with a 4 port

unamanged netgear switch (it is only switching) everything works perfectly.

Andy I am going to give the portfast a try and report back.

Thanks all.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: