Chinaunix

标题: Solaris网路设置后ping不通局域网 [打印本页]

作者: jamescurl    时间: 2015-01-22 15:49
标题: Solaris网路设置后ping不通局域网
新人求助:
最近设置一台sparc solaris 机器,由于是image恢复安装,从新设定网路:
更改一下文件:/etc : hosts, nodemane, hostname.bge0, hostname.bge1, net文件里三个子文件的hosts文件,
更改netmasks,defaultrouter,重启后发现只能ping通自己,局域网内的电脑ping不通,
ifconfig -a 显示网路正常
本机网路设定为10.90.19.16
netstat -rn:
routing table ipv4
destination                    gateway                           flags   ref   use     interface
10.90.16.0                    10.90.19.16                     u         1    69       bge0
14.0.0.0                        14.1.61.162                     u        1     0        bge1
224.0.0.0                      10.90.19.16                     u        1     0        bge0
default                          10.90.16.254                   ug      1      9
127.0.0.1                      127.0.0.1                        uh      27     4265  lo0  

netstat -n
localadrees
127.0.0.1x

active  unix domain sokects
xxxxxx
xxxxxx

网关 19.90.16.254

请教这是什么原因,如何解决,谢谢!
作者: kwtip    时间: 2015-01-22 16:40
cat /etc/nodename
cat /etc/hostname.bge0
cat /etc/hostname.bge1
cat /etc/hosts
发一下看看你是不是写错了?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2