Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Assigning an IP address to switches

Assigning an IP address to switches 13 years 1 month ago #13428

Hi, i'm new to networking... I'm just getting confused. Why is there a need to assign an ip address and default gateway to a switch? I just thought that when you connect the hosts to the switch, everything would already be ok and no more additional configuration is needed. Please help me out.

Re: Assigning an IP address to switches 13 years 1 month ago #13431

The IP is used mainly for management. Syslog, SNMP, remote management, etc.

You don't have to assign an address to it if you don't want, but it will make your job a lot harder if you need to move a port from one vlan to another or you need to find which mac address is plugged into which port.

The whole point of managed switches is configurability.

For now, just give it an address on the primary network you are connecting to. Once you realize what all you can do, you will be glad you did it.

Switch Setup 13 years 1 month ago #13432

Welcome to mike_mad
You're right really - a switch is basically a layer 2 device that acts at at a packet level based on source and destination MAC address. So for it basically to work and switch packets between things it doesn't need either an IP address or a default gateway.
However, with that said, most switches are manageable and for you to manage the thing remotely you need both an IP address for the switch and a default gateway so you can access the management facilty from remote networks.
Also with VLAN-aware switches you might find that setting up the management in this way also sets up an IP network for the default VLAN whether you need this or not

Re: Assigning an IP address to switches 13 years 1 month ago #13437

wow... thanks a lot... it helped me a lot in finishing a program in network simulation... :D

Re: Assigning an IP address to switches 13 years 1 month ago #13463

  • Tarun
  • Tarun's Avatar
  • Offline
  • Distinguished Member
  • Distinguished Member
  • Posts: 138
  • Thank you received: 0
Glad to see the kind of activity we have here these days at

Awesome community...I am loving it :wink:
Next would be SP (Service Provider)
CCNA, CCNP (Switching), CCIE#20640

Re: Assigning an IP address to switches 13 years 2 days ago #14106

yes ... i joined the community few days before and what i feel it's a good place to polish ur knowledge and get the right kind of answers that are required
I'm an artist by living --- my art is my life
  • Page:
  • 1
Time to create page: 0.100 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup