How to Enable IP Address on Network Switches

Share This

Network Switches require IP addresses to enable remote management and configuration. If the IP address is not configured the IP address, the network administrator can’t easily connect to the device for remote management.

The remote management software and protocols, for example, Telnet, TeraTerm, SSH, HTTP, or HTTPS also required an IP address for connectivity.

A network switches does not have a dedicated interface to which the IP address can be assigned. Therefore, the IP address is assigned and configured on a virtual interface called a switched virtual interface also known as SVI.

We can also assign a default gateway to network switches. The default gateway should be the IP address of the router interface. For example, the default gateway for switch0 is and the for swithc1.

network switches

Generally, first usable IP address or last usable IP addresses are reserved as the default gateway address. In this diagram first IP address of both subnets already used as router interface address, so I am going to configure last usable IP address of both subnets ( and as the default gateway on both switches.

Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#interface Vlan1
Switch(config-if)#ip address
Switch(config-if)#no shutdown
Switch(config)#ip default-gateway

Do this for switch1 also and assign IP address

(Visited 489 times, 489 visits today)

I am an article writer and networking professional. I am writing for different websites. My most of articles are published in Currently my 400+ articles are published on this site.

Share This