[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

Catalyst 2900 IP address


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 ?
Thanks


Switch#sh run
...
...
<text omitted>
interface FastEthernet0/26
!
interface Vlan1
 ip address x.y.z.19 255.255.252.0
 no ip route-cache
!
ip default-gateway x.y.z.1
ip http server
!
<text omitted>
...
0
minicuc
Asked:
minicuc
  • 2
  • 2
1 Solution
 
Dr-IPCommented:
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.
0
 
netspec01Commented:
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
0
 
minicucAuthor Commented:
Actually i have that IP address information (x.y.z.19 255.255.252.0)
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 ?
Thx
0
 
netspec01Commented:
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.
0
 
Dr-IPCommented:
If you type ipconfig at the command prompt you will get the IP address of your PC.

C:\>ipconfig

Ethernet adapter Local Area Connection:

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now