now moving on. Let's expand this concept of broadcast domains to something we call virtual local area networks or
Hits home the concept off what a villain is. I'm gonna go through a little
to hit home. Why we need villains,
or pretend we're going to do a lot of pretending in this class.
We have a switch switch one, and we have four peces attached to it. And let's say these PCs PC one
PC three and P C. Four.
Let's say this switch one belongs to the accounting department for some company. So now this switch belongs to some accounting department for some company. And I knew I haven't covered I p address ing right now, but
you don't need to know. I p address ing to understand this concept. So just go along with me.
Let's say this accounting department has an I p. Address our network address of 10 10 10 0
and then PC wanted to sign the address. 10 10 10.1
pc to is $10.10 dollars $10 to PC three years turned out $10.10 dollars, three and PC forced and not turned up to in that four.
Now suppose the same company also as a management department. So this is switch to
and there are two people in management and we'll call them
five and PC six. Now the management department would have a different I p address ING scheme
not $10.10 dollars, $10 0 It would be,
$20.20 dollars, $20 0 This is just, for example,
on switch one? What we can't because the management department has a different i p address ing scheme.
if PC one sends out a broadcast at some point,
everybody would receive it
if they were all attached to switch one.
So if I put PC five NPC six on switch, one
P C five and PC six would receive that broadcast,
however, they're supposed to be separate a separate department from the accounting department.
Not to mention the fact switches don't have just four ports.
You can buy switches with 24 ports. I think the least amount of force you can buy our 12 but most places most places have switches that are 48 boards and above.
So we're here. Let's say I had 24 ports. I'm wasting 20 points and I pay money purport when I purchased this equipment.
Report P C five NPC six on the same switch.
It is also a waste of money. I'm wasting
22 ports on sweets, too,
because nobody else can be on the same switch where the management department is located. There is no separation,
so the separation comes by having a physical separation, just buying different devices. But then you run into the problem where you're wasting ports.
What if I do? Put PC five, which is 2020 20.5, and PC six, which is $2020.20.6
on the same switch, unless for 10 p. C. One is connected to Port one. PC three is connected. Report. Three pc to is connected to port to P. C. Four to port
45 to port five and 6 to 46
Now let's say inside of the switch, I log into the switch and I do some configurations where I tell the switch
port three and Port four belong to land
and Port five and Port six belong to Land
is I have actually created true switches to virtual switches inside of the same physical device.
So instead of there being a physical separation, off accounting
and the management department, there is a logical separation inside of the switch. So I have created to virtual switches inside
off one switch, and the switch is basically a land. It's a local area network, so I have created to virtual lands inside of the same physical device. So instead of calling this land 10 I can call it
10 or virtual and 10 and I can call the management department villain
coming back to the lab.
Villains are nothing more than virtual switches inside of the main switch,
so villains are nothing more than different virtual switches that you create inside the main physical device.
Now the benefits of the lambs.
You're saving yourself money
by using up all the ports on the switch.
Two billion skin trance verse,
different switches so
Now the distance constraints have been taken away.
Ah, villain can extend from the floor. I'm on to the basement of this building. And as long as the users or the PC is connected to those switches belong to the same villain.
They will talk to each other like they're sitting next to each other. So the distance constraint is gone. So remember, villains can transfers multiple physical switches
beyond one on a switch and Dylan 1002 through 1005 That's 100210031004 and 1005
And Dylan won our default villains. Which means they already exist on the switch
and they cannot be deleted.
Okay, so villain one and one or 2 to 105 r default villains, and they cannot be deleted.
All ports on a switch belong to Villain one
by default, and I'll be showing you that in a in a few minutes. By default, all ports on a switch belong to Dylan. One villain Rangers Total villain Rangers, depending on the platform, depending on the switch and the operating system that you're using
the total number off
pour the total number of villains you can have on a switch
very between one and 40 94.
villain one through 40 94 are the total amount of the lands that you can possibly create on the switch, depending on the platform. Now, just because you can choose to create villain
3000 doesn't mean you need 3000 villains on that one device. You could Onley Havilland 3000 and real and 50 and you would be fine.
Now, this little bit of information is not exactly see CNN specific. It is a little bit beyond, but take note that villain one through 1005
are called normal range villains
re lands 1006 through 40 94 are considered extended range of the lands.
Now extended range villains will come into play a little bit later. I'll mention it when I'm covering another topic Call villain Trucking protocol. So we will put that little tidbit on the back burner till then. So now we go to the next stage villain configuration.
So the next topic we're gonna cover is villain configuration.
For your benefit, I'm gonna write the commands on the board,
and then I will show you
So there are two ways to create
the old way, and the new way
the old way is actually not part of C. C in it.
I'll go ahead and cover it in my classes anyways, because most of people listening to this lecture or most of the people that are in my classes are in production. And not everybody has the most upgraded IOS at work, and not everybody can afford to buy new switches all the time, so you might run into a switch at some point. That just doesn't do it the new way.
So you need to know the old way just for work purposes, and it is not hard. It is very simple.
in the old way, you simply say Villain space data base and
the Sisko command line is not cap sensitive. So it could be capital cannot cannot be capital. It can be lower case, and it'll work just fine.
Except for passwords,
passwords, I can accept it.
So when you hit the return key or when you hit, enter
the sweet changes moods to switch.
Villain, which is your villain. Database mood
over here. Villain. Let's say 50
if you wanna give it a name, you can say name.
and when you hit enter it will create real and 50.
At that point, you can say exit
and you will return back out of the database mood.
you can check your configurations by doing the command show villain or show V land brief, which is the preferred command. Or at least I think it's the preferred command. And in about five minutes, when I do these commands, I'll point out the difference between the command show villain and show the land brief.
Now, this is the old way of doing it.
Okay, this is the old way method of doing the lance.
Now the new way for the new way. You need to be
the configuration mode for the switch.
we're nearing the point where I will have to stop Terry
after villains are done and then move over to show you how to operate or how to navigate the Cisco operating system. But we'll get to that. I hold it.
So for the new method, you need to be in conflict
and you will understand what config mode is by the end of the day. Today,
from config mode, you would say Villain,
let's create villain 100
And when you hit the return key, you will see that the mode for the switch
And now you're configuring the villain database on a switch over here. I can give it a name, Name
C, C and A. And that
Sometimes you can run into an issue.
Sometimes people do a show command from this mode and try to see if the villain has been created
and there is a way to do a show command from this mode,
you can simply, instead of saying show villain, brief, say do show villain brief. However, the caveat here is, and I've noticed this personally and I have a home lab. I've notices on my home lab. Some of my switches will show me villain 100 at this point,
Sometimes the switch does not digest this command to you actually exit out of this mood. So if at this point you check to see if you have the land 100 sometimes it leaves people confused because they don't see the land 100 in the dead of it. They are thinking that Hey, I just did the command.
Where's my veal? And 100?
What they need to do is exit out of this mood, go back to your config mood
and check again. Or you could go back a lower mode and check again. But now, if you check with the command do show
you will see that villain 100 is there and it's present.
Okay, now, at this point, I'm gonna pull a packet tracer and show you how this works.