Catalyst 2900 IP address

Posted on 2004-10-12
Last Modified: 2010-04-17

How can I see the IP address of the switch, is it the below reported x.y.z.19 ?
Or is it the address of the first PC in VLAN1 ?

Switch#sh run
<text omitted>
interface FastEthernet0/26
interface Vlan1
 ip address x.y.z.19
 no ip route-cache
ip default-gateway x.y.z.1
ip http server
<text omitted>
Question by:minicuc
  • 2
  • 2
LVL 13

Expert Comment

ID: 12285678
On that switch the IP address of VLAN, 1, is the IP address of that switch. If it doesn't match the network addresses of your PC's you will probably want to change it so you can manage it remotely from your PC’s.

Expert Comment

ID: 12286196
VLAN 1 is the default management VLAN.  An address is assigned here so that you can manage the switch.

1. If you only have a single network, the management address of the switch should match your workstation network
2. If you have a routing device and want to separate your management VLAN from your normal network traffic you can have a separate management VLAN, thus a separate addressing scheme

Author Comment

ID: 12286250
Actually i have that IP address information (x.y.z.19
and I know there is the switch and then connected to it there is only 1 PC.

I want to find out if x.y.z.19 is actually the IP of the switch or of the PC (so if I ping x.y.z.19 who is answering me ?). What if the IP of the switch were not configured at all ?

Accepted Solution

netspec01 earned 125 total points
ID: 12286383
The address on the VLAN is the management address of the switch.  If you don't have an IP address on the management interface you will be unable to perform telnet, http, snmp, syslog and other remote management functions.
LVL 13

Expert Comment

ID: 12286782
If you type ipconfig at the command prompt you will get the IP address of your PC.


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : <-----IP address of your PC
        Subnet Mask . . . . . . . . . . . :
        Default Gateway . . . . . . . . . :

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
NSD FAIL 2 302
How to setup PLEX PLUS on 2 computers 2 70
Clarification about access via WAN 6 30
How can I measure the quality of my Internet access? 2 71
In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question