我已经安装了两次OpenIndiana 151a7。 使用以下说明configuration静态IP:
svcadm disable svc:/network/physical:nwam svcadm enable svc:/network/physical:default cp /etc/nsswitch.dns /etc/nsswitch.conf
在/ etc /节点名称
storage
/etc/hostname.e1000g0
10.0.1.64 netmask 255.255.248.0
在/etc/resolv.conf
search lbox.com nameserver 10.0.1.45 nameserver 10.0.1.46
的/ etc / INET /主机
127.0.0.1 storage storage.local localhost loghost 10.0.1.64 storage storage.lbox.com
的/ etc / INET /的ipnodes
127.0.0.1 storage storage.local localhost loghost 10.0.1.64 storage storage.lbox.com
/ etc / defaultdomain等
在/ etc / defaultrouter中
10.0.1.2 reboot
我不能平,也不能为我的生活找出原因。
我也试过这个select:
/etc/hostname.e1000g0
10.0.1.64
在/ etc /掩码
10.0.1.0 255.255.248.0
谁能帮我找出为什么我不能平?
我使用了ipadm命令。 这里logging的过程http://docs.oracle.com/cd/E19963-01/html/821-1458/gjwiq.html
我让OpenIndiana安装find它的DHCP地址,然后按照这个格式
echo 192.168.1.1 > /etc/defaultrouter svcadm disable svc:/network/physical:nwam svcadm enable svc:/network/physical:default cp /etc/nsswitch.dns /etc/nsswitch.conf echo storage > /etc/nodename echo 10.0.1.64 > /etc/hostname.e1000g0 vim /etc/resolv.conf search lbox.com nameserver 10.0.1.45 nameserver 10.0.1.46 vim /etc/inet/ipnodes 127.0.0.1 storage storage.local localhost loghost 10.0.1.64 storage storage.lbox.com echo 10.0.1.2 > /etc/defaultrouter echo 10.0.1.64 > /etc/hostname.e1000g0 echo 10.0.1.0 255.255.248.0 > /etc/netmasks reboot
一切正常。
编辑:不,它没有