📄 vlan4.htm
字号:
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:red'>A<o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1944" type="#_x0000_t202" style='position:absolute;
left:6112;top:5318;width:466;height:407' filled="f" fillcolor="red"
stroked="f" strokeweight="1pt">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:red'>C<o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1945" type="#_x0000_t202" style='position:absolute;
left:7833;top:3416;width:468;height:407' filled="f" fillcolor="red"
stroked="f" strokeweight="1pt">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>B<o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1946" type="#_x0000_t202" style='position:absolute;
left:7990;top:5318;width:468;height:407' filled="f" fillcolor="red"
stroked="f" strokeweight="1pt">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>D<o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:line id="_x0000_s1947" style='position:absolute' from="3607,3416"
to="3607,5182" strokecolor="red" strokeweight="1pt"/>
<v:line id="_x0000_s1948" style='position:absolute' from="3920,3416" to="3920,5182"
strokecolor="blue" strokeweight="1pt"/>
<v:shapetype id="_x0000_t48" coordsize="21600,21600" o:spt="48" adj="-10080,24300,-3600,4050,-1800,4050"
path="m@0@1l@2@3@4@5nfem,l21600,r,21600l,21600xe">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="val #0"/>
<v:f eqn="val #1"/>
<v:f eqn="val #2"/>
<v:f eqn="val #3"/>
<v:f eqn="val #4"/>
<v:f eqn="val #5"/>
</v:formulas>
<v:path arrowok="t" o:extrusionok="f" gradientshapeok="t" o:connecttype="custom"
o:connectlocs="@0,@1;10800,0;10800,21600;0,10800;21600,10800"/>
<v:handles>
<v:h position="#0,#1"/>
<v:h position="#2,#3"/>
<v:h position="#4,#5"/>
</v:handles>
<o:callout v:ext="edit" on="t"/>
</v:shapetype><v:shape id="_x0000_s1949" type="#_x0000_t48" style='position:absolute;
left:1989;top:3416;width:1097;height:2309' adj="35806,7778,26084,1466,23654,1466,30586,929"
filled="f" fillcolor="red" strokeweight="1pt">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><span style='font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>每增加一个</span><span lang=EN-US>VLAN</span><span
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>,都需要添加一条互联网线,并且还需要额外的端口。</span></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
<o:callout v:ext="edit" minusx="t" minusy="t"/>
</v:shape><w:wrap type="none"/>
<w:anchorlock/>
</v:group><![endif]--><![if !vml]><img width=568 height=333
src="VLAN4.files/image003.gif" v:shapes="_x0000_s1906 _x0000_s1907 _x0000_s1909 _x0000_s1910 _x0000_s1911 _x0000_s1912 _x0000_s1913 _x0000_s1915 _x0000_s1916 _x0000_s1917 _x0000_s1918 _x0000_s1919 _x0000_s1920 _x0000_s1921 _x0000_s1922 _x0000_s1923 _x0000_s1924 _x0000_s1925 _x0000_s1926 _x0000_s1927 _x0000_s1928 _x0000_s1929 _x0000_s1930 _x0000_s1931 _x0000_s1932 _x0000_s1933 _x0000_s1934 _x0000_s1935 _x0000_s1936 _x0000_s1937 _x0000_s1938 _x0000_s1939 _x0000_s1940 _x0000_s1941 _x0000_s1942 _x0000_s1943 _x0000_s1944 _x0000_s1945 _x0000_s1946 _x0000_s1947 _x0000_s1948 _x0000_s1949"><![endif]></span><!--[if mso & !supportInlineShapes & supportFields]><span
lang=EN-US style='mso-bidi-font-size:10.5pt'><v:shape id="_x0000_i1026" type="#_x0000_t75"
style='width:426.05pt;height:249.6pt'>
<v:imagedata croptop="-65520f" cropbottom="65520f"/>
</v:shape><span style='mso-element:field-end'></span></span><![endif]--><span
lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>但是,这个办法从<span
style='color:red'>扩展性和管理效率来看都不好</span>。例如,在现有网络基础上再新建</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt'>VLAN</span><span style='mso-bidi-font-size:
10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>时,为了让这个</span><span lang=EN-US style='mso-bidi-font-size:
10.5pt'>VLAN</span><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>能够互通,就需要在交换机间连接新的网线。建筑物楼层间的纵向布线是比较麻烦的,一般不能由基层管理人员随意进行。并且,</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'>VLAN</span><span style='mso-bidi-font-size:
10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>越多,楼层间(严格地说是交换机间)互联所需的端口也越来越多,交换机端口的利用效率低是对资源的一种浪费、也限制了网络的扩展。</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>为了避免这种低效率的连接方式,人们想办法让<span
style='color:blue'>交换机间互联的网线集中到一根上,这时使用的就是汇聚链接(</span></span><span lang=EN-US
style='mso-bidi-font-size:10.5pt;color:blue'>Trunk Link</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:blue'>)</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>。</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p> </o:p></span></p>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-size:12.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:red'>何谓汇聚链接?</span></b><b
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:12.0pt;
color:red'><o:p></o:p></span></b></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>汇聚链接(</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'>Trunk Link</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>)指的是<span style='color:blue'>能够转发多个不同</span></span><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>VLAN</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:blue'>的通信的端口</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>。</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:blue'>汇聚链路上流通的数据帧,都被附加了用于识别分属于哪个</span><span lang=EN-US style='mso-bidi-font-size:
10.5pt;color:blue'>VLAN</span><span style='mso-bidi-font-size:10.5pt;
font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman";color:blue'>的特殊信息</span><span style='mso-bidi-font-size:10.5pt;
font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>。</span><span lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>现在再让我们回过头来考虑一下刚才那个网络如果采用汇聚链路又会如何呢?用户只需要简单地将交换机间互联的端口设定为汇聚链接就可以了。<span
style='color:red'>这时使用的网线还是普通的</span></span><span lang=EN-US style='mso-bidi-font-size:
10.5pt;color:red'>UTP</span><span style='mso-bidi-font-size:10.5pt;font-family:
宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:red'>线</span><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,而不是什么其他的特殊布线。图例中是交换机间互联,因此需要用交叉线来连接。</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>接下来,让我们具体看看汇聚链接是如何实现跨越交换机间的</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'>VLAN</span><span style='mso-bidi-font-size:
10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>的。</span><span lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='mso-bidi-font-size:10.5pt'>A</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>发送的数据帧<span style='color:blue'>从交换机</span></span><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>1</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:blue'>经过汇聚链路到达交换机</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>2</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:blue'>时,在数据帧上附加了表示属于红色</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>VLAN</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:blue'>的标记</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>。</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:blue'>交换机</span><span lang=EN-US style='mso-bidi-font-size:10.5pt;
color:blue'>2</span><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:blue'>收到数据帧后,经过检查</span><span lang=EN-US style='mso-bidi-font-size:10.5pt;
color:blue'>VLAN</span><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:blue'>标识发现这个数据帧是属于红色</span><span lang=EN-US style='mso-bidi-font-size:
10.5pt;color:blue'>VLAN</span><span style='mso-bidi-font-size:10.5pt;
font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman";color:blue'>的,因此去除标记后根据需要将复原的数据帧只转发给其他属于红色</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt;color:blue'>VLAN</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";color:blue'>的端口</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>。这时的转送,是指经过确认目标</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'>MAC</span><span style='mso-bidi-font-size:
10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>地址并与</span><span lang=EN-US style='mso-bidi-font-size:10.5pt'>MAC</span><span
style='mso-bidi-font-size:10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>地址列表比对后只转发<span class=GramE>给目标</span></span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'>MAC</span><span style='mso-bidi-font-size:
10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>地址所连的端口。只有当数据帧是一个广播帧、多播<span class=GramE>帧</span>或是目标不明<span
class=GramE>的帧时</span>,它才会被转发到所有属于红色</span><span lang=EN-US style='mso-bidi-font-size:
10.5pt'>VLAN</span><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>的端口。</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='mso-bidi-font-size:10.5pt;font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>蓝色</span><span
lang=EN-US style='mso-bidi-font-size:10.5pt'>VLAN</span><span style='mso-bidi-font-size:
10.5pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>发送数据帧时的情形也与此相同。</span><span lang=EN-US style='mso-bidi-font-size:
10.5pt'><o:p></o:p></span></p>
<p class=MsoNormal><!--[if mso & !supportInlineShapes & supportFields]><span
lang=EN-US style='mso-bidi-font-size:10.5pt'><span style='mso-element:field-begin;
mso-field-lock:yes'></span><span
style='mso-spacerun:yes'> </span>SHAPE<span
style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span style='mso-element:
field-separator'></span></span><![endif]--><span lang=EN-US style='mso-bidi-font-size:
10.5pt'><!--[if gte vml 1]><v:group id="_x0000_s1992" editas="canvas" style='width:426.05pt;
height:265.2pt;mso-position-horizontal-relative:char;
mso-position-vertical-relative:line' coordorigin="1832,2193" coordsize="7410,4619">
<o:lock v:ext="edit" aspectratio="t"/>
<v:shape id="_x0000_s1993" type="#_x0000_t75" style='position:absolute;left:1832;
top:2193;width:7410;height:4619' o:preferrelative="f">
<v:fill o:detectmouseclick="t"/>
<v:path o:extrusionok="t" o:connecttype="none"/>
<o:lock v:ext="edit" text="t"/>
</v:shape><v:rect id="_x0000_s1994" style='position:absolute;left:3294;top:3144;
width:1409;height:408' fillcolor="red" strokeweight="1pt">
<v:fill opacity="0"/>
</v:rect><v:rect id="_x0000_s1995" style='position:absolute;left:4077;top:3280;
width:156;height:136' fillcolor="red" strokeweight="1pt"/>
<v:rect id="_x0000_s1996" style='position:absolute;left:4390;top:3280;width:156;
height:136' fillcolor="blue" strokeweight="1pt"/>
<v:rect id="_x0000_s1997" style='position:absolute;left:3764;top:3280;width:156;
height:136' filled="f" fillcolor="blue" strokeweight="1pt"/>
<v:rect id="_x0000_s1998" style='position:absolute;left:3451;top:3280;width:156;
height:136' fillcolor="#f60" strokeweight="1pt"/>
<v:rect id="_x0000_s1999" style='position:absolute;left:3294;top:5046;width:1410;
height:408' fillcolor="red" strokeweight="1pt">
<v:fill opacity="0"/>
</v:rect><v:rect id="_x0000_s2000" style='position:absolute;left:4078;top:5182;
width:155;height:136' fillcolor="red" strokeweight="1pt"/>
<v:rect id="_x0000_s2001" style='position:absolute;left:4391;top:5182;width:156;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -