Chinaunix

标题: Solaris 11 network ip 设定请问... [打印本页]

作者: dawnprince    时间: 2014-02-24 17:44
标题: Solaris 11 network ip 设定请问...

以下问题请问:
网卡状态无法判别,DNS无法连上,无法更改路线的位址。

(一)网卡状态无法判别!
root@solaris:~# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net0              Ethernet             unknown    0      unknown   rge0


root@solaris:~# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   down         10.13.80.3/16
net0/acme         static   ok           10.13.80.3/24
net0/v4           static   ok           10.13.30.215/23
lo0/v6            static   ok           ::1/128
net0/v6           addrconf ok           fe80::219:21ff:fec2:807a/10

(二)DNS没设好?

root@solaris:~# netstat -r

Routing Table: IPv4
Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              10.13.80.255         UG        1          0 net0      
10.13.30.0           10.13.80.255         UGH       1          0 net0      
10.13.80.0           t1server             U         4        843 net0      

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- -----
solaris                     solaris                     UH      2       4 lo0   
fe80::/10                   solaris.local.              U       2       0 net0  

(三)无法连到其他电脑...
root@solaris:~# ping 10.13.80.31
no answer from 10.13.80.31

root@solaris:~# ifconfig net0 plumb up
ifconfig: cannot plumb net0: Interface already exists

(四)连不了!
root@solaris:~# route -p add default 10.13.1.1 -ifp net0
add net default: gateway 10.13.1.1: Network is unreachable

请问是网卡坏掉吗?还是DNS没设好?该怎么做...这问题我卡很久了,恳请各位帮忙了!




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