+ -
当前位置:首页 → 问答吧 → 奇怪的问题?为什么用xborwser连接进去的ip和我实际的ip不一致

奇怪的问题?为什么用xborwser连接进去的ip和我实际的ip不一致

时间:2011-03-24

来源:互联网

问题是这样的,在xborwers中输入 10.133.3.20后,在小机中查看 /etc/hosts文件显示的如下:
# Internet Address      Hostname        # Comments
# 192.9.200.1           net0sample      # ethernet name/address
# 128.100.0.1           token0sample    # token ring name/address
# 10.2.0.2              x25sample       # x.25 name/address
# 2000:1:1:1:209:6bff:feee:2b7f         ipv6sample      # ipv6 name/address
127.0.0.1               loopback localhost      # loopback (lo0) name/address
10.133.90.110  crmtuxedo1
10.133.90.29   crmweblogic1


我 smitty tcpip 后
在 ipv6配置中看到如下

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

Routing tables
Destination        Gateway           Flags   Refs     Use  If   Exp  Groups

Route Tree for Protocol Family 2 (Internet):
127/8              127.0.0.1         U        12      1975 lo0      -      -
10.133.3.0        10.133.3.20      UHSb      0         0 en0      -      -   =>
10.133.3/24       10.133.3.20      U        11     47718 en0      -      -
10.133.3.20       127.0.0.1         UGHS      1        26 lo0      -      -
10.133.3.255      10.133.3.20      UHSb      0         4 en0      -      -

Route Tree for Protocol Family 24 (Internet v6):
::1                ::1               UH        0        20 lo0      -      -


为什么不是通过10.133.90.110   或者10.133.90.29  进入aix 图形界面了?

作者: taoy_2008   发布时间: 2011-03-24

你写的乱七八糟的,谁看得懂?

作者: 老农   发布时间: 2011-03-24

呵呵,因为你的机器IP是10.133.3.20,而且唯一。这不过你的/etc/hosts文件里,没有对应的条目。应该加一个才对,否则xmanager应该会提示错误的,你的难道没提示?
10.133.90.110  crmtuxedo1
10.133.90.29   crmweblogic1
这2个是用来解析其他机器的。你的# hostname输出是什么?

作者: dooza   发布时间: 2011-03-24