- 论坛徽章:
- 0
|
本机设置IP如下:
# ip r
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
192.168.9.0/24 dev eth0 proto kernel scope link src 192.168.9.144
192.168.9.0/24 dev eth1 proto kernel scope link src 192.168.9.145
169.254.0.0/16 dev eth1 scope link
default via 192.168.9.1 dev eth0
host文件如下:
# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
dns文件如下:
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 202.106.0.20
为什么hostname -i显示的结果是:
# hostname -i
202.106.199.35
这个地址从何而来,求解. |
|