📄 vlan6.htm
字号:
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>时的情况类似,我们还是会遇到“<span style='color:blue'>该如何连接路由器与交换机</span>”这个问题。路由器和交换机的接线方式,大致有以下两种:</span></p>
<p class=MsoNormal align=left style='text-align:left;mso-pagination:widow-orphan'><span
lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal align=left style='margin-left:21.0pt;text-align:left;
text-indent:-21.0pt;mso-pagination:widow-orphan;mso-list:l7 level1 lfo9;
tab-stops:list 21.0pt'><![if !supportLists]><span lang=EN-US style='font-family:
Wingdings;mso-fareast-font-family:Wingdings;mso-bidi-font-family:Wingdings'><span
style='mso-list:Ignore'>l<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><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>
<p class=MsoNormal align=left style='margin-left:21.0pt;text-align:left;
text-indent:-21.0pt;mso-pagination:widow-orphan;mso-list:l7 level1 lfo9;
tab-stops:list 21.0pt'><![if !supportLists]><span lang=EN-US style='font-family:
Wingdings;mso-fareast-font-family:Wingdings;mso-bidi-font-family:Wingdings'><span
style='mso-list:Ignore'>l<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><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>
<p class=MsoNormal align=left style='text-align:left;mso-pagination:widow-orphan'><span
lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal align=left style='text-align:left;mso-pagination:widow-orphan'><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><span
lang=EN-US>2</span><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><span lang=EN-US>2</span><span
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>个端口用于与路由器互联;路由器上同样需要有</span><span lang=EN-US>2</span><span
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>个端口;两者之间用</span><span lang=EN-US>2</span><span
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>条网线分别连接。</span></p>
<p class=MsoNormal align=left style='text-align:left;mso-pagination:widow-orphan'><!--[if mso & !supportInlineShapes & supportFields]><span
lang=EN-US><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><!--[if gte vml 1]><v:group
id="_x0000_s2145" editas="canvas" style='width:414pt;height:218.4pt;
mso-position-horizontal-relative:char;mso-position-vertical-relative:line'
coordorigin="2355,9769" coordsize="7200,3804">
<o:lock v:ext="edit" aspectratio="t"/>
<v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75"
o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_s2144" type="#_x0000_t75" style='position:absolute;
left:2355;top:9769;width:7200;height:3804' 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_s2146" style='position:absolute;left:3451;top:11535;
width:3756;height:680' filled="f" fillcolor="red" strokeweight="1pt"/>
<v:rect id="_x0000_s2147" style='position:absolute;left:3607;top:11671;
width:313;height:272' fillcolor="red" strokeweight="1pt"/>
<v:rect id="_x0000_s2148" style='position:absolute;left:4233;top:11671;
width:313;height:272' fillcolor="red" strokeweight="1pt"/>
<v:rect id="_x0000_s2149" style='position:absolute;left:4859;top:11671;
width:313;height:272' fillcolor="blue" strokeweight="1pt"/>
<v:rect id="_x0000_s2150" style='position:absolute;left:5485;top:11671;
width:313;height:272' fillcolor="blue" strokeweight="1pt"/>
<v:rect id="_x0000_s2151" style='position:absolute;left:6112;top:11671;
width:313;height:272' fillcolor="red" strokeweight="1pt"/>
<v:rect id="_x0000_s2152" style='position:absolute;left:6738;top:11671;
width:313;height:272' fillcolor="blue" strokeweight="1pt"/>
<v:shape id="_x0000_s2158" type="#_x0000_t75" style='position:absolute;left:6112;
top:9769;width:1094;height:486;mso-wrap-style:none;v-text-anchor:middle'
fillcolor="#008aae">
<v:imagedata src="VLAN6.files/image001.wmz" o:title=""/>
<v:shadow color="black"/>
</v:shape><v:shape id="_x0000_s2159" type="#_x0000_t75" style='position:absolute;
left:2981;top:12758;width:625;height:566;mso-wrap-style:none;v-text-anchor:middle'
o:preferrelative="f" fillcolor="#008aae">
<v:imagedata src="VLAN6.files/image002.wmz" o:title=""/>
<v:shadow color="black"/>
</v:shape><v:shape id="_x0000_s2160" type="#_x0000_t75" style='position:absolute;
left:3920;top:12758;width:626;height:566;mso-wrap-style:none;v-text-anchor:middle'
o:preferrelative="f" fillcolor="#008aae">
<v:imagedata src="VLAN6.files/image002.wmz" o:title=""/>
<v:shadow color="black"/>
</v:shape><v:shape id="_x0000_s2161" type="#_x0000_t75" style='position:absolute;
left:4859;top:12758;width:626;height:566;mso-wrap-style:none;v-text-anchor:middle'
o:preferrelative="f" fillcolor="#008aae">
<v:imagedata src="VLAN6.files/image002.wmz" o:title=""/>
<v:shadow color="black"/>
</v:shape><v:shape id="_x0000_s2162" type="#_x0000_t75" style='position:absolute;
left:5798;top:12758;width:627;height:566;mso-wrap-style:none;v-text-anchor:middle'
o:preferrelative="f" fillcolor="#008aae">
<v:imagedata src="VLAN6.files/image002.wmz" o:title=""/>
<v:shadow color="black"/>
</v:shape><v:line id="_x0000_s2163" style='position:absolute;flip:x' from="3294,11943"
to="3764,12758" strokecolor="red" strokeweight="1pt"/>
<v:line id="_x0000_s2164" style='position:absolute;flip:x' from="4233,11943"
to="4390,12758" strokecolor="red" strokeweight="1pt"/>
<v:line id="_x0000_s2165" style='position:absolute' from="5016,11943" to="5172,12758"
strokecolor="blue" strokeweight="1pt"/>
<v:line id="_x0000_s2166" style='position:absolute' from="5642,11943" to="6112,12758"
strokecolor="blue" strokeweight="1pt"/>
<v:line id="_x0000_s2167" style='position:absolute;flip:y' from="6268,10177"
to="6268,11671" strokecolor="red" strokeweight="1.5pt"/>
<v:line id="_x0000_s2168" style='position:absolute;flip:y' from="6894,10177"
to="6894,11671" strokecolor="blue" strokeweight="1.5pt"/>
<v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
<v:stroke joinstyle="miter"/>
<v:path gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="_x0000_s2169" type="#_x0000_t202" style='position:absolute;
left:2668;top:11671;width:938;height:272' filled="f" fillcolor="red"
stroked="f" strokeweight="1pt">
<v:textbox inset=",0,,0">
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>交换机</span><span lang=EN-US><o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s2170" type="#_x0000_t202" style='position:absolute;
left:7207;top:9905;width:938;height:272' filled="f" fillcolor="red"
stroked="f" strokeweight="1pt">
<v:textbox inset=",0,,0">
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>路由器</span><span lang=EN-US><o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shapetype id="_x0000_t47" coordsize="21600,21600" o:spt="47"
adj="-8280,24300,-1800,4050" path="m@0@1l@2@3nfem,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: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:handles>
<o:callout v:ext="edit" type="oneSegment" on="t"/>
</v:shapetype><v:shape id="_x0000_s2171" type="#_x0000_t47" style='position:absolute;
left:4390;top:10312;width:1408;height:544' adj="29045,-3323,23201,6231,,-5365,,-5365"
filled="f" fillcolor="red" strokecolor="red" strokeweight="1pt">
<v:textbox inset="2mm,0,2mm,0">
<![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";color:red'>连红色</span><span
lang=EN-US style='color:red'>VLAN</span><span style='font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:red'>的路由器端口</span><span lang=EN-US style='color:red'><o:p></o:p></span></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
<o:callout v:ext="edit" minusx="t"/>
</v:shape><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_s2172" type="#_x0000_t48" style='position:absolute;
left:7364;top:10312;width:1408;height:544' adj="-7360,-1731,-2853,6231,-1600,6231,14400,21669"
filled="f" fillcolor="red" strokecolor="blue" strokeweight="1pt">
<v:textbox inset="2mm,0,2mm,0">
<![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";color:blue'>连蓝色</span><span
lang=EN-US style='color:blue'>VLAN</span><span style='font-family:宋体;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
color:blue'>的路由器端口</span><span lang=EN-US style='color:blue'><o:p></o:p></span></p>
</div>
<![if !mso]></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -