This is one of multiple videos discussing layer 3 switching in a previous video I showed you how to
configure a switch with Layer 3 functionality.
So I showed you how to enable IP routing on a switch to allow that switch to rot between one villain
and another.
We also configured two routers to act as PCs and we were able to ping from one router to another.
What I'll do now is extend the topology by bringing in some Daka PCs.
These are essentially lightweight PCs that allow us to boot up Linux very quickly.
So what I'll do on the first PC
is configure it in a fourth villaine
so I'll give it an IP address of 10 1 for one and a default gateway of 10 1 4 2 5 4 closest set to the
DNS server to 10 1 4 2 5 4 I clicked safe all connect the PC to Gigabit to 0 to on the switch.
So these two ports are in veel and two and three.
And what we'll do now is configure this port in villaine for I'll start up the dock a PC and open up
a console to it.
So here's the console I-F config shows us the IP address of the PC.
One of the advantages of Daka is that it boots up extremely quickly.
So it was almost an instant boot.
Now the PC can ping the switch because we need to configure the switch.
So at the moment pings are failing.
So go into the switch and have a look at the interfaces configured.
So show IP interface brief.
Notice we don't have a layer 3 interface in the violent for we need to configure the IP address on the
switch to allow that PC to paying out a villain for.
We also need to configure the landfall and put the interface into villain for so Confiteor feline for
show veel and brief we've now created a villain for and it's been added to the villain database.
That however does not create the VI or virtual switched interface.
We need to type interface a villain for to create the Fiori and configure the IP address on the switch.
So show IP interface brief.
The FBI has created IP addresses assigned but the interface is down.
So we need to know shut it show the interface brief again allows us to see the interface but it's currently
down because no interfaces have been allocated to that villain so we need to put this interface into
Villon for the switchboard access the landfall.
Now when we use the command show IP interface brief we should see that this interface comes up that
may not happen immediately but after a while we should see that that interface comes up assuming that
gigabit 0 to is in the right to Villon which it is kind of seeming that that interfaces up pup which
it is noticed now the landfall is up set back on the PC.
Previously the PC couldn't its hold gateway but now it can and hopefully it will be able to ping right.
To which it can.
And we can prove that by looking at Rodda too.
I'm currently running a debug to show D-bag on route to shows that IP I seem debugging is enabled so
I should be able to ping road to and see the debugs which we do.
We should also be able to paying Grado one which we can once again this PC has an IP address of 10 1
for one on the road to acting's PC to.
We should be able to paying that PC which we can.
So we've now enabled three villains on the slave three switch I'll configure a full thing to face and
connected to to the second Daka PC I'll change the IP address of that PC.
To 10 1 5 to 1 default gateways 10 1 5 2 5 4 and all set the DNS server to tend to add 1.5 to 2 5 4
clicks save startup the PC open up a console to get PCs booted.
So I-F config IP address is 10 1 5 1 PC will not be able to paying the first PC on the left until we've
configured the switch so configured the switch while leaving that ping going in the background.
So first thing we need to do is configure a V line so conforte villain 5 in this case.
So show V line brief villaine 5 is created PC can still not paying the other PC yet.
Because we have to put the interface into the right v LAN gigabit.
0 3 is currently in Villalon 1 so interface gigabit to 0 3 switch port access a villain 5 show interface
could give it to zero or three switch port the port is now in Villon five.
But the PC can still not paying PC one because we have to create a switched virtual interface.
We have a switch to a virtual interface for villaine for but not for Wii land 5.
So interface and 5 IP address 10 1 5 2 5 4 on no shutter.
Interface villaine 5 has come up Schoharie spending tree ports of forwarding and pings are starting
to succeed.
So a PC to can ping PC one.
So I've now got four interfaces on the slave three switch configured into villaine rotting I've configured
the villans and configured into villans rotting on the switch.
In other words it's acting as a layer 3 switch.
That's because the IP writing is enabled.
If I disable IP routing on the switch the pings will fail.
Notice the sequence numbers at forty nine men to stop they define enable IP routing.
Notice the pings start succeeding once again.
You need to have IP routing enabled on a switch to allow it to do into Villano routing as well as to
allow it to support routing protocols.
So that was an example of how to configure a layer 3 switch into VLAN routing.
I hope you found the video useful if it's been of benefit to you.
Please subscribe to my YouTube channel.
I wish you all the very best.