Mr.Chan

导航

确定IP地址:常见问题解答

Q. 问题。如何确定路由器的IP地址和掩码?

A. 解答,在您配置中的以太网界面中查看 IP address 命令 。 下面为如何查找IP地址的实例:

Router>enable
 Password:
 Router#show run
 Building configuration...
 
 Current configuration:     
 !
 version 11.3
 service timestamps debug uptime
 
 ...................
 
 interface Ethernet0
 ip address 172.17.3.192 255.255.0.0

Q. 问题.如何确定TFTP Server for Windows 95的IP地址?

A. 解答。在工具栏中选择“开始”,然后选择“运行”。 输入 winipcfg, 点击“OK”显示IP配置对话框。

Q. 问题。如何确定TFTP Server for Unix Stations的IP地址?

A. 解答。使用 show netstat interface 命令。 即可显示您工作站接口的IP地址。 选择进入路由器网络的IP地址。

Q. 问题。如何确定TFTP服务器和路由器是否在同一网络中?

A. 解答。您需要将TFTP 服务器的IP地址和掩码与路由器以太网接口的IP地址进行比较。

例1:

TFTP server IP address: 172.17.247.195 mask 255.255.0.0
 Interface Ethernet 0 of the router IP address: 172.17.3.192 mask 255.255.0.0   
例2:

TFTP server IP address: 172.17.247.195 mask 255.255.0.0
 Interface Ethernet 0 of the router IP address: 172.10.3.192 mask 255.255.0.0
在例1中, TFTP服务器和路由器的接口在同一网络中, 因此不需要配置缺省网关。

在例2中, TFTP服务器和路由器在不同的IP网络中, 因此必须在路由器上配置缺省网关。

posted on 2005-05-22 23:29  cunshen  阅读(290)  评论(0编辑  收藏  举报