我已经安装了两次OpenIndiana 151a7。使用以下说明配置静态ip:
svcadm disable svc:/network/physical:nwam
svcadm enable svc:/network/physical:default
cp /etc/nsswitch.dns /etc/nsswitch.conf/etc/nodename
storage/etc/hostname.e1000g0
10.0.1.64 netmask 255.255.248.0/etc/conv.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/违纪者
10.0.1.2
reboot我不能平,也不能为我的一生找出原因。
我也尝试过这样的选择:
/etc/hostname.e1000g0
10.0.1.64/etc/网络掩码
10.0.1.0 255.255.248.0有人能帮我找出为什么我不能平吗?
发布于 2013-03-20 17:11:52
我使用了ipadm命令。在这里记录的过程http://docs.oracle.com/cd/E19963-01/html/821-1458/gjwiq.html
发布于 2013-03-20 16:16:58
我让OpenIndiana安装找到它的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一切都成功了。
编辑:不,没有
https://serverfault.com/questions/489517
复制相似问题