VLAN Configuration, Network Address...??

in CCNA & CCENT
I am trying to understand this conceptually, maybe you can help.
A LAN segment for an area has a vlan setup on the switch. The switch has an IP address and has a VLAN associated with that switch. The subnet for that VLAN is not the same subnet for that switch. But, the VLAN for that switch has its own lan segment (subnet range) and is labeled as the network address for that subnet. So for instance
Switch 1 is 40.32.2.112
VLAN for switch: 7.232.26.32 /28
Valid Hosts for that switch are .33 to .45
I don't understand how that VLAN is setup as the network address?
A LAN segment for an area has a vlan setup on the switch. The switch has an IP address and has a VLAN associated with that switch. The subnet for that VLAN is not the same subnet for that switch. But, the VLAN for that switch has its own lan segment (subnet range) and is labeled as the network address for that subnet. So for instance
Switch 1 is 40.32.2.112
VLAN for switch: 7.232.26.32 /28
Valid Hosts for that switch are .33 to .45
I don't understand how that VLAN is setup as the network address?
Ok CCNA BREAK IS OVER, TIME FOR CCSP!!!
Comments
A switch by default will have one vlan configured Vlan1, all ports of the switch are assigned to this Vlan by default.To manage a switch remotely it needs to have an IP address so you can telnet to it and configure.This IP address will be configured on Vlan 1 i.e. this management IP address will
be accessable from all ports.
When you configure a second vlan you will assign some ports to this vlan,lets call it Vlan2.The newly assigned ports will no longer be members of Vlan1 so any devices connected to these Vlan2 ports will not be able to reach the management IP address.To fix this problem you need to assign another IP address to Vlan2.So for every vlan you have, you will assign an IP address for management purposes.
As a good design concept you should allocate a different subnets to each vlan, the management IP address should be an address within the subnet range of the vlan.This subnet is not configured on the switch but on the connecting router.The switch knows nothing about what subnet addresses are assigned to what vlan, its job is to decide which ports are allowed to communicate with each other.
The reason to assign a subnet to a specific vlan is to easy your own managability.Remember if you want to route between vlans you need a router.The router will be set up with an IP address, if you required inter vlan routing the host members of the vlan must be on the same subnet as the router.
Cant console in if your 100km away,you can only telnet to a switch if you assign an IP address to the vlan you are a member of.
No,the vlan has no IP address explicitly assigned, you assign a management IP address but the only way to use the management IP address is if it shares an IP subnet address with the attached router.So its only logical to have the management IP address,the router interface address and all hosts connected to share the same subnet. You being the admin are able to plan your network and choose which IP addresses are on which devices.If you did attach 2 hosts to a vlan that didnt share the same ip address as the other hosts and the attached router,thses hosts will be isolated to talk only to each other.
The default gateway will be the IP address of the router attached to the switch.The router will have multiple subinterfaces configured and will be a member of all vlans.So a physical router port will have multiple IP
addresses i.e. one address from each subnet.
e.g. if we have a vlan 2 and a subnet 10.1.1.0 /24 configure and another vlan2 and subnet 10.2.2.0 /24 .let an ethernet port oF router is connected to A SWITCH. let 10-10 ports are in vlan1 and vlan2.now the port which is connected to router would be a trunk port as it will carry information for more than 1 vlans.
and ethernet port of router is divided into 2 subinterfaces.let we enable ISL protocol on it .let ip addresses assigned are 10.1.1.1 and 10.2.2.1 to each sub-interface respectively.now for the devices which are connected to those ports in vlan 1 will have GATEWAY ADDRESS 10.1.1.1 and for vlan2 ,the gateway will be 10.2.2.1 and both will communicate with each other with the hepl of router.so any device in any vlan can telnet the switch . You just need to enable routing between vlans with the help of router.thats it.