Link to home
Start Free TrialLog in
Avatar of cp361
cp361

asked on

cisco 2900 x series unable to ping

I'm unable to ping this switch is there something missing in the config file?

here is the current configuration:

Building configuration...

Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Switch
!
enable secret 5 $1$7qhU$vlXkU9VUkuillnoFFHv5Y/
enable password 7 051E0E002E5C460C1C
!
username pbutler privilege 15 password 7 10590D4C060719
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
 spanning-tree portfast
!
interface FastEthernet0/2
 spanning-tree portfast
!
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
!
interface VLAN2
 ip address 192.168.2.10 255.255.255.0
 no ip directed-broadcast
 no ip route-cache
 shutdown
!
!
line con 0
 transport input none
 stopbits 1
line vty 0 4
 password 7 105B01160A071A0E09
 login local
line vty 5 15
 login
!
end

Switch#

I think I'm missing the gateway here and I would like to access it via http

what config changes do I need and how do I make them

Thanks
Avatar of cp361
cp361

ASKER

Forgot to mention other devices are reachable on the 192.168.2.x subnet vlan2
try:
interface VLAN2
no shutdown
you are also going to need to add the switchports to that vlan as well:

interface FastEthernet0/1
switchport mode access
switchport access vlan 2



Avatar of cp361

ASKER

Ok I will run accross the street and give it a try...
Avatar of cp361

ASKER

rfc1180:
this switch is actively running and supporting some critical devices. By doing:
interface FastEthernet0/1
switchport mode access
switchport access vlan 2

This won't take my network down? And does
"interface FastEthernet0/1" refer to port 1? what if something is plugged into it
that won't cause a problem will it?

Thanks
please post:

show int status

Billy
if all your interfaces are on vlan 1, then move the Ip to vlan 1 interface:

interface VLAN1
 ip address 192.168.2.10 255.255.255.0
 no ip directed-broadcast
 no ip route-cache

Billy
Avatar of cp361

ASKER

I think vlan2 is the one being used 1)because the config file shows 192.168.2.10
as the IP of switch and ping I do 'angry ip' (ipscan) of the subnet 192.168.2.1 -255 I'm able to ping and telnet into some of the devices connected to the switch.

Avatar of cp361

ASKER

Ok I will post int status in just a sec have to run accross the street
Avatar of cp361

ASKER

here is the 'sh int vlan1 and vlan2'

Switch#show int vlan1
VLAN1 is up, line protocol is up
  Hardware is CPU Interface, address is 0001.4247.3400 (bia 0001.4247.3400)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:02, output 00:00:12, output hang never
  Last clearing of "show interface" counters never
  Queueing strategy: fifo
  Output queue 0/40, 0 drops; input queue 0/75, 0 drops
  5 minute input rate 1000 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     10117725 packets input, 2866708192 bytes, 0 no buffer
     Received 10117725 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 input packets with dribble condition detected
     550209 packets output, 188170641 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out

Switch#show int vlan2
VLAN2 is administratively down, line protocol is down
  Hardware is CPU Interface, address is 0001.4247.3400 (bia 0001.4247.3400)
  Internet address is 192.168.2.10/24
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA
  ARP type: ARPA, ARP Timeout 04:00:00
i need:

show int status

Thanks
Avatar of cp361

ASKER

sec
Avatar of cp361

ASKER

this is what I get if I don't specify 'valn'

Press RETURN to get started.







Switch>show int status
                    ^
% Invalid input detected at '^' marker.

Switch>enable
Password:
Switch#show int status
                    ^
% Invalid input detected at '^' marker.

Switch#
what type of switch is this, 2950?
Avatar of cp361

ASKER

2900 x series
as vlan1 is up,

just add the ip to vlan 1:

interface VLAN1
 ip address 192.168.2.10 255.255.255.0
 no ip directed-broadcast
 no ip route-cache


see if that works:

This will not cause the network to go down (assuming .10 is not used on your network)

Billy
Avatar of cp361

ASKER

Ok running back across (spelled correctly this time) the street to give a try. It is a beautiful day here in Woodinville ,Wa so it is nice to get out
Avatar of cp361

ASKER

Ok finished have a steady Ip from my PC and still no love no ping response
Avatar of cp361

ASKER

steady ping that is to that ip address
what port is plugged into the 2900.
what IP are you pinging from?
Also it would be nice to know the make/model (show int status should have worked); please post:
show version

Billy
sorry, what port is the PC (The system you are pinging from) plugged into the 2900.
Avatar of cp361

ASKER

my PC is showing

10.1.98.18
255.255.0.0
10.1.2.1

and just a note I can ping every other device connected to that switch.

I ran over to the other bldg and the config change did not take do you think it has anything to do with the fact that both Vlan1 and Vlan2 will have the same address if I were sucessful and configuring vlan1 to 192.168.2.10?
Avatar of cp361

ASKER

simply put I'm not using any port on the 2900 to ping to/from
the only thing I'm connected with is the management cable to a laptop in order to configure the device
yea, so you do need a gateway, I just assumed that the PC was directly connected to the switch

do you have a network diagram that depicts your network. You will need to set:

ip default-gateway x.x.x.x

A router that handles routing for your 10.1.0.0/26 network
10.1.0.0/16 rather
Avatar of cp361

ASKER

Ok so when I find the gateway I will do the following

no interface vlan1
interface VLAN1
ip address 192.168.2.10 255.255.255.0
ip default-gateway x.x.x.x
no ip directed-broadcast
no ip route-cache

does this look correct?
ASKER CERTIFIED SOLUTION
Avatar of rfc1180
rfc1180
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cp361

ASKER

Ok sounds good I will track the gateway down and update here after lunch

thanks again
yeah, me lunch too!

Good luck
Avatar of cp361

ASKER

OK I think this will work if I can determine the gateway so I will go ahead and close this..

Thanks for your help

Best

Dana
Avatar of cp361

ASKER

Was able to test with a gateway of 192.168.10.1 and all is well
I can telnet and http to the switch life is good!
Nice! Glad to hear

Billy