00:00:02 - Welcome to the virtual
world of GNS3.
00:00:05 - On behalf of the entire CBT
Nuggets family, I'd like to be
00:00:09 - the first to welcome you.
00:00:10 - I'm Keith Barker.
00:00:11 - Let's begin.
00:00:13 - Our objective in this
video is simple.
00:00:15 - It is to identify how you can
get the absolute most out of
00:00:19 - our time together in
this GNS3 series.
00:00:22 - I've learned that there's
several different types of
00:00:24 - experiences that people
have with GNS3.
00:00:26 - There's people who are brand
new to it, who have never
00:00:29 - touched it.
00:00:29 - There's people who have been
using it for years.
00:00:31 - And there's a whole wide range
of everybody else in between.
00:00:35 - No matter where you are on that
scale, this GNS3 series
00:00:39 - has something for you.
00:00:41 - Let's take a moment and identify
why GNS3 is so
00:00:44 - valuable to so many people.
00:00:47 - Let's imagine that you and I
and a few other friends are
00:00:49 - planning a trip.
00:00:50 - And we're going to go
on an airplane.
00:00:51 - So we all meet early in the
morning, and it's still cold,
00:00:54 - at the airport at 6:00 AM.
00:00:55 - We go through security.
00:00:56 - We get on the plane.
00:00:57 - And we discover, to our dismay,
that the pilot,
00:01:01 - although he studied really
hard, he's never actually
00:01:05 - flown a plane before.
00:01:06 - Neither has the co-pilot, but
don't worry they've studied.
00:01:11 - We, you and I, are off
of that plane.
00:01:13 - We are not flying with
a guy who's never
00:01:16 - really flown before.
00:01:17 - Well, as silly as that sounds,
we have the same challenge
00:01:20 - inside our computer networks.
00:01:21 - Let's take this network
00:01:24 - We've got some switches
00:01:26 - We've got some WAN
00:01:27 - We have an internet
00:01:29 - It's very unlikely that someone
would trust you and I
00:01:33 - to work on this network had we
never practiced hands-on
00:01:37 - configuring a network before.
00:01:38 - Even if we've studied in our
minds and we've read and
00:01:41 - watched videos, it's important
for us to practice.
00:01:44 - So for you and I to get our
hands-on practice there's
00:01:47 - three basic things that we
can do, actually four.
00:01:50 - One's kind of silly.
00:01:51 - One is to use Notepad.
00:01:53 - And just put in the commands--
00:01:56 - Notepad or a text editor-- and
pretend that we're actually
00:01:59 - putting commands in.
00:02:00 - Now, I've seen people do that.
00:02:02 - And that doesn't work for me
because there's no response
00:02:05 - from a text editor.
00:02:06 - So you put the command in
and you press Enter.
00:02:08 - And you think it's right.
00:02:09 - You hope it's right.
00:02:10 - But that's not really a
00:02:12 - The next option is we could
go ahead use a simulator.
00:02:16 - Now that would also
work for a pilot.
00:02:18 - Pilots have simulators.
00:02:19 - So they can practice and
get a feel for it.
00:02:21 - And there's great simulators
00:02:24 - So you can purchase
00:02:25 - Practice with a simulator.
00:02:26 - You put the commands in, but
it's not the real deal.
00:02:29 - It's simulated.
00:02:30 - The next option, which
is cool, is hardware.
00:02:34 - Now, in many companies, you
may have racks of hardware
00:02:37 - that you can put together.
00:02:39 - Or you can go out and
00:02:41 - I love hardware.
00:02:42 - I have hardware in my lab
here at my home office.
00:02:44 - Hardware is a great,
00:02:46 - What's the challenge though?
00:02:48 - Oftentimes, we don't
have enough of it.
00:02:49 - If you have the hardware to
practice with, it's not in
00:02:52 - production and you can go
ahead and use it to
00:02:54 - reconfigure, that's fantastic.
00:02:56 - So if that option is open
for you, go for it.
00:02:59 - The other option is to go ahead
and use an emulator.
00:03:04 - An emulator pretends.
00:03:06 - It pretends to be something.
00:03:08 - For example, if you want to
run a PC in a virtual
00:03:11 - environment, there's
lots of virtual
00:03:13 - environments to run a PC in.
00:03:14 - For example, you have
00:03:16 - You have VMware and
others that can
00:03:19 - virtualize the hardware.
00:03:20 - So you might have an operating
system like Windows.
00:03:24 - It's running inside of
this virtual machine.
00:03:27 - It's not real.
00:03:28 - But the operating system
doesn't know it.
00:03:30 - So the key is, when you bring up
Windows and you run it, the
00:03:34 - Windows operating system doesn't
know that it's not
00:03:36 - really running on physical
00:03:38 - It's logically in some bigger
00:03:41 - We can do that same thing with
GNS3 because GNS3, and behind
00:03:45 - the scenes something called
Dynamips, it's an emulator.
00:03:48 - If we do a show version right
here and we do a show IP
00:03:56 - interface brief and we
do anything else,
00:03:59 - this is live IOS.
00:04:01 - It's really running.
00:04:02 - It's not running on a real
00:04:05 - It's all virtualized.
00:04:07 - Now the benefit of that is, is
that if we want to practice a
00:04:09 - network-- for example, let's
say we're just dreaming and
00:04:12 - we're thinking, OK--
00:04:13 - so the light bulb's going
off in our mind--
00:04:14 - I'd like to create a couple
routers, a WAN link, a
00:04:17 - connection to the service
provider, a switched
00:04:20 - environment, including spanning
tree, we could
00:04:23 - actually do it.
00:04:23 - We could emulate
all this stuff.
00:04:26 - And actually run the software
and have it respond like it
00:04:29 - would on live gear, which
is pretty darn amazing.
00:04:33 - So the biggest benefit of GNS3
is that it gives us an
00:04:36 - emulated environment where we
can emulate the hardware, run
00:04:39 - live IOS software, and actually
00:04:42 - practice the commands.
00:04:43 - So the case is, before we roll
this out, we could logically
00:04:47 - do it inside of GNS3.
00:04:49 - Practice all of it.
00:04:50 - And then have our design perfect
before we roll it out
00:04:52 - on the production equipment.
00:04:55 - Another challenge that comes
up all the time that makes
00:04:57 - GNS3 very, very powerful is the
ability to validate what
00:05:00 - we think is happening.
00:05:01 - For example, one of the concepts
that we learned about
00:05:04 - is this thing called DHCP.
00:05:05 - In fact, let me bring up a
topology in GNS3 to show you.
00:05:09 - So let's consider
00:05:10 - Here we have DHCP.
00:05:12 - And this is the inside of the
network from a NAT perspective
00:05:14 - and the outside of the network
from a NAT perspective.
00:05:16 - This is R1.
00:05:17 - We have various interfaces.
00:05:18 - He's connected to the
00:05:20 - And everything from here over,
this is all virtualized.
00:05:25 - The PC is virtualized.
00:05:26 - The router is virtualized.
00:05:27 - The connection to the
Internet through my
00:05:29 - home network is real.
00:05:31 - And then of course, the
internet's real as well.
00:05:33 - But if we wanted to verify
basic concepts like DHCP
00:05:35 - what's supposed to happen?
00:05:37 - Well, what we learn in technical
books is that, well,
00:05:40 - DHCP here's what supposed
00:05:42 - The client does a discover.
00:05:43 - The DHCP server sends
an offer this way.
00:05:47 - The client requests that.
00:05:48 - And then the DHCP server sends
00:05:51 - So we have DORA, like
Dora the Explorer.
00:05:54 - Now, that's great.
00:05:55 - And we can study that.
00:05:56 - But if we wanted to just confirm
that that's really
00:05:58 - what's happening, one of my
friend's Marvin says, Keith,
00:06:02 - the packets, they don't lie.
00:06:04 - So what we could do is we could
actually capture traffic
00:06:06 - on this wire right here.
00:06:08 - Check this out.
00:06:09 - I could say--
00:06:09 - Oh, I have a capture running.
00:06:12 - Let me stop that capture.
00:06:13 - Let me start a new capture.
00:06:15 - And click OK.
00:06:17 - And then let's bring up
that capture live.
00:06:19 - So I'm going to start
00:06:20 - So here's a capture of
everything that's happening on
00:06:23 - that wire real-time.
00:06:25 - So if we wanted to actually see
DHCP, we could bring up
00:06:28 - this virtual machine
00:06:30 - And I'm going to just
bring this over, so
00:06:32 - we can see it all.
00:06:33 - I'm going to right
click on Disable
00:06:36 - for the network adapter.
00:06:38 - And then I've got to go back to
Control Panel to start it.
00:06:41 - I'm going to start it again.
00:06:42 - And as I enable it, let's take
a look right here at the
00:06:45 - packet capture.
00:06:46 - So that's capturing all of the
traffic as it really happens
00:06:49 - on the wire, which is
pretty darn amazing.
00:06:52 - So you might look at this and
say, wow, this Windows
00:06:55 - machine-- it's Windows XP--
00:06:56 - what's all this traffic
00:06:58 - Well, my friends, that's the
native, natural traffic that
00:07:00 - that Windows machine is really
going to generate.
00:07:03 - So I'm going to go ahead
and stop this.
00:07:05 - And we'll scroll up.
00:07:06 - Let's take a look at the DHCP,
which was really our
00:07:08 - important part here.
00:07:09 - If we wanted to verify how DHCP
worked, we could simply
00:07:11 - open it up.
00:07:12 - Say, OK, here's our DHCP.
00:07:14 - Let me bring this a little
bit bigger so we
00:07:16 - can see all of it.
00:07:19 - So here we have our discover,
00:07:21 - That's the first packet.
00:07:22 - And the next packet, we have
an offer from the server.
00:07:25 - Third packet, we have
the DHCP request.
00:07:27 - And the fourth packet, we have
00:07:30 - And there's also ARPs and all
the other traffic that you'd
00:07:32 - normally see on a production
00:07:34 - So if you really want to dig
down for understanding the
00:07:38 - protocols, how they work, built
in to the installation
00:07:42 - for the all-in-one installer for
GNS3, it not only includes
00:07:45 - all the back end stuff like
Dynamips, it also includes
00:07:48 - Wireshark and the drivers
to make that all work.
00:07:51 - So you can just simply right
click, start a capture, view
00:07:54 - it real-time if you want to.
00:07:55 - And as I forgot to do earlier,
I'm going to go ahead and stop
00:07:58 - the capturing as well.
00:07:59 - Otherwise, that capture keep
growing and growing up until
00:08:02 - the size limit that
I set for it.
00:08:03 - So that is just an incredible
feature that's very, very
00:08:07 - helpful not only for just
designing networks, but also
00:08:10 - for verifying that the network
is operating and the protocols
00:08:14 - are operating as you
thought they were.
00:08:16 - And it never ceases to amaze me
what I find when I look at
00:08:20 - my own GNS3 networks with
the protocol analyzer.
00:08:23 - I'm always surprised.
00:08:24 - And it gives me an opportunity
to dig deeper, and deeper, and
00:08:28 - deeper to find out what the
real behavior of these
00:08:31 - protocols are, even ones I've
thought I've known for many,
00:08:34 - many years.
00:08:36 - Another comment I get all the
time is that, oh yeah, Keith,
00:08:38 - GNS3 is great.
00:08:40 - I love it.
00:08:41 - Once I got it dialed in,
it was fantastic.
00:08:43 - However, it doesn't
00:08:44 - And I think to myself, OK, I
know it doesn't do advanced
00:08:48 - switching like at the CCNP and
CCIE level, however, for basic
00:08:53 - switching let's take a look
at what it can do.
00:08:56 - We can do ether channel.
00:08:58 - We can do trunks, whether it's
between switches or for a
00:09:01 - router on a stick configuration
over to R1.
00:09:03 - We can do access ports.
00:09:05 - And we can use spanning tree.
00:09:08 - It also does VTP, if
you care about VTP.
00:09:10 - So if you want to practice
with some of those
00:09:13 - technologies, all of those that
I just mentioned, are
00:09:16 - supported inside of GNS3.
00:09:18 - And I've got a Nugget to walk
you through exactly how to do
00:09:21 - those aspects as well.
00:09:23 - I've had the opportunity
to work with a lot
00:09:25 - of wonderful people.
00:09:26 - And sometimes in live class
I would have an
00:09:28 - evening GNS3 workshop.
00:09:30 - So I'd say, OK, class is from
8:00 to 6:00 or 8:00 to 5:00,
00:09:34 - whatever it is, let's meet here
at 6:30 and we'll spend
00:09:37 - two or three hours on
a GNS3 workshop.
00:09:39 - And I'd have people show
up every time.
00:09:41 - And people would bring
00:09:43 - They would bring their Linux.
00:09:44 - They would bring their
00:09:46 - And I'd walk them through
step-by-step how to
00:09:48 - systematically optimize get
their machines up and
00:09:51 - running with GNS3.
00:09:52 - And they were always
00:09:54 - But you know what?
00:09:55 - There's some common, basic
things that apply to all those
00:09:58 - platforms that if you do
you can have success
00:10:01 - with GNS3 as well.
00:10:03 - So in that light, I have
integrated into this series
00:10:06 - mostly Windows, but also some
Mac and also some Linux.
00:10:10 - And here's what I'd like
to ask you to do.
00:10:12 - Regardless of which platform
you're running, I'd like you
00:10:16 - to watch all the videos
00:10:18 - Now, why in order?
00:10:20 - Because every single Nugget,
we're going to add some new
00:10:23 - concept to the mix.
00:10:25 - And a lot of the concepts
apply across the board.
00:10:28 - So we'll build a foundation.
00:10:29 - And as we continue to go, we'll
build the concepts, and
00:10:32 - build the features, and
build the add-ons.
00:10:34 - So when you're done, you'll have
this tool belt full of
00:10:37 - options that you can
use when building
00:10:39 - your own GNS3 topology.
00:10:41 - Secondly, besides just watching
the video, I would
00:10:45 - also like you to draw out--
have some scratch paper
00:10:48 - handy-- because I'd like you
to draw out the topologies
00:10:50 - that you would like to do.
00:10:52 - It makes a lot of sense to
do something like this.
00:10:54 - Before you go out and create
something inside of a
00:10:57 - production network, or inside
of GNS3 even, it's a great
00:11:01 - idea to have a plan.
00:11:02 - So for example, maybe an initial
plan would be this, I
00:11:05 - want a router.
00:11:06 - And I want that one router
to connect to router two.
00:11:09 - And this will be FA0/0.
00:11:12 - That'll be FA0/0.
00:11:14 - And this will be FA0/1, FA0/1.
00:11:19 - And this'll be a switch
and a switch.
00:11:21 - And maybe not even hang
a PC off of it yet.
00:11:25 - And maybe create a loop
back and have a loop
00:11:26 - back here with 220.127.116.11.
00:11:29 - And maybe a loop back
here with 18.104.22.168.
00:11:32 - And maybe a basic routing
protocol, like EIGRP--
00:11:36 - little chuckle there--
00:11:39 - And I'm not going to
have you do RIP.
00:11:40 - Friends don't let
friends do RIP.
00:11:42 - So do one of those two.
00:11:43 - So this would be a design.
00:11:45 - And that's why I talk
00:11:47 - Plan out what you're going to
do before you go ahead and
00:11:50 - attempt to do it.
00:11:51 - So once you plan this out, you'd
also have to plant what
00:11:53 - addresses to use.
00:11:54 - So loop backs can be these.
00:11:55 - Maybe this is 10.12.0.0
network, R1.1, R2.2.
00:12:00 - On these interfaces here, maybe
00:12:02 - this is 192 dot whatever.
00:12:04 - So plan out your network
and draw it.
00:12:06 - So once you've drawn it out--
it could be a napkin.
00:12:08 - It could be a paper towel.
00:12:10 - It could be a desktop.
00:12:11 - As long as you're not doing any
00:12:12 - permanent damage to a desk.
00:12:14 - Write it out.
00:12:15 - And then go to GNS3
and create it.
00:12:18 - So that's what I would I
encourage you to do.
00:12:19 - Watch all the videos.
00:12:20 - As I create the topologies,
draw them out.
00:12:23 - And then, my friends, I would
like you do most of them,
00:12:26 - whether you're on Mac, or
whether you're on Linux, or
00:12:29 - whether you're on Windows.
00:12:30 - It doesn't really matter.
00:12:31 - The basic topology and putting
the pieces together you can do
00:12:34 - on every single one of
00:12:36 - I would strongly encourage
you to do it.
00:12:38 - So after you've been through
five or six videos, you're
00:12:40 - going to get very, very good
at creating topologies and
00:12:44 - making them work.
00:12:45 - And here's a secret.
00:12:46 - There's a little thing that
happens after you've done a
00:12:48 - few and it works, and you make
a whole new one and it works,
00:12:52 - and a whole new and it works,
your confidence level
00:12:54 - is going to go up.
00:12:56 - And then this whole thing about
GNS3 itself, that won't
00:12:59 - become the obstacle
00:13:01 - You'll have GNS3 as a tool.
00:13:03 - So you can say, you know what?
00:13:05 - I want to take a look at
MPLS and the labels.
00:13:07 - Or I want to take a look
at IPsec and how IPsec
00:13:10 - encapsulates the data.
00:13:11 - You could throw those topologies
00:13:14 - quickly because you're
comfortable with your GNS
00:13:17 - skills of putting that topology
00:13:19 - together and in place.
00:13:22 - I would like to ask one
request of you.
00:13:24 - And that is, as we go through
these videos together and as
00:13:27 - you start building your
topologies, you're going to
00:13:29 - have a moment where you're
going to say, oh my gosh.
00:13:34 - I can't believe that's
00:13:36 - That's great.
00:13:37 - Maybe it's your first GNS3
topology with R1 and R2.
00:13:42 - Or maybe it's a MPLS Layer
3 VPN infrastructure with
00:13:45 - service providers emulated and
connected to live Internet and
00:13:48 - everything else.
00:13:49 - Whatever it is, what I would
love you to do is take a
00:13:52 - snapshot of your topology.
00:13:53 - Take a picture of your topology
and go ahead and post
00:13:56 - it up on my Facebook page,
Keith Barker Networking.
00:14:00 - I would love to share
the moment with you
00:14:03 - of the oh my gosh.
00:14:05 - So if you would, do me
that huge favor.
00:14:08 - Don't do them for every topology
because you're going
00:14:09 - to have dozens after you
get running with this.
00:14:11 - But just take one that you're
like, oh my gosh, I'm pretty
00:14:14 - proud of this.
00:14:15 - Grab an image of it.
00:14:16 - And paste it up on my Facebook
page so that we can enjoy the
00:14:19 - moment together.
00:14:21 - I still get a kick out of it
almost every time when I'm on
00:14:24 - a virtual machine and I'm going
out to the live Internet
00:14:28 - from a virtual machine and it
works because it's just so
00:14:30 - darn amazing.
00:14:32 - So in that light, let me also
answer another question that
00:14:34 - comes up all the time.
00:14:35 - Well, Keith, what hardware
models are supported inside of
00:14:39 - GNS3 for emulating hardware?
00:14:41 - What hardware can we emulate?
00:14:43 - Let me launch a browser
from this PC.
00:14:45 - And let's go ask Google.
00:14:46 - So this right here is from
this virtual machine.
00:14:50 - And let's go ahead and do
GNS3 emulated hardware.
00:14:52 - And the top link walks us
through the details of that.
00:14:55 - It's right from GNS3.net's
00:14:58 - And we scroll down.
00:14:59 - And it's going to talk
about the models.
00:15:00 - So 1700s, 2600s, 3600s, 3700s,
various network models,
00:15:08 - various 7200 series, and so it
has a list of all the physical
00:15:13 - hardware that is supported.
00:15:14 - So I normally get one of my
favorites that just works for
00:15:17 - me all the time and then I just
use that over and over
00:15:20 - again for all of my
00:15:21 - If I need to change it for some
reason, I might mix it
00:15:24 - up, but that's a great
idea as well.
00:15:26 - Grab one model that you're
comfortable with, that works
00:15:29 - for you, and stick with it
throughout your journey in
00:15:32 - working with GNS3.
00:15:34 - Another question I have all
the time is, Keith, if I'm
00:15:36 - going through a Nugget, how do
I optimize the time inside of
00:15:39 - that Nugget?
00:15:40 - And the answer is lab up
everything you can as you go
00:15:43 - through the Nugget.
00:15:44 - See, one of the cool things
about CBT Nuggets is
00:15:46 - you can pause us.
00:15:47 - Try it.
00:15:48 - Pause me right now.
00:15:49 - OK, and then you can
bring me back.
00:15:50 - And that pause can be as long
as you need it to be.
00:15:53 - So for example, if you're with
me in the ASA firewall class
00:15:57 - and we're going through active
active failover, you can pause
00:16:00 - me right in the middle of
that and lab it up.
00:16:02 - Because the ASA is also
supported inside of GNS3.
00:16:06 - I'll walk you through the steps
of how to configure that
00:16:08 - and get that all working
in this series.
00:16:11 - So don't just watch it and
enjoy it and learn it.
00:16:14 - Internalize it by practicing.
00:16:16 - So that applies to the advanced
courses all the way
00:16:19 - down to network plus.
00:16:20 - If you're in network plus and
you're learning about ARP, lab
00:16:24 - up a simple network and have
maybe FA0/0 an FA0/0 here.
00:16:29 - Put on a basic IP address.
00:16:31 - And in these videos I'm going to
walk you through doing that
00:16:33 - several times.
00:16:34 - And then you can use protocol
capture on that wire.
00:16:36 - And look at the ARP packets.
00:16:38 - And verify what's in them, how
they worked, what was the
00:16:41 - Layer 2 addresses involved, what
did the ARP request look
00:16:44 - like, DHCP, or any of the
other protocols that are
00:16:47 - coursing through the veins
of our network.
00:16:49 - You can not only see them, but
you can also analyze them.
00:16:53 - I have had an absolute blast
in putting this series
00:16:56 - together for you.
00:16:57 - And when I say for
you, I'm serious.
00:16:59 - I did it as if you and I were
sitting right next to each
00:17:02 - other side-by-side, enjoying
the time logically going
00:17:05 - through each and every piece
to get GNS3 successfully up
00:17:08 - and working on your computer.
00:17:11 - And I'm looking forward to
seeing you in each and every
00:17:14 - Nugget in this series.
00:17:15 - I hope this has been informative
00:17:18 - And I'd like to thank
you for viewing.