Switch management IP address
mallyg27
Member Posts: 139
in CCNA & CCENT
My question is if I have two vlans setup on a switch, for instance, VLAN 10 and VLAN 20. I know that each VLAN will be in a different subnet. Now, when I want put an IP address on the management interface so I can telnet from elsewhere, do I put an IP address from one of the subnets I already created with VLAN 10 and 20 or do I create another subnet? I think it would be a waste of a subnet to just create one for the management interface.
Comments
-
dead_p00l Member Posts: 136There are numerous ways of doing this. Most networks that I work with we have a Management subnet for all devices associated with a management vlan. Every new device automatically gets management vlan and management IP assigned to it.This is our world now... the world of the electron and the switch, the
beauty of the baud. -
NetworkVeteran Member Posts: 2,338 ■■■■■■■■□□I think it would be a waste of a subnet to just create one for the management interface.
-
Forsaken_GA Member Posts: 4,024Well, I assume you're putting an address on the vlan interfaces that you're creating. If so, each one of them is a 'management' interface potentially. Which one actually is depends entirely on your policy. If you only want to allow connections from one particular subnet, then apply an access list to the switches vty lines reflecting that.
-
mallyg27 Member Posts: 139NetworkVeteran wrote: »You say that as if a subnet is a precious resource. There are many, many private addresses. It's not an issue in most cases. And there often are security and stability advantages to a separate management subnet.
Ok thanks. I just make another subnet for vlan 1. -
Forsaken_GA Member Posts: 4,024Ok thanks. I just make another subnet for vlan 1.
You understand that you are not required to use vlan 1 as a management vlan, correct? As a matter, it's highly discouraged to do so. -
mallyg27 Member Posts: 139Forsaken_GA wrote: »You understand that you are not required to use vlan 1 as a management vlan, correct? As a matter, it's highly discouraged to do so.
Yes I understand that. I assume the only time I should use VLAN1 is pretty much for something like an administrative group. Am i correct. -
NetworkVeteran Member Posts: 2,338 ■■■■■■■■□□Yes I understand that. I assume the only time I should use VLAN1 is pretty much for something like an administrative group. Am i correct.
It's a security concern. Some reasons will be clearer if you take CCNP/Switch.