now, when we're setting up our different routers and switches on our network, one of the different components that we need to be aware of, one of the different concepts we need to be aware of is a vey land. Now we've talked about villains before, especially in depth, but we're gonna go over them again for this particular segment and how they deal with each other. And Gillian Stand for Virtual Local Area Network
of Alien essentially allows us to take the infrastructure for one
local area network and virtually make it like multiple virtual local area networks. So weaken segment up this one local area network into multiple virtual local area networks in order to help with segmenting up abroad are different broadcast domains,
so we may have different devices that we don't necessarily want seeing each other
but need to be on the same physical network. So we set up a virtual local area networks with our switches in order to prevent that, so our virtual local area networks are going to be have the use of multiple manage switches or single manage switch,
and our virtual local area networks cannot talk to each other unless they talked through a router
so they can on Lee talk to other devices on their same villain unless they talk through a router. And we do have switches that can perform routing functions. So we separated network into multiple smaller segments, require the use of manage switches and are different. V lands can be port based Mac address based or sub net based. Now
we talk. Now, let's take a quick look at our diagram, which we're gonna make. And with RV lands, what are villains entail
We're gonna put up two switches here,
and then each of these switches are gonna connect to a couple devices.
So we're gonna connect to
three computers and then
one of our switches talks out to our router
are different. The lands are going to essentially take these computers that are on the same physical network that are on the same
that are all on our same
i p address scheme, and it's gonna segment them out.
So all of the computers on this network are 1 92.1 68.1 got something. Computers.
So 1 92.1 68.1 dot 3192.16 th not one not 2192.1 68 that 1.4 they're all on the ST they. If we just set them up like this without setting up in evey lands, they can all talk to each other.
But let's say we have an environment where we have a training facility, and
these four computers are lab computers.
We want these lab computers to be able to talk to each other and talk out to the Internet without talking to
these two computers,
which are sales computers, which our sales staff.
So how do we make sure that these four computers that are on separate switches can talk to each other without talking to our green computers? And they can also talk out to our Internet?
Well, we'll set up a port based villain on are two different switches,
and our villain is going to segment out. That's not these networks.
are 1 92.1 68.1 dot two. Computer is going to be plugged into
we have another lab computer plug into a port here port here, port here.
Then we have our sales computer 1 92.1 68.1 dot three.
It's plugged into a port, and our other sales computers also plugged into a port. And then we have a router
as well. There are two switches air plugged in together,
each of the ports that connect to devices that are on
separate V. Lance, our access ports. So each of our ports that connect to a computer are called access ports.
These access ports, we go in and manually configure them to separate the lance we set them up is villian 0 1,000,000,001 billion to et cetera.
So we're going to say that all of our blue lab computers on villian one and our green sales computers are on the land, too.
if one of our sales computers needs to talk to our other sales computer, it simply sends out the broadcast on the land to, and it talks to the other sales computer, and it can also talk out to the Internet. But none of the traffic between these two sales computers can be intercepted by our blue computers
and our blue computers don't hear any of the broadcasts
from our green computers because they're on separate V. Lance. It's as if
in the respect for the blue computers, they can't even see these green computers on the network even though they're in the same I p address scheme are switches are managing those virtual lands.
Now, how do are two green computers talk together?
How does our rather how to our switches? No.
information gets sent over this port?
we may have our blue computers that need to talk over this port as well. Between the this connection right here.
Well, this connection here
is called a trunk port.
Now, what trunk ing does is it allows us to connect switches, a connection between switches, which each host multiple V. Lance A trunk fort is different from an access port because the trunk port is not assigned to one particular V land.
We don't say Oh, well, this port is villain one. Because if we did that, then all the computers on this switch would automatically be vey laying one on Lee. The traffic that was sent
over that was sent from 1,000,000,000 won computers would go to this port.
So we want to make sure that traffic from be laying one and the land to computers can go over the sport. But when it gets to the other end, it's on Lee sent to their respective the lance.
So we set this up as a trump port.
What this trunk port will do is this trunk port will tag. All the packets that are going to that are going over it as either being on villian one or villain too.
So if our 1 92.16 th not one not three sales computer sends a packet to 1 90 to 1 68.1 dot four
when it gets goes through a router are router will say Okay, so I need to send this over my trunk port. So I'm gonna take this packet, and I'm going to say that this is on my green V land here,
and I'm gonna put all the rest of the information in it, and I'm gonna send it over.
So then that packet gets to our other switch, and our other switch says, Oh, this is only for the green v. Lance. I'm going toe on Lee send this information to other computers that are other ports that are part of the green V. Lance.
So that's the difference between our access ports, which connect our computer devices in our trunk port, which connect our switches, which hosts these multiple villains.
Now, Next up, we have a V T P configuration. Now BTP configuration stands for villian trunk ing protocol or virtual local area network trunk ing Protocol. Now, this V T P configuration is a Cisco technology, and it allows us to have
proper propagation of V lan information
So say we set up switches. We set up our different
villian based on maybe not port based, but we based them on different, a different protocol, different sub net based
V lands or whichever method we want to use. Essentially.
And we tell this switch okay, I want you to start setting up villian protocol, and I want you to be able to, and I want you to be able to propagate that information out to other switches. So these other switches set themselves up the same way.
Well, that's what RV TP configuration does. RV tp configuration are 1,000,000,000 trumping protocol is assistant Cisco Technology, which allows switches to communicate to each other and essentially set up the lands themselves, set them up based on what configuration we want them to set up.
Now this BTP configuration needs a few, has few requirements that we need to set up the switches with. Each switch needs to be configured with the correct V T p domain V, T P protocol and BTP password information.
Now, remember again, this is only gonna be our Cisco switches that have this HVT p configuration technology and our our alternative to this would be just manually setting up each switch with each configured villains. Now, for a static environment that never changes, this may not be
but for an environment where we're constantly switching out switches or an extremely massive environment where we're constantly moving around, computers and things are changing very, very often than this, V T P configuration may save us a lot of management and state may save us a lot of manual entry