1 00:00:02,520 --> 00:00:06,020 (electronic sound effect) 2 00:00:08,812 --> 00:00:10,845 - In this video, before we go into the details 3 00:00:10,845 --> 00:00:14,855 of how to create a GNS3 virtual topology 4 00:00:14,855 --> 00:00:16,774 of routers and EtherSwitches. 5 00:00:16,774 --> 00:00:18,652 We need to preface that, by first, 6 00:00:18,652 --> 00:00:23,352 going over just some real basic GNS3 terminology. 7 00:00:23,352 --> 00:00:24,727 As you can see from the title of this, 8 00:00:24,727 --> 00:00:26,416 we're gonna talk about the differences between 9 00:00:26,416 --> 00:00:29,424 projects, topologies, and nodes. 10 00:00:29,424 --> 00:00:30,686 This'll be a real short video, 11 00:00:30,686 --> 00:00:33,968 but these things are critical for you to understand. 12 00:00:33,968 --> 00:00:37,809 So, let's start by just opening up GNS3 13 00:00:37,809 --> 00:00:41,447 by double clicking on the icon here. 14 00:00:41,447 --> 00:00:44,900 And you'll see that the very first thing it asks us to do, 15 00:00:44,900 --> 00:00:48,841 is to either create the name of a brand new project 16 00:00:48,841 --> 00:00:50,447 that we're gonna start out with, 17 00:00:50,447 --> 00:00:52,780 or open an existing project. 18 00:00:53,678 --> 00:00:55,294 So that leads us to the question of, 19 00:00:55,294 --> 00:00:58,106 what exactly is a project? 20 00:00:58,106 --> 00:01:00,222 Okay, so to answer that, I've actually- 21 00:01:00,222 --> 00:01:02,780 I'm going go to ahead and cancel out of here, 22 00:01:02,780 --> 00:01:04,389 and cancel out of here. 23 00:01:04,389 --> 00:01:07,889 And I've all ready created a GNS3 project, 24 00:01:09,231 --> 00:01:10,778 actually I'll go ahead and show you 25 00:01:10,778 --> 00:01:14,023 what that looks like within GNS3. 26 00:01:14,023 --> 00:01:17,154 So from here, I'm just gonna go on Open a Project, 27 00:01:17,154 --> 00:01:20,228 and these are various project folders that are here. 28 00:01:20,228 --> 00:01:21,952 I'll tell you what those are in just a second, 29 00:01:21,952 --> 00:01:26,266 but let me just go ahead and click on this EIGRP Project. 30 00:01:26,266 --> 00:01:28,435 So when you're opening an existing project, 31 00:01:28,435 --> 00:01:30,446 you'll go into where your projects are stored, 32 00:01:30,446 --> 00:01:33,840 and notice, at least in this version of GNS3, 33 00:01:33,840 --> 00:01:37,011 projects, by default, are stored- 34 00:01:37,011 --> 00:01:38,086 Let me go back. 35 00:01:38,086 --> 00:01:39,669 Under your C drive, 36 00:01:40,664 --> 00:01:41,664 under Users, 37 00:01:43,665 --> 00:01:46,758 under the name of you, your user name, 38 00:01:46,758 --> 00:01:48,899 and then you'll see there's a GNS3 folder, 39 00:01:48,899 --> 00:01:50,672 and if you double click on that, 40 00:01:50,672 --> 00:01:53,880 you'll see a Projects folder. 41 00:01:53,880 --> 00:01:55,056 Double click on Projects, 42 00:01:55,056 --> 00:01:57,581 and that is where all of your projects are stored. 43 00:01:57,581 --> 00:01:59,976 So, as you go about using GNS3 44 00:01:59,976 --> 00:02:04,230 to create your own labs for BGP, OSPF, whatever it is, 45 00:02:04,230 --> 00:02:07,586 and you name those labs whatever you want to name it, 46 00:02:07,586 --> 00:02:10,761 BGP, Santa Claus, Red Racing Car, 47 00:02:10,761 --> 00:02:13,067 whatever the name of your project is, 48 00:02:13,067 --> 00:02:16,126 it'll be stored here, in your Projects folder. 49 00:02:16,126 --> 00:02:18,856 Once again, notice that it's your C drive, 50 00:02:18,856 --> 00:02:22,432 Users, your user name in your laptop, 51 00:02:22,432 --> 00:02:24,015 GNS3, and Projects. 52 00:02:25,528 --> 00:02:29,695 So, let me go ahead and open up one of my existing projects. 53 00:02:31,283 --> 00:02:33,295 I'll click on the name of the project, 54 00:02:33,295 --> 00:02:36,572 and then I'll go to the actual GNS3 project file, 55 00:02:36,572 --> 00:02:38,037 and I'm gonna talk about that in just a second. 56 00:02:38,037 --> 00:02:40,865 So when I open that project file, it opens this. 57 00:02:40,865 --> 00:02:43,437 A real simple project that I created just this morning 58 00:02:43,437 --> 00:02:46,395 of three routers and an EtherSwitch, 59 00:02:46,395 --> 00:02:47,569 some basic stuff. 60 00:02:47,569 --> 00:02:52,282 Now, how did that project file create all of this? 61 00:02:52,282 --> 00:02:54,099 In other words, what's in that project file 62 00:02:54,099 --> 00:02:56,808 that remembered all of this when I created it? 63 00:02:56,808 --> 00:03:00,253 So let me go ahead and minimize this for a second, 64 00:03:00,253 --> 00:03:02,836 and bring up that project file. 65 00:03:04,074 --> 00:03:05,032 So here it is. 66 00:03:05,032 --> 00:03:07,017 I'll go ahead and double click on that. 67 00:03:07,017 --> 00:03:09,512 And you'll see that right in the very high level 68 00:03:09,512 --> 00:03:10,584 you've got three things. 69 00:03:10,584 --> 00:03:13,196 You've got a screen shot, which, you can open that up. 70 00:03:13,196 --> 00:03:14,342 It's just a PNG image. 71 00:03:14,342 --> 00:03:17,186 And that shows, it actually took, 72 00:03:17,186 --> 00:03:20,274 right after I saved the project it took a screen shot 73 00:03:20,274 --> 00:03:23,161 of what the topology currently was. 74 00:03:23,161 --> 00:03:24,352 And this is nice, you can send this 75 00:03:24,352 --> 00:03:26,034 as an e-mail attachment to somebody 76 00:03:26,034 --> 00:03:28,534 if you want to show them what you've created. 77 00:03:28,534 --> 00:03:30,674 It's just a PNG image. 78 00:03:30,674 --> 00:03:33,036 And then you've got your project files, 79 00:03:33,036 --> 00:03:35,084 and if I double click on that, 80 00:03:35,084 --> 00:03:36,642 it goes into Dynamips, 81 00:03:36,642 --> 00:03:39,131 and this is all the stuff that Dynamips is using, 82 00:03:39,131 --> 00:03:41,058 and we don't have to go into a lot of detail 83 00:03:41,058 --> 00:03:43,147 of what all this stuff is, 84 00:03:43,147 --> 00:03:44,358 but you'll also see in here, 85 00:03:44,358 --> 00:03:46,691 there are some config files. 86 00:03:47,559 --> 00:03:50,770 And so, when you issue a write memory, 87 00:03:50,770 --> 00:03:54,118 or a copy run start command on your router- 88 00:03:54,118 --> 00:03:56,736 So I'm saying here, that you've created a project, 89 00:03:56,736 --> 00:03:59,584 and you've been working with it for an hour or so, 90 00:03:59,584 --> 00:04:01,060 and you're ready to leave it behind, 91 00:04:01,060 --> 00:04:02,598 you have to go off and do something else, 92 00:04:02,598 --> 00:04:05,032 but you might want to come back to this in the future. 93 00:04:05,032 --> 00:04:07,397 So on every single router and device you've got in there, 94 00:04:07,397 --> 00:04:10,655 you do copy run start or write mem. 95 00:04:10,655 --> 00:04:13,315 Well what that does, is in this folder here, 96 00:04:13,315 --> 00:04:16,231 it creates what's called a Startup Config file. 97 00:04:16,231 --> 00:04:18,936 And you can actually open those up with a text editor, 98 00:04:18,936 --> 00:04:20,911 I'm gonna use NotePad+. 99 00:04:20,911 --> 00:04:22,411 And you can see here, 100 00:04:22,411 --> 00:04:24,360 I'll just make this a little bit bigger, 101 00:04:24,360 --> 00:04:28,942 this is the last known state of your saved configuration. 102 00:04:28,942 --> 00:04:31,040 So that the next time you open this project 103 00:04:31,040 --> 00:04:34,686 within GNS3, it'll go right back to the state where it was. 104 00:04:34,686 --> 00:04:37,010 So that's where all those config files are. 105 00:04:37,010 --> 00:04:38,693 And once again, that was located 106 00:04:38,693 --> 00:04:40,857 under your projects files here. 107 00:04:40,857 --> 00:04:44,492 So, I went to my users, GNS3 Projects, 108 00:04:44,492 --> 00:04:46,929 I double clicked on the actual name of the project, 109 00:04:46,929 --> 00:04:48,507 and under Project Files 110 00:04:48,507 --> 00:04:50,913 is where all those configurations were. 111 00:04:50,913 --> 00:04:54,193 So these are your configuration files, 112 00:04:54,193 --> 00:04:55,435 all located in here. 113 00:04:55,435 --> 00:04:59,394 That's where your config files are located, right there. 114 00:04:59,394 --> 00:05:01,932 So what is this thing called a Project File? 115 00:05:01,932 --> 00:05:03,643 Well, you can also open that up, 116 00:05:03,643 --> 00:05:05,478 notice it's a GNS3 Project File, 117 00:05:05,478 --> 00:05:07,204 but you can right click on it, 118 00:05:07,204 --> 00:05:08,956 open it up with a text editor, 119 00:05:08,956 --> 00:05:12,215 once again, Notepad or Notepad+. 120 00:05:12,215 --> 00:05:15,761 And I'm not gonna go through this in a lot of depth, 121 00:05:15,761 --> 00:05:17,872 but basically, what this file is, 122 00:05:17,872 --> 00:05:22,039 is this file gives GNS3 everything it needs to know about, 123 00:05:23,291 --> 00:05:25,418 "Okay, when I build this thing, 124 00:05:25,418 --> 00:05:26,891 where are the routers located?" 125 00:05:26,891 --> 00:05:29,759 For example, when I show the user a square, 126 00:05:29,759 --> 00:05:33,304 a working area, is the router gonna be in the upper left, 127 00:05:33,304 --> 00:05:34,212 in the lower left? 128 00:05:34,212 --> 00:05:36,476 Is it gonna be in the right or somewhere in the middle? 129 00:05:36,476 --> 00:05:38,431 So that's one of the things this file does, 130 00:05:38,431 --> 00:05:41,436 is it displays those router icons 131 00:05:41,436 --> 00:05:45,325 in the same locations as where you dragged and dropped them 132 00:05:45,325 --> 00:05:46,860 when you saved the project file, 133 00:05:46,860 --> 00:05:48,765 so they're not just all willy-nilly. 134 00:05:48,765 --> 00:05:51,858 It also, in here, saves, you know, how were they connected. 135 00:05:51,858 --> 00:05:53,789 Was router A connected to router B 136 00:05:53,789 --> 00:05:55,310 via a FastEthernet? 137 00:05:55,310 --> 00:05:57,334 Or via serial interface? 138 00:05:57,334 --> 00:05:59,901 If it was FastEthernet, which FastEthernet? 139 00:05:59,901 --> 00:06:03,447 Was it FastEthernet 00, 0/1? 140 00:06:03,447 --> 00:06:06,223 So all of that is stored in here as well. 141 00:06:06,223 --> 00:06:08,055 It also stores information, like, 142 00:06:08,055 --> 00:06:09,495 what was the name of the device? 143 00:06:09,495 --> 00:06:11,213 You know, if you change the name default name 144 00:06:11,213 --> 00:06:15,125 from Router 1 or San Francisco, or to Fuzzy, 145 00:06:15,125 --> 00:06:16,932 or Bob or something, 146 00:06:16,932 --> 00:06:18,905 all of that is saved in here, 147 00:06:18,905 --> 00:06:20,140 so that when you open it up, 148 00:06:20,140 --> 00:06:23,504 those changes are also in effect. 149 00:06:23,504 --> 00:06:24,789 Other things like, you know, 150 00:06:24,789 --> 00:06:26,169 when you created the project, 151 00:06:26,169 --> 00:06:27,909 what kind of a router was it? 152 00:06:27,909 --> 00:06:29,518 Was it is a 3640? 153 00:06:29,518 --> 00:06:30,351 A 3725? 154 00:06:31,210 --> 00:06:32,758 Something else? 155 00:06:32,758 --> 00:06:34,905 Also, what IOS image was used? 156 00:06:34,905 --> 00:06:37,174 It stores the actual full IOS image 157 00:06:37,174 --> 00:06:39,418 that you used when you created the project. 158 00:06:39,418 --> 00:06:41,879 So this GNS3 project file, 159 00:06:41,879 --> 00:06:44,542 pretty much the only thing it doesn't have 160 00:06:44,542 --> 00:06:47,445 are the configs, the start up config. 161 00:06:47,445 --> 00:06:50,439 But everything else is stored in here, 162 00:06:50,439 --> 00:06:52,832 so that GNS3 can recreate your project 163 00:06:52,832 --> 00:06:54,149 once you pull it up. 164 00:06:54,149 --> 00:06:56,177 So as I just scroll through here a little bit, 165 00:06:56,177 --> 00:06:58,534 you can see it's got, you know, 166 00:06:58,534 --> 00:07:00,896 your X and Y coordinates for this particular router, 167 00:07:00,896 --> 00:07:02,471 so it will place it on the screen 168 00:07:02,471 --> 00:07:04,089 exactly where it needs to go. 169 00:07:04,089 --> 00:07:07,212 It talks about a description about a link, 170 00:07:07,212 --> 00:07:08,218 what it's connected to. 171 00:07:08,218 --> 00:07:10,043 If I scroll down a little bit more, 172 00:07:10,043 --> 00:07:14,139 so you see, each one of these is describing a device, 173 00:07:14,139 --> 00:07:16,459 node_id 2, well I don't know what that is, 174 00:07:16,459 --> 00:07:17,995 but GNS3 knows what that is. 175 00:07:17,995 --> 00:07:21,109 That's one particular router or switch in there. 176 00:07:21,109 --> 00:07:22,611 And if I go further on down, 177 00:07:22,611 --> 00:07:25,120 so this is all just describing where things show up 178 00:07:25,120 --> 00:07:28,173 in the picture, and how they're all connected. 179 00:07:28,173 --> 00:07:31,244 So you notice how, right here, gets all the adapters, 180 00:07:31,244 --> 00:07:34,607 their names, how GNS3 recognizes them. 181 00:07:34,607 --> 00:07:36,710 If I go down a little bit further, 182 00:07:36,710 --> 00:07:39,700 gives my idlepc value that was assigned. 183 00:07:39,700 --> 00:07:41,738 It also gives the name of the router, 184 00:07:41,738 --> 00:07:44,239 if I changed it from the default name to something else. 185 00:07:44,239 --> 00:07:46,826 The platform, and it even goes down here 186 00:07:46,826 --> 00:07:48,021 a little bit further, 187 00:07:48,021 --> 00:07:49,915 and, yeah, right here, the image. 188 00:07:49,915 --> 00:07:51,254 It shows the image that was created. 189 00:07:51,254 --> 00:07:53,843 So this is your GNS3 project file, 190 00:07:53,843 --> 00:07:55,968 so when you are saving a project, 191 00:07:55,968 --> 00:07:58,523 just to recap, what exactly are you doing 192 00:07:58,523 --> 00:08:00,136 when you save a project? 193 00:08:00,136 --> 00:08:02,800 Well, whatever the name of that project is, 194 00:08:02,800 --> 00:08:05,018 it creates a folder with that name, 195 00:08:05,018 --> 00:08:06,509 as you can see here. 196 00:08:06,509 --> 00:08:10,509 And within that folder, it creates a screenshot, 197 00:08:11,515 --> 00:08:14,162 so it can display that screenshot for you again. 198 00:08:14,162 --> 00:08:16,013 It creates a projects file, 199 00:08:16,013 --> 00:08:20,154 which has all of your config files in it, 200 00:08:20,154 --> 00:08:22,016 as well as also the state of memory, 201 00:08:22,016 --> 00:08:23,884 like you know, what was the state of the routing table, 202 00:08:23,884 --> 00:08:25,329 what was the state of the ARP table, 203 00:08:25,329 --> 00:08:27,457 and all that good stuff. 204 00:08:27,457 --> 00:08:30,462 And then lastly, it has a projects file, 205 00:08:30,462 --> 00:08:32,591 and we talked about what that is. 206 00:08:32,591 --> 00:08:33,631 So I'm not quite done yet, 207 00:08:33,631 --> 00:08:34,897 but hopefully at this point, 208 00:08:34,897 --> 00:08:37,616 you understand the difference between a config file 209 00:08:37,616 --> 00:08:41,238 and a project file from the standpoint of GNS3. 210 00:08:41,238 --> 00:08:44,515 Right? The project file is everything but the configs. 211 00:08:44,515 --> 00:08:48,108 The project file is how GNS pieces everything together. 212 00:08:48,108 --> 00:08:49,891 The config file, like we talked about, 213 00:08:49,891 --> 00:08:51,095 is, just like it sounds, 214 00:08:51,095 --> 00:08:53,198 it's the last state of your configs 215 00:08:53,198 --> 00:08:54,856 when you did a write memory. 216 00:08:54,856 --> 00:08:56,683 Now, keep this in mind, 217 00:08:56,683 --> 00:08:58,888 if you close your GNS3 project, 218 00:08:58,888 --> 00:09:00,734 if you're done, and you walk away from it, 219 00:09:00,734 --> 00:09:02,594 and you close it all up. 220 00:09:02,594 --> 00:09:05,698 Anything that was not saved is gone. 221 00:09:05,698 --> 00:09:07,188 It's just like a real router. Right? 222 00:09:07,188 --> 00:09:08,878 In a real Cisco IOS router, 223 00:09:08,878 --> 00:09:11,429 if you power that router off, 224 00:09:11,429 --> 00:09:13,449 anything that was in your running configuration 225 00:09:13,449 --> 00:09:17,762 that was not saved to your start up configuration is lost. 226 00:09:17,762 --> 00:09:19,350 Same thing here with GNS3. 227 00:09:19,350 --> 00:09:21,207 It does not save a copy of what 228 00:09:21,207 --> 00:09:24,208 your last running configuration was. 229 00:09:24,208 --> 00:09:27,532 It only saves what your last start up configuration was. 230 00:09:27,532 --> 00:09:30,334 So make sure you save your configs with write mem 231 00:09:30,334 --> 00:09:33,630 or copy run start before you turn off all your routers, 232 00:09:33,630 --> 00:09:36,690 and shut down the GNS3 application. 233 00:09:36,690 --> 00:09:38,298 One other thing I wanted to talk about, 234 00:09:38,298 --> 00:09:39,732 just one other term. 235 00:09:39,732 --> 00:09:41,313 So in GNS3 terminology, 236 00:09:41,313 --> 00:09:44,687 if you take a look at this window here, off to the left. 237 00:09:44,687 --> 00:09:46,231 This is a tool bar here, 238 00:09:46,231 --> 00:09:48,963 that shows you all of the nodes that are available. 239 00:09:48,963 --> 00:09:51,614 So, for example, if I click on this one here, 240 00:09:51,614 --> 00:09:55,561 this shows me all of the router nodes that are available. 241 00:09:55,561 --> 00:09:59,187 This shows me my switching nodes that are available, 242 00:09:59,187 --> 00:10:01,854 or my PC nodes, or a Cloud node. 243 00:10:03,294 --> 00:10:06,602 So pretty much, anything that you can drag and drop 244 00:10:06,602 --> 00:10:08,758 into this working area right here, 245 00:10:08,758 --> 00:10:12,133 is what GNS3 considers to be a node, 246 00:10:12,133 --> 00:10:16,494 whether it be a router, a switch, a PC, a firewall, 247 00:10:16,494 --> 00:10:21,020 they're all considered nodes from GNS3's standpoint. 248 00:10:21,020 --> 00:10:23,331 So as far as basic terminology is concerned, 249 00:10:23,331 --> 00:10:25,755 that concludes this particular video, 250 00:10:25,755 --> 00:10:28,842 and the next set of videos will take a better look 251 00:10:28,842 --> 00:10:30,002 at this user interface, 252 00:10:30,002 --> 00:10:32,205 and see what the various tool bars are, 253 00:10:32,205 --> 00:10:35,890 and how we can start building some basic topologies. 254 00:10:35,890 --> 00:10:39,390 (electronic sound effect)