Switch management ip question

Answered Question
Sep 17th, 2007
User Badges:

Quick question concerning a management ip question on a switch. Does a management ip need to be set for each and every vlan on a switch? In other words, say I have Vlan 10 and Vlan 20. Do I need to do a:


interface vlan 10 ip address x.x.x.x x.x.x.x

interface vlan 20 ip address x.x.x.x x.x.x.x


Logically I would think I would have to as how would the hosts be able to connect to the switch via layer 3 (if they need to for some reason)? But the problem here is that this would eat up a lot of ip addresses on one piece of hardware if a switch had 10 or so vlans on it...


Or does everyone typically just assign one managment ip for a switch for ONE vlan and, if a host needs to connect to the switch for management via layer 3, they must be in the vlan the management ip is set for?

Correct Answer by Edison Ortiz about 9 years 6 months ago

You got it.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Edison Ortiz Mon, 09/17/2007 - 16:46
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

If the switch is serving only Layer2 features, you only need one Layer3 interface for management services.


Keep, in mind, this Layer3 interface must be reachable from remote.

rodman.frowert Mon, 09/17/2007 - 16:58
User Badges:

Yes, I should have been more clear. Say this switch is an access layer switch only, then it only needs one IP address on one of its vlans...


Configuring the IP addresses properly downstream via either the MLS or router should provide remote L3 connections. Even for hosts on the L2 switch but outside of the management IP vlan, correct?

Correct Answer
Edison Ortiz Mon, 09/17/2007 - 18:36
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

You got it.

rodman.frowert Mon, 09/17/2007 - 19:05
User Badges:

I appreciate the help, bud!


I wish the cisco press books were a little more "helpful". Yes, they go into major detail, but real world situations are more helpful than going on and on about things I really don't need to know about...

Actions

This Discussion