ホスト名の変更
/etc/hostname.e1000g0
/etc/hostname.e1000g0
solaris10
/etc/nodename
solaris10
IP アドレスの変更
/etc/hosts
/etc/hosts
127.0.0.1 localhost 192.168.1.2 solaris10 loghost
/etc/inet/ipnodes
192.168.1.2
ネットマスクの変更
/etc/netmasks
/etc/netmasks
192.168.11.0 255.255.255.0
デフォルトルートの変更
/etc/defaultrouter
/etc/defaultrouter
192.168.11.1
DNS サーバの変更
/etc/resolv.conf
/etc/resolv.conf
nameserver 192.168.11.1
/etc/nsswitch.conf
hosts: files dns
設定の反映
# ifconfig eri0 down # ifconfig eri0 192.168.11.52 netmask 255.255.255.0 broadcast 192.168.11.255 # ifconfig eri0 up
デフォルトルート追加
route add default 192.168.0.254
デフォルトルート削除
route delete default 192.168.0.254
route add default 192.168.0.254
デフォルトルート削除
route delete default 192.168.0.254