- 论坛徽章:
- 0
|
一机器的\r\nen0网卡地址是10.13.1.21,状态up;\r\nen1网卡地址是192.168.128.200,状态down;\r\n\r\n/etc/hosts文件配置如下\r\n# /etc/hosts\r\n#\r\n# This file contains the hostnames and their address for hosts in the\r\n# network. This file is used to resolve a hostname into an Internet\r\n# address. \r\n#\r\n# At minimum, this file must contain the name and address for each\r\n# device defined for TCP in your /etc/net file. It may also contain\r\n# entries for well-known (reserved) names such as timeserver\r\n# and printserver as well as any other host name and address.\r\n#\r\n# The format of this file is:\r\n# Internet Address Hostname # Comments\r\n# Items are separated by any number of blanks and/or tabs. A \'#\'\r\n# indicates the beginning of a comment; characters up to the end of the\r\n# line are not interpreted by routines which search this file. Blank\r\n# lines are allowed.\r\n\r\n# Internet Address Hostname # Comments\r\n# 192.9.200.1 net0sample # ethernet name/address\r\n# 128.100.0.1 token0sample # token ring name/address\r\n# 10.2.0.2 x25sample # x.25 name/address\r\n127.0.0.1 loopback localhost # loopback (lo0) name/address\r\n192.168.128.200 localhost\r\n10.13.1.21 p550a\r\n\r\n我的问题是:/etc/hosts中已经有“127.0.0.1 loopback localhost”,\r\n后加入的“192.168.128.200 localhost”可能是什么用意,并且“192.168.128.200”的网卡是DOWN状态? |
|