WEBVTT

1
00:00.000 --> 00:05.000
So what exactly are these switched virtual interfaces anyways?

2
00:05.000 --> 00:11.000
Well, if you're like me, you probably refer to these as simply VLAN interfaces.

3
00:11.000 --> 00:15.050
And if you're like me, you're probably also wondering why is there such a

4
00:15.050 --> 00:17.000
technical term for it like SVIs.

5
00:17.000 --> 00:20.980
And I don't have a great answer for that, but I can tell you that Cisco loves

6
00:20.980 --> 00:22.000
to call them SVIs.

7
00:22.000 --> 00:27.310
And yet if we want to configure them, we're simply going to get onto an iOSX-E

8
00:27.310 --> 00:28.000
device.

9
00:28.000 --> 00:34.000
And we're going to type in interface VLAN and then some kind of ID.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

9
00:28.000 --> 00:34.000
And we're going to type in interface VLAN and then some kind of ID.

10
00:34.000 --> 00:36.000
So VLAN 10, VLAN 20.

11
00:36.000 --> 00:43.210
And what this is, is it's a layer three interface that is directly bound to a V

12
00:43.210 --> 00:44.000
LAN.

13
00:44.000 --> 00:49.440
So there are certain situations where I can create layer three interfaces like

14
00:49.440 --> 00:52.000
loop X that are part of the layer three domain.

15
00:52.000 --> 00:57.400
But in our case, this layer three interface is going to be part of a layer two

16
00:57.400 --> 00:58.000
domain.

17
00:58.000 --> 01:02.000
It's going to be part of a specific VLAN.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

17
00:58.000 --> 01:02.000
It's going to be part of a specific VLAN.

18
01:02.000 --> 01:03.000
What exactly does that mean?

19
01:03.000 --> 01:08.000
Well, I like to refer to this as a point of presence or a pop.

20
01:08.000 --> 01:09.000
We'll call it that.

21
01:09.000 --> 01:16.000
But it's a point of presence on a VLAN for the switching question.

22
01:16.000 --> 01:18.000
So what are the uses for this?

23
01:18.000 --> 01:24.000
Well, very commonly, we're going to rely on these as our default gateways.

24
01:24.000 --> 01:29.000
So VLAN 10 is going to have a bunch of hosts on it.

25
01:29.000 --> 01:35.670
I'm going to create a SBI for VLAN 10, give it an IP address, and all of my
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

25
01:29.000 --> 01:35.670
I'm going to create a SBI for VLAN 10, give it an IP address, and all of my

26
01:35.670 --> 01:39.000
hosts will use this SBI as their default gateway.

27
01:39.000 --> 01:43.060
It's their way off of the subnet, which we saw at the end of the last video,

28
01:43.060 --> 01:47.000
when we were trying to communicate with a host on a different VLAN.

29
01:47.000 --> 01:51.000
But we can use SBIs for other reasons beyond default gateways.

30
01:51.000 --> 01:55.000
For example, it can be used as a point of management on the switch.

31
01:55.000 --> 01:59.910
If I want to log into the switch, I need to have layer three IP address to

32
01:59.910 --> 02:01.000
connect to.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

32
01:59.910 --> 02:01.000
connect to.

33
02:01.000 --> 02:04.500
And even if it's a layer two switch, I'm going to have to log into that switch

34
02:04.500 --> 02:05.000
somehow.

35
02:05.000 --> 02:10.000
And using an SBI as a management interface is pretty common.

36
02:10.000 --> 02:15.550
And lastly, and this is often overlooked, I can tell you I've used this a lot

37
02:15.550 --> 02:17.000
of situations.

38
02:17.000 --> 02:23.060
It is a wonderful way to troubleshoot when we're having routing and switching

39
02:23.060 --> 02:24.000
issues.

40
02:24.000 --> 02:28.000
So maybe we're not able to get a ping across the network.

41
02:28.000 --> 02:33.040
Well, I've got switches in the path that I could install or create an SBI on
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

41
02:28.000 --> 02:33.040
Well, I've got switches in the path that I could install or create an SBI on

42
02:33.040 --> 02:35.000
and use that to run troubleshooting.

43
02:35.000 --> 02:40.460
And the more we become one with layer two and layer three, well, the more we're

44
02:40.460 --> 02:42.000
going to be able to look at a situation and say,

45
02:42.000 --> 02:48.000
"Oh, yeah, I can troubleshoot this just by creating a new SVI."

46
02:48.000 --> 02:51.000
So let's look at that blended topology once again.

47
02:51.000 --> 02:56.910
If I'm looking at a switch and I know that I've got this VLAN, let's just again

48
02:56.910 --> 02:59.000
call it VLAN 10,

49
02:59.000 --> 03:05.060
and I want to connect VLAN 10 to this layer two domain, well, I might have a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

49
02:59.000 --> 03:05.060
and I want to connect VLAN 10 to this layer two domain, well, I might have a

50
03:05.060 --> 03:09.420
bunch of switches all communicating with one another on VLAN 10 in some

51
03:09.420 --> 03:10.000
capacity,

52
03:10.000 --> 03:14.000
and then I've got a bunch of hosts down here as well.

53
03:14.000 --> 03:16.890
Now notice this blended diagram doesn't tell us how these switches are

54
03:16.890 --> 03:18.000
physically connected.

55
03:18.000 --> 03:25.000
We just know that they have presence on VLAN 10's network.

56
03:25.000 --> 03:30.170
But here's the question, can these hosts communicate with one another without
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

56
03:25.000 --> 03:30.170
But here's the question, can these hosts communicate with one another without

57
03:30.170 --> 03:32.000
there being an SVI on these switches?

58
03:32.000 --> 03:34.000
And the answer is yes.

59
03:34.000 --> 03:38.000
An SVI is not part of the traffic flow, it's very important.

60
03:38.000 --> 03:42.130
In this situation, I don't even have SVI's configured, and these hosts are able

61
03:42.130 --> 03:47.000
to communicate, we can see that using the logical side of this diagram.

62
03:47.000 --> 03:49.000
But what if I do create SVI's?

63
03:49.000 --> 03:54.000
What if I have an SVI here on the left, an SVI here on the right, and again,

64
03:54.000 --> 03:58.000
when I create it, as we've said, it gets bound to that VLAN.

65
03:58.000 --> 04:02.160
So this little connecting line right here, that happens automatically, the
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

65
03:58.000 --> 04:02.160
So this little connecting line right here, that happens automatically, the

66
04:02.160 --> 04:07.700
switch says, okay, as part of this layer two domain, I'm going to attach an SVI

67
04:07.700 --> 04:08.000
.

68
04:08.000 --> 04:11.550
And so at this point, do I need to go through the SVI, and the diagram didn't

69
04:11.550 --> 04:13.000
really change that much.

70
04:13.000 --> 04:19.880
I mean, we can see that I can communicate directly with a host on the same VLAN

71
04:19.880 --> 04:20.000
.

72
04:20.000 --> 04:23.000
But can I communicate with a host on a different subnet?

73
04:23.000 --> 04:27.180
What if I've got this subnet over here, which is kind of what we saw, I'll go

74
04:27.180 --> 04:28.000
through there, there we go.

75
04:28.000 --> 04:32.740
What we saw at the end of the last video, and the answer is no, I can't just
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

75
04:28.000 --> 04:32.740
What we saw at the end of the last video, and the answer is no, I can't just

76
04:32.740 --> 04:35.000
hop from one line to the other like this.

77
04:35.000 --> 04:38.000
I'm going to have to go up and get routed.

78
04:38.000 --> 04:40.000
The question is, what am I getting routed to?

79
04:40.000 --> 04:43.000
In this situation, I have nowhere to go.

80
04:43.000 --> 04:49.000
From a layer three perspective, I can't jump from this SVI onto this VLAN.

81
04:49.000 --> 04:51.000
I don't have that path available.

82
04:51.000 --> 04:54.220
And so this is why this type of diagram can be so useful for troubleshooting,

83
04:54.220 --> 04:58.740
because this host might not be able to ping this host, and when we diagram this

84
04:58.740 --> 05:01.000
all out, we realize that there's no routing path.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

84
04:58.740 --> 05:01.000
all out, we realize that there's no routing path.

85
05:01.000 --> 05:05.000
I don't have a way to route from one VLAN to the other.

86
05:05.000 --> 05:11.120
So what's the solution? Well, in this case, I need to create an SVI for VLAN 20

87
05:11.120 --> 05:15.200
, and this will allow the switch to route to another layer three interface, and

88
05:15.200 --> 05:21.000
then get handed off from a layer two perspective, thus enabling the ping

89
05:21.000 --> 05:23.000
between those hosts.

90
05:23.000 --> 05:27.520
Another way of looking at this when we zoom in just on a single switch is to

91
05:27.520 --> 05:32.600
recognize that I might have, now we can draw this VLAN, let's say VLAN 10,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

91
05:27.520 --> 05:32.600
recognize that I might have, now we can draw this VLAN, let's say VLAN 10,

92
05:32.600 --> 05:37.000
inside of the switch, since we're just within a single switch.

93
05:37.000 --> 05:42.700
So now I've got multiple hosts hanging off of VLAN 10 here, and they can all

94
05:42.700 --> 05:44.000
communicate.

95
05:44.000 --> 05:50.330
And then I say, OK, but I want this switch to have an SVI for VLAN 10, and so

96
05:50.330 --> 05:56.000
this allows me to communicate and ping these hosts from this SVI.

97
05:56.000 --> 05:58.000
But again, notice the traffic pattern here.

98
05:58.000 --> 06:02.370
If I want this host to communicate to this host, I just need to hit the layer
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

98
05:58.000 --> 06:02.370
If I want this host to communicate to this host, I just need to hit the layer

99
06:02.370 --> 06:05.000
two network and come immediately down.

100
06:05.000 --> 06:11.000
I do not pass through the SVI, and the SVI is not part of that traffic flow.

101
06:11.000 --> 06:16.330
Conversely, now, let's say that we've got a bunch of switches, and so this is

102
06:16.330 --> 06:21.400
just one of the switches in the path, and I've got this VLAN that I've got some

103
06:21.400 --> 06:27.000
hosts that connect down off of VLAN 20, let's say this is VLAN 20 in this case.

104
06:27.000 --> 06:31.000
And the question is, OK, how do I manage this switch?
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

104
06:27.000 --> 06:31.000
And the question is, OK, how do I manage this switch?

105
06:31.000 --> 06:35.990
This switch doesn't have a layer three interface, I can't ping it, and I can't

106
06:35.990 --> 06:37.000
log into it.

107
06:37.000 --> 06:41.000
Now, the question that we might have to ask is, is this working?

108
06:41.000 --> 06:43.000
Is this an online switch?

109
06:43.000 --> 06:45.000
And the answer is yes.

110
06:45.000 --> 06:48.000
It's working just fine, it's working at layer two.

111
06:48.000 --> 06:52.410
These hosts can communicate with one another, even though I can't ping the

112
06:52.410 --> 06:53.000
switch.

113
06:53.000 --> 06:55.000
How can I ping the switch?

114
06:55.000 --> 07:02.500
Well, as long as we're talking about being available via VLAN 20, I can again
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

114
06:55.000 --> 07:02.500
Well, as long as we're talking about being available via VLAN 20, I can again

115
07:02.500 --> 07:04.000
create that SVI.

116
07:04.000 --> 07:07.000
Or what if this switch has managed another way?

117
07:07.000 --> 07:10.780
Maybe it's got an out of band management port on the back, and it goes off to a

118
07:10.780 --> 07:12.000
management network.

119
07:12.000 --> 07:16.620
And so now I'm trying to ping, I'm trying to make things work, I can't figure

120
07:16.620 --> 07:20.900
out, these hosts aren't working very well, or something along the lines of

121
07:20.900 --> 07:23.000
network connectivity issues.

122
07:23.000 --> 07:25.000
How could I troubleshoot?

123
07:25.000 --> 07:29.000
Well, once again, I could create an SVI in VLAN 20.

124
07:29.000 --> 07:33.210
This is not going to be used as a default gateway, it's not going to be used as
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

124
07:29.000 --> 07:33.210
This is not going to be used as a default gateway, it's not going to be used as

125
07:33.210 --> 07:35.000
a way to manage the switch.

126
07:35.000 --> 07:40.000
But what I can do is, as mentioned, I can start pinging these other hosts.

127
07:40.000 --> 07:45.000
Or I could ping from this switch out to another switch via VLAN 20.

128
07:45.000 --> 07:50.390
It starts to give me that point of presence, again, the point of presence, on a

129
07:50.390 --> 07:51.000
VLAN.

130
07:51.000 --> 07:55.960
And so that's a great way for us to start to think about how these SVI's can be

131
07:55.960 --> 08:00.000
used beyond just the most common ways that we deploy them.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

131
07:55.960 --> 08:00.000
used beyond just the most common ways that we deploy them.

132
08:00.000 --> 08:05.350
Now, lastly, we've mentioned a couple of times that we like there to be a one-

133
08:05.350 --> 08:10.000
to-one relationship between our VLAN and our subnets.

134
08:10.000 --> 08:15.000
Well, let's say like this, our subnets and our VLANs.

135
08:15.000 --> 08:22.180
But it doesn't have to be this way. We could actually have a many-to-one

136
08:22.180 --> 08:23.000
relationship between the two.

137
08:23.000 --> 08:29.500
And the way this works is now I can take all of this that I've applied and

138
08:29.500 --> 08:35.000
apply now multiple subnets to my SVI.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

138
08:29.500 --> 08:35.000
apply now multiple subnets to my SVI.

139
08:35.000 --> 08:42.000
How do I do that? I do it using the concept of secondary IP addresses.

140
08:42.000 --> 08:49.190
This is a concept that was used more early on in networks, especially as we had

141
08:49.190 --> 08:53.770
to evolve from network supporting multiple subnets to trying to split them all

142
08:53.770 --> 08:54.000
out.

143
08:54.000 --> 08:59.510
And secondary IP addresses can be very useful from the perspective of migrating

144
08:59.510 --> 09:04.000
or merging networks or maybe demerging networks or whatever the situation is,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

144
08:59.510 --> 09:04.000
or merging networks or maybe demerging networks or whatever the situation is,

145
09:04.000 --> 09:08.000
where we just have to support multiple addresses.

146
09:08.000 --> 09:13.330
For example, if I'm converting, if I'm doing a conversion from one subnet to

147
09:13.330 --> 09:17.330
another, well, then I probably need to support both of those subnets at the

148
09:17.330 --> 09:21.000
same time within the same VLAN and a secondary is a great way to do it.

149
09:21.000 --> 09:26.090
The way this works is when I get onto that interface for VLAN, let's say 10, I

150
09:26.090 --> 09:33.290
can configure a primary IP address, let's say it's 10.0.10.1, and then I give
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

150
09:26.090 --> 09:33.290
can configure a primary IP address, let's say it's 10.0.10.1, and then I give

151
09:33.290 --> 09:35.000
it the subnet mask.

152
09:35.000 --> 09:39.000
We'll just give it a /24 in this case.

153
09:39.000 --> 09:44.010
So I configure an IP address and that's great, but now I can configure another

154
09:44.010 --> 09:48.880
IP address, so maybe a different subnet, let's say it's 20.1, and same thing

155
09:48.880 --> 09:53.000
with a subnet mask, and I tack on this word, secondary.

156
09:53.000 --> 10:02.100
And what's interesting about this is I can actually add as many secondary
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

156
09:53.000 --> 10:02.100
And what's interesting about this is I can actually add as many secondary

157
10:02.100 --> 10:06.160
addresses as I want. I can say IP address and then 10.0.30.1, same subnet mask,

158
10:06.160 --> 10:08.680
and secondary, and both of these commands will remain on the switch

159
10:08.680 --> 10:10.000
configuration.

160
10:10.000 --> 10:23.000
So at that point, I support three different subnets all on a single domain. But

161
10:23.000 --> 10:23.000
if we look at our topology diagrams here, there's no problem with that. We

162
10:23.000 --> 10:23.000
haven't layered subnets into this conversation.

163
10:23.000 --> 10:27.250
We've simply pointed out where there's layer two and layer three interfaces. So

164
10:27.250 --> 10:31.000
now we might actually see where we have a split.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

164
10:27.250 --> 10:31.000
now we might actually see where we have a split.

165
10:31.000 --> 10:38.220
Maybe, for example, as we look, let's say this topology right here, maybe these

166
10:38.220 --> 10:47.530
two hosts are in that 10.0.10.0/24. But maybe we've got a couple of hosts over

167
10:47.530 --> 10:48.000
here.

168
10:48.000 --> 10:54.370
And these hosts are actually in one of these secondaries. Let's say it's the 10

169
10:54.370 --> 11:01.550
.0.20.0/24. So is this okay? Is this topology where two different subnets are
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

169
10:54.370 --> 11:01.550
.0.20.0/24. So is this okay? Is this topology where two different subnets are

170
11:01.550 --> 11:04.000
running on the same VLAN? Is that going to work?

171
11:04.000 --> 11:07.760
And the answer is it's going to work. And these two hosts will be able to

172
11:07.760 --> 11:11.950
communicate to one another. These two hosts will be able to communicate with

173
11:11.950 --> 11:15.000
one another. No problem. So what is the problem?

174
11:15.000 --> 11:20.560
Well, remember, VLAN is a broadcast domain. And because of that, a broadcast

175
11:20.560 --> 11:25.450
that is sent by this host on the left is going to be received by the host that

176
11:25.450 --> 11:27.000
's in the same subnet.

177
11:27.000 --> 11:31.250
And it's going to be received by the hosts that are in the other subnets
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

177
11:27.000 --> 11:31.250
And it's going to be received by the hosts that are in the other subnets

178
11:31.250 --> 11:35.070
because they're all part of the same VLAN and all part of the same broadcast

179
11:35.070 --> 11:36.000
domain.

180
11:36.000 --> 11:40.290
And yeah, they'll just have to discard that traffic, but they still have to

181
11:40.290 --> 11:44.200
receive it and process it. So this is why we don't like to use secondary

182
11:44.200 --> 11:45.000
addresses.

183
11:45.000 --> 11:49.540
But as mentioned, for IP address conversions, for network migrations, this can

184
11:49.540 --> 11:54.000
be a powerful tool in our belt and one that we might just have to use.
