用思科的模拟器模拟: 两台 计算机 , 一台1841路由器 , 如何 实现 互ping
两台计算机分别接路由器的f0/0和f0/1,都需要配置哪些指令及如何连法才能让两台计算机ping的通,我是新手,请网友赐教...
两台计算机分别接 路由器的 f0/0 和 f0/1 ,都需要 配置哪些指令及如何连法才能让两台计算机ping的通, 我是新手,请网友赐教
展开
1个回答
展开全部
这个很简单:
只需要设置路由器的两个接口的IP地址、掩码、并打开两个接口;
然後两台PC分别设置IP地址、掩码、网关。
举例:连线用交叉线连接!
路由器:
Fa0/0
IP地址:192.168.0.1
掩码:255.255.255.0
Fa0/1:
IP地址:192.168.1.1
掩码:255.255.255.0
Fa0/0下接的电脑设置:
IP地址:192.168.0.2
子网掩码:255.255.255.0
网 关 :192.168.0.1
Fa0/1下接的电脑设置:
IP地址:192.168.1.2
子网掩码:255.255.255.0
网 关 :192.168.1.1
互ping结果如下:
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=63ms TTL=127
Reply from 192.168.1.2: bytes=32 time=63ms TTL=127
Reply from 192.168.1.2: bytes=32 time=62ms TTL=127
Reply from 192.168.1.2: bytes=32 time=62ms TTL=127
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 62ms, Maximum = 63ms, Average = 62ms
PC>ping 192.168.0.2
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time=49ms TTL=127
Reply from 192.168.0.2: bytes=32 time=63ms TTL=127
Reply from 192.168.0.2: bytes=32 time=63ms TTL=127
Reply from 192.168.0.2: bytes=32 time=62ms TTL=127
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 49ms, Maximum = 63ms, Average = 59ms
只需要设置路由器的两个接口的IP地址、掩码、并打开两个接口;
然後两台PC分别设置IP地址、掩码、网关。
举例:连线用交叉线连接!
路由器:
Fa0/0
IP地址:192.168.0.1
掩码:255.255.255.0
Fa0/1:
IP地址:192.168.1.1
掩码:255.255.255.0
Fa0/0下接的电脑设置:
IP地址:192.168.0.2
子网掩码:255.255.255.0
网 关 :192.168.0.1
Fa0/1下接的电脑设置:
IP地址:192.168.1.2
子网掩码:255.255.255.0
网 关 :192.168.1.1
互ping结果如下:
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=63ms TTL=127
Reply from 192.168.1.2: bytes=32 time=63ms TTL=127
Reply from 192.168.1.2: bytes=32 time=62ms TTL=127
Reply from 192.168.1.2: bytes=32 time=62ms TTL=127
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 62ms, Maximum = 63ms, Average = 62ms
PC>ping 192.168.0.2
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time=49ms TTL=127
Reply from 192.168.0.2: bytes=32 time=63ms TTL=127
Reply from 192.168.0.2: bytes=32 time=63ms TTL=127
Reply from 192.168.0.2: bytes=32 time=62ms TTL=127
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 49ms, Maximum = 63ms, Average = 59ms
天津亿付时代网络科技
2024-10-10 广告
2024-10-10 广告
天津亿付时代网络科技有限公司于2017年07月27日成立。法定代表人白雪寒,公司经营范围包括:计算机软件、硬件、电子信息、计算机网络、手机软件技术开发、服务、转让、咨询、销售;计算机图文设计、制作;网上销售办公用品、游戏卡、文化用品、教学用...
点击进入详情页
本回答由天津亿付时代网络科技提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询