实验五路由器接口ip及直联路由.docVIP

  • 25
  • 0
  • 约2.87千字
  • 约 6页
  • 2017-06-13 发布于四川
  • 举报
实验五 路由器接口ip及直联路由 本实验配置路由器的IP地址,测试路由器的直联路由和计算机网关的作用。 实验中有两个计算机,一个路由器。 1. 设置计算机ip地址 设置PCA 的IP地址为:10.65.1.1 255.255.0.0, 网关:10.65.1.2 设置PCB 的IP地址为:10.66.1.1 255.255.0.0 网关:10.65.1.2 设置ROA f0/0 IP 为:10.65.1.2 255.255.0.0 设置ROA f0/1 IP 为:10.66.1.2 255.255.0.0 设置计算机PCA的Ip地址和网关的操作: [root#PCA root]# ifconfig eth0 10.65.1.1 netmask 255.255.0.0 [root#PCA root]# ifconfig [root#PCA root]# route add default gw 10.65.1.2 [root#PCA root]# route 设置计算机PCB的Ip地址和网关的操作: [root#PCB root]# ifconfig eth0 10.66.1.1 netmask 255.255.0.0 [root#PCB root]# ifconfig [root#PCA root]# route add defau

文档评论(0)

1亿VIP精品文档

相关文档