1 00:00:09,032 --> 00:00:11,016 - We're gonna start adding some configuration 2 00:00:11,016 --> 00:00:12,049 to these devices. 3 00:00:12,049 --> 00:00:15,614 So we're gonna add IP addresses and static routes. 4 00:00:15,614 --> 00:00:17,859 By the time we're done with this particular section 5 00:00:17,859 --> 00:00:21,491 we still will not have end-to-end connectivity, 6 00:00:21,491 --> 00:00:24,275 because we haven't completed our VLAN configuration 7 00:00:24,275 --> 00:00:25,347 and spanning tree yet, 8 00:00:25,347 --> 00:00:28,162 so we will not have end-to-end connectivity 9 00:00:28,162 --> 00:00:30,066 at the end of this section yet. 10 00:00:30,066 --> 00:00:32,246 So let's go ahead and add our IP addresses, 11 00:00:32,246 --> 00:00:35,712 and static routes where they need to be. 12 00:00:35,712 --> 00:00:39,879 So, let's bring our topology diagram back in to play. 13 00:00:41,738 --> 00:00:44,270 And in case you had not already taken a screen shot of this, 14 00:00:44,270 --> 00:00:45,856 you will want to, 15 00:00:45,856 --> 00:00:47,125 because these are the IP addresses 16 00:00:47,125 --> 00:00:48,218 we're gonna want to implement. 17 00:00:48,218 --> 00:00:49,669 Now once again, when you're building this, 18 00:00:49,669 --> 00:00:52,869 you can use whatever IP addressing you want, 19 00:00:52,869 --> 00:00:55,869 I just chose this to make it simple. 20 00:00:58,412 --> 00:01:00,749 Okay, so I'm going to start with, 21 00:01:00,749 --> 00:01:02,927 let's start just working from left to right. 22 00:01:02,927 --> 00:01:05,557 I'll start with router-1, 23 00:01:05,557 --> 00:01:07,079 and I will turn him on. 24 00:01:07,079 --> 00:01:08,844 I've got quite a few devices in this topology 25 00:01:08,844 --> 00:01:11,028 so I may not want to turn them on. 26 00:01:11,028 --> 00:01:14,064 Let's see here actually I've only got one, two, three, four, 27 00:01:14,064 --> 00:01:16,376 I've got five IOS devices, so it's probably 28 00:01:16,376 --> 00:01:19,709 pretty safe to turn them all on at once. 29 00:01:20,948 --> 00:01:25,031 Okay, so let's go ahead and go into router-1 now. 30 00:01:30,726 --> 00:01:35,007 As that's coming up, it's gonna be fast ethernet 0/0 31 00:01:35,007 --> 00:01:37,117 on this particular router that we're gonna want to configure 32 00:01:37,117 --> 00:01:39,495 as an 802.1q trunk. 33 00:01:39,495 --> 00:01:41,261 So we're basically configuring what's called a router 34 00:01:41,261 --> 00:01:43,344 on a stick as this point. 35 00:01:44,884 --> 00:01:47,365 The interface fast ethernet 0/0. 36 00:01:47,365 --> 00:01:49,920 All we have to do here is no shut. 37 00:01:49,920 --> 00:01:51,338 But before I do that, 38 00:01:51,338 --> 00:01:54,973 I'm gonna wanna create my sub-interfaces. 39 00:01:54,973 --> 00:01:58,168 And I'm supporting VLAN's four and five, so I'll do 40 00:01:58,168 --> 00:01:59,793 subinterface four to begin with. 41 00:01:59,793 --> 00:02:03,032 It could be any number I want, I'm just choosing that. 42 00:02:03,032 --> 00:02:04,865 Encapsulation dot1q 4, 43 00:02:05,998 --> 00:02:10,351 That makes sure that he understands that 802.1q tags, 44 00:02:10,351 --> 00:02:12,170 and that anything that arrives with a tag 45 00:02:12,170 --> 00:02:15,654 value of four, or needs to leave with a tag value of four, 46 00:02:15,654 --> 00:02:19,737 the VLAN of four, will use this particular sub-interface. 47 00:02:19,737 --> 00:02:22,987 And then select the correct IP address. 48 00:02:27,590 --> 00:02:29,863 Alright, and then rinse and repeat. 49 00:02:29,863 --> 00:02:32,817 Do the same thing for our next sub-interface. 50 00:02:32,817 --> 00:02:34,372 I'm just using the up arrow here 51 00:02:34,372 --> 00:02:37,122 to go through my command history. 52 00:02:38,082 --> 00:02:41,582 Just making slight changes as we go along. 53 00:02:45,000 --> 00:02:46,833 Okay, now before I leave this, 54 00:02:46,833 --> 00:02:48,625 I also need to put in a static route, 55 00:02:48,625 --> 00:02:49,766 and then the last thing I'll do 56 00:02:49,766 --> 00:02:52,436 is bring up that physical interface. 57 00:02:52,436 --> 00:02:54,404 Alright so static route. 58 00:02:54,404 --> 00:02:58,370 Why don't we just create a single default route in this guy? 59 00:02:58,370 --> 00:03:00,902 Because really there's only one way out on him, 60 00:03:00,902 --> 00:03:03,024 he doesn't have multiple egress points. 61 00:03:03,024 --> 00:03:05,357 So IP route 0.0.0.0 0.0.0.0, 62 00:03:06,837 --> 00:03:09,442 that says anything you don't know about, 63 00:03:09,442 --> 00:03:11,359 let's have him go to... 64 00:03:13,236 --> 00:03:15,777 Well he's got two possible people he could go to, 65 00:03:15,777 --> 00:03:18,099 VLAN-4, or VLAN-5 on his 66 00:03:18,099 --> 00:03:20,599 counterpart which is router-2. 67 00:03:21,856 --> 00:03:26,026 So doesn't really matter, we'll just select one of them. 68 00:03:26,026 --> 00:03:29,276 Let's select in this particular case... 69 00:03:31,511 --> 00:03:33,729 Let's do it this way. 70 00:03:33,729 --> 00:03:36,371 Let's bring in this drawing here. 71 00:03:36,371 --> 00:03:38,907 Let's configure Router-1 so that if he's trying to get 72 00:03:38,907 --> 00:03:40,657 to the 2.3.2 network, 73 00:03:42,252 --> 00:03:44,169 he'll go across VLAN-4, 74 00:03:45,216 --> 00:03:49,549 and if he's trying to get the 3.2.3 network, 75 00:03:49,549 --> 00:03:51,618 he'll go across VLAN-5. 76 00:03:51,618 --> 00:03:53,955 So that will necessitate two different 77 00:03:53,955 --> 00:03:56,122 static routes in router-1. 78 00:03:57,775 --> 00:04:01,108 Alright so, to get to the 2.3.2 network, 79 00:04:04,114 --> 00:04:06,864 your next hop is gonna be 1.2.4.2 80 00:04:09,779 --> 00:04:12,446 and to get to the 3.2.3 network, 81 00:04:16,762 --> 00:04:19,262 your next hop will be 1.2.5.2, 82 00:04:22,094 --> 00:04:23,883 and now the last thing is we need to go back into his 83 00:04:23,883 --> 00:04:26,800 physical interface and bring it up. 84 00:04:28,582 --> 00:04:30,499 Save our configuration. 85 00:04:33,752 --> 00:04:36,386 Okay so we are done with that router. 86 00:04:36,386 --> 00:04:38,136 I can get rid of him. 87 00:04:40,316 --> 00:04:42,102 Now as far as IP addressing is concerned, 88 00:04:42,102 --> 00:04:43,782 let's go over to the far right, 89 00:04:43,782 --> 00:04:45,874 and go to router-3. 90 00:04:45,874 --> 00:04:48,130 Configure router-3. 91 00:04:48,130 --> 00:04:49,490 It's gonna be pretty much the same 92 00:04:49,490 --> 00:04:52,490 kind of thing as we did in router-1. 93 00:04:54,215 --> 00:04:57,061 So I'll just start by configuring my static routes, 94 00:04:57,061 --> 00:05:00,832 IP route 1.2.4.0 95 00:05:00,832 --> 00:05:05,063 255 255 255 0 96 00:05:05,063 --> 00:05:09,230 and we want that to go to the next hop of 2.3.2.2, 97 00:05:11,009 --> 00:05:15,176 an IP route of 1.2.5.0, 98 00:05:20,077 --> 00:05:24,244 we want that to go to 3.2.3.2. 99 00:05:27,793 --> 00:05:31,567 Okay that'll accomplish load balancing on that side, 100 00:05:31,567 --> 00:05:34,972 and then go to interface fast ethernet 0/0, 101 00:05:34,972 --> 00:05:37,306 let's make sure it really was 0/0, 102 00:05:37,306 --> 00:05:38,889 yep 0/0, 103 00:05:40,993 --> 00:05:43,188 okay so we're dealing VLANs two and three here, 104 00:05:43,188 --> 00:05:46,021 so I'll make this sub-interface-2 , 105 00:05:46,021 --> 00:05:48,854 encapsulation dot1q 2, 106 00:05:50,102 --> 00:05:53,102 IP address 2.3.2.3 107 00:05:58,312 --> 00:06:02,062 and then we'll create a sub-interface vlan-3. 108 00:06:09,262 --> 00:06:10,095 3.2.3.3 109 00:06:11,798 --> 00:06:13,217 and then lastly 110 00:06:13,217 --> 00:06:16,384 we'll bring up our physical interface. 111 00:06:19,386 --> 00:06:21,719 And save that configuration. 112 00:06:24,218 --> 00:06:27,051 Okay, so we're done with router-3. 113 00:06:28,621 --> 00:06:31,134 Now let's go over and configure the IP addressing 114 00:06:31,134 --> 00:06:33,717 on router-2 here in the middle. 115 00:06:39,239 --> 00:06:43,889 Okay, so let's start with his fast ethernet 0/1, 116 00:06:43,889 --> 00:06:45,802 so we're not trunking on these two interfaces, 117 00:06:45,802 --> 00:06:48,220 these are just regular routed ports 118 00:06:48,220 --> 00:06:50,038 with just a single subnet. 119 00:06:50,038 --> 00:06:53,852 So, interface fast ethernet 0/1 120 00:06:53,852 --> 00:06:57,269 that's going to be IP address of 2.3.2.2, 121 00:06:59,626 --> 00:07:01,501 no shut, 122 00:07:01,501 --> 00:07:05,668 and the other one if fast ethernet 1/0, 123 00:07:06,747 --> 00:07:09,747 IP address 3.2.3.2, 124 00:07:11,891 --> 00:07:14,140 no shut. 125 00:07:14,140 --> 00:07:18,825 Okay, and now we have to configure fast ethernet 0/0 126 00:07:18,825 --> 00:07:20,181 as a trunk. 127 00:07:20,181 --> 00:07:22,136 Now before we do that, 128 00:07:22,136 --> 00:07:26,358 at this point we should have end-to-end IP connectivity 129 00:07:26,358 --> 00:07:29,412 between router-2 and router-3, 130 00:07:29,412 --> 00:07:31,343 we already previously created the VLANs 131 00:07:31,343 --> 00:07:33,833 and created the trunks in switch-1, 132 00:07:33,833 --> 00:07:35,749 now we've completed our router on a stick 133 00:07:35,749 --> 00:07:37,324 over here on router-3, 134 00:07:37,324 --> 00:07:40,549 and we've configured our IP addresses on router-2, 135 00:07:40,549 --> 00:07:43,325 so we should be able to ping our directly connected routers 136 00:07:43,325 --> 00:07:44,957 across that link, 137 00:07:44,957 --> 00:07:46,411 let's see if we can. 138 00:07:46,411 --> 00:07:47,258 If not we have we'll have to 139 00:07:47,258 --> 00:07:49,312 do a little bit of troubleshooting. 140 00:07:49,312 --> 00:07:50,500 So I'm on router-2 right now, 141 00:07:50,500 --> 00:07:53,827 ping 2.3.2.3 142 00:07:53,827 --> 00:07:55,273 he's arping for it, 143 00:07:55,273 --> 00:07:56,822 great, success, 144 00:07:56,822 --> 00:07:59,780 ping 3.2.3.3, 145 00:07:59,780 --> 00:08:01,566 he's arping for it, 146 00:08:01,566 --> 00:08:02,714 and success. 147 00:08:02,714 --> 00:08:03,903 Wonderful. 148 00:08:03,903 --> 00:08:05,904 Okay so now we just have one little step left 149 00:08:05,904 --> 00:08:08,557 on router-2 we gotta configure this side over here 150 00:08:08,557 --> 00:08:10,450 as a router on a stick, 151 00:08:10,450 --> 00:08:11,950 by making a trunk. 152 00:08:13,260 --> 00:08:17,427 So interface fast ethernet 0/0.4 153 00:08:19,674 --> 00:08:22,571 to support vlan-4, 154 00:08:22,571 --> 00:08:24,404 encapsulation dot1q 4, 155 00:08:25,886 --> 00:08:28,969 IP address 1.2.4.2, 156 00:08:34,258 --> 00:08:36,675 and sub-interface for vlan-5, 157 00:08:41,311 --> 00:08:43,144 which will be 1.2.5.2, 158 00:08:47,233 --> 00:08:49,650 okay, save the configuration. 159 00:08:51,419 --> 00:08:52,994 Now in this particular case 160 00:08:52,994 --> 00:08:56,832 there are no static routes necessary on router-2 161 00:08:56,832 --> 00:08:59,764 because every single subnet in this topology, 162 00:08:59,764 --> 00:09:01,520 he's directly connected to. 163 00:09:01,520 --> 00:09:03,845 There's no subnets here that he's not actually 164 00:09:03,845 --> 00:09:06,418 connected to on some kind of interface, 165 00:09:06,418 --> 00:09:08,427 so we don't need any kind of static routes 166 00:09:08,427 --> 00:09:09,927 configured on him. 167 00:09:11,163 --> 00:09:13,210 And that concludes this particular section, 168 00:09:13,210 --> 00:09:16,198 this section was focused on adding IP addresses 169 00:09:16,198 --> 00:09:19,307 and static routes and we have done that, 170 00:09:19,307 --> 00:09:20,447 so now in the next sections, 171 00:09:20,447 --> 00:09:22,848 we're really gonna get into the meat 172 00:09:22,848 --> 00:09:25,152 of configuring switching commands 173 00:09:25,152 --> 00:09:27,402 on our EtherSwitch routers.