服务器路由配置–Route
第1章 命令配置
<td style="width: 106.3pt; border-top: solid #999999 1.0pt; border-left: none; border-bottom: solid #666666 1.5pt; border-right: solid #999999 1.0pt; background: #BFBFBF; padding: 0cm 5.4pt 0cm 5.4pt;" width="142">
<p style="text-align: justify; text-justify: inter-ideograph;">
<strong><span style="font-family: '微软雅黑',sans-serif;">网卡配置信息</span></strong>
</p>
</td>
<td style="width: 134.65pt; border-top: solid #999999 1.0pt; border-left: none; border-bottom: solid #666666 1.5pt; border-right: solid #999999 1.0pt; background: #BFBFBF; padding: 0cm 5.4pt 0cm 5.4pt;" width="180">
<p style="text-align: justify; text-justify: inter-ideograph;">
<strong><span style="font-family: '微软雅黑',sans-serif;">虚拟网卡名称</span></strong>
</p>
</td>
<td style="width: 99.25pt; border-top: solid #999999 1.0pt; border-left: none; border-bottom: solid #666666 1.5pt; border-right: solid #999999 1.0pt; background: #BFBFBF; padding: 0cm 5.4pt 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
<strong><span style="font-family: '微软雅黑',sans-serif;">虚拟网卡模式</span></strong>
</p>
</td>
</tr>
<tr>
<td style="width: 99pt; border-right: 1pt solid #999999; border-bottom: 1pt solid #999999; border-left: 1pt solid #999999; border-top: none; padding: 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
<strong><span style="font-family: '微软雅黑',sans-serif;">服务器</span>01</strong>
</p>
</td>
<td style="width: 106.3pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="142">
<p style="text-align: justify; text-justify: inter-ideograph;">
eth1
</p>
</td>
<td style="width: 134.65pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="180">
<p style="text-align: justify; text-justify: inter-ideograph;">
10.0.0.10/24
</p>
</td>
<td style="width: 99.25pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
nat<span style="font-family: '微软雅黑',sans-serif;">模式</span>
</p>
</td>
</tr>
<tr>
<td style="width: 99pt; border-right: 1pt solid #999999; border-bottom: 1pt solid #999999; border-left: 1pt solid #999999; border-top: none; padding: 0cm 5.4pt;" rowspan="2" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
<strong><span style="font-family: '微软雅黑',sans-serif;">服务器</span>02</strong>
</p>
</td>
<td style="width: 106.3pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="142">
<p style="text-align: justify; text-justify: inter-ideograph;">
eth2
</p>
</td>
<td style="width: 134.65pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="180">
<p style="text-align: justify; text-justify: inter-ideograph;">
10.0.0.11/24
</p>
</td>
<td style="width: 99.25pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
nat<span style="font-family: '微软雅黑',sans-serif;">模式</span>
</p>
</td>
</tr>
<tr>
<td style="width: 106.3pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="142">
<p style="text-align: justify; text-justify: inter-ideograph;">
eth3
</p>
</td>
<td style="width: 134.65pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="180">
<p style="text-align: justify; text-justify: inter-ideograph;">
10.0.1.11/24
</p>
</td>
<td style="width: 99.25pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
<span style="font-family: '微软雅黑',sans-serif;">主机模式</span>
</p>
</td>
</tr>
<tr>
<td style="width: 99pt; border-right: 1pt solid #999999; border-bottom: 1pt solid #999999; border-left: 1pt solid #999999; border-top: none; padding: 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
<strong><span style="font-family: '微软雅黑',sans-serif;">服务器</span>03</strong>
</p>
</td>
<td style="width: 106.3pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="142">
<p style="text-align: justify; text-justify: inter-ideograph;">
eth2
</p>
</td>
<td style="width: 134.65pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="180">
<p style="text-align: justify; text-justify: inter-ideograph;">
10.0.1.10/24
</p>
</td>
<td style="width: 99.25pt; border-top: none; border-left: none; border-bottom: solid #999999 1.0pt; border-right: solid #999999 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="132">
<p style="text-align: justify; text-justify: inter-ideograph;">
<span style="font-family: '微软雅黑',sans-serif;">主机模式</span>
</p>
</td>
</tr>
1.1 查看三台主机的路由表
1.1.1 服务器01
1.1.2 服务器02
1.1.3 服务器03
1.2 服务器主机配置
1.2.1 服务器01配置路由信息
1.2.2 服务器03上配置网络路由条目
1.2.3 在服务器02 上开启路由转发
# Controls IP packet forwarding net.ipv4.ip_forward = 1
1.2.3.1 显示转发信息
1.3 虚拟主机路由访问验证
1.3.1 在服务器01 上验证
1.3.2 服务器03上进行验证
第2章 linux 路由部署项目结论
2.1 linux 路由部署异常分析
2.1.1 防火墙异常问题
2.1.2 虚拟网卡异常问题
<li>
<a href="#12">1.2 服务器主机配置</a><ul>
<li>
<a href="#121_01">1.2.1 服务器01配置路由信息</a>
</li>
<li>
<a href="#122_03">1.2.2 服务器03上配置网络路由条目</a>
</li>
<li>
<a href="#123_02">1.2.3 在服务器02 上开启路由转发</a><ul>
<li>
<a href="#1231nbsp">1.2.3.1 显示转发信息</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="#13">1.3 虚拟主机路由访问验证</a><ul>
<li>
<a href="#131_01">1.3.1 在服务器01 上验证</a>
</li>
<li>
<a href="#132_03">1.3.2 服务器03上进行验证</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="#2_linux">第2章 linux 路由部署项目结论</a><ul>
<li>
<a href="#21_linux">2.1 linux 路由部署异常分析</a><ul>
<li>
<a href="#211">2.1.1 防火墙异常问题</a>
</li>
<li>
<a href="#212">2.1.2 虚拟网卡异常问题</a>
</li>
</ul>
</li>
</ul>
</li>
- 原文作者:惨绿少年
- 原文链接:https://clsn.io/clsn/lx945.html
- 版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议进行许可,非商业转载请注明出处(作者,原文链接),商业转载请联系作者获得授权。