Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Assigning an IP address to switches

Assigning an IP address to switches 10 years 6 months ago #13428

  • mike_mad
  • mike_mad's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Assigning an IP address to switches 10 years 6 months ago #13431

  • d_jabsd
  • d_jabsd's Avatar
  • Offline
  • Distinguished Member
  • Posts: 153
  • Karma: 0
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.
The administrator has disabled public write access.

Switch Setup 10 years 6 months ago #13432

  • TheBishop
  • TheBishop's Avatar
  • Offline
  • Moderator
  • Posts: 1719
  • Thank you received: 8
  • Karma: 5
Welcome to Firewall.cx 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
The administrator has disabled public write access.

Re: Assigning an IP address to switches 10 years 6 months ago #13437

  • mike_mad
  • mike_mad's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
wow... thanks a lot... it helped me a lot in finishing a program in network simulation... :D
The administrator has disabled public write access.

Re: Assigning an IP address to switches 10 years 6 months ago #13463

  • Tarun
  • Tarun's Avatar
  • Offline
  • Distinguished Member
  • Posts: 138
  • Karma: 0
Glad to see the kind of activity we have here these days at firewall.cx...

Awesome community...I am loving it :wink:
Next would be SP (Service Provider)
CCNA, CCNP (Switching), CCIE#20640
The administrator has disabled public write access.

Re: Assigning an IP address to switches 10 years 5 months ago #14106

  • kunaltyagi
  • kunaltyagi's Avatar
  • Offline
  • Frequent Member
  • Posts: 40
  • Karma: 0
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
The administrator has disabled public write access.
Time to create page: 0.085 seconds

CCENT/CCNA

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

Linux

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