- 论坛徽章:
- 0
|
宿主机IP地址:192.168.2.100
网关: 192.168.2.1
DNS:202.96.134.133
虚拟机vmware6.0,网卡选的是桥接模式安装的solaris10 配置好了ip地址,网关,和DNS却依然上不了网,何解?
bash-3.00# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost loghost yang
192.168.2.7 loghost yang
bash-3.00# more /etc/defaultrouter
192.168.2.1
bash-3.00# more /etc/resolv.conf
nameserver 202.96.134.133
bash-3.00# ping 192.168.2.7
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to loghost (192.168.2.7)
bash-3.00# ping 192.168.2.1
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.2.1
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.2.1
是上面的信息看好像是主机不可达,
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
vmxnet0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 127.0.0.1 netmask ff000000 broadcast 127.255.255.255
ether 0:c:29:80:9d:26
郁闷我的IP地址都设好了,为何又是127.0.0.1不明白了,还请各位大侠帮我看下?
发现solaris 和linux有很大的区别,很多不一样. |
|