a VLan is a group of switch ports in one or more switches that share a broadcast domain : if a frame with a broadcast destination address (ffff.ffff.ffff) is received on one port it will be forwarded to all the other ports that are associated with the same vlan. Ports belonging to different VLans cannot comunicate directly without the routing action of an intermediate device (router or multilayer switch).
An IP subnet is a contiguous block of IP addresses identified by the network, subnet and host part of the ip address.
An IP subnet has a base address host part =000..0 and a directed broadcast where host part is 111..11 (host part bits are all set to 1).
Usually in networks we use a one-to-one corrispondence : 1 subnet -- 1 vlan.
But there are some special cases: if using secondary ip addresses multiple subnets are supported by one vlan. If using inter-vlan bridging with IRB a single IP subnet can span over multiple vlans.
One part of your response puzzles me. When you talk about IRB and inter-vlan bridging I am not sure what you are describing. IRB bridges for a single bridge-group. And a bridge-group is a broadcast domain which is a VLAN. I am not sure how you would get a single subnet over several VLANs.
I will suggest a slightly different approach to understanding the difference between a VLAN and a subnet. A VLAN is a layer 2 entity and it operates entirely at layer 2. As previous responses have pointed out a primary characteristic of VLANs is that they are a layer 2 broadcast domain.
A subnet is a layer 3 entity and it operates entirely at layer 3. Members of a subnet are assumed to be connected together in a single network and are assumed to be able to communicate directly with each other.
In general we tend to assume that there is a correspondence between VLAN and subnet and in most implementations it is true that the membership of a VLAN is exactly the same as the membership of a subnet. But there are exceptions.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.