22 Kasım 2013 Cuma

solaris 11 de sabit ip kullanımı (dhcp den statik ip kullanımına geçmek)

Solaris 11 kurduk ve kurulumda dhcp servisini kullanıyorsak, sonrasında statik ip kullanımına geçmek istiyorsak yapmamız gerekenler;


    netadm enable -p ncp DefaultFixed
    netadm list

    ipadm create-ip net0
    ipadm create-addr -T static -a 10.0.1.220/24 net0/v4
    route -p add default 10.0.1.49

    ipadm show-addr


root@solaris-11:~#  svccfg -s system/name-service/switch
svc:/system/name-service/switch> setprop config/host = astring: "files dns nis"
svc:/system/name-service/switch> listprop config/host
config/host astring     "files dns nis"
svc:/system/name-service/switch> quit
root@solaris-11:~# svcadm refresh name-service/switch
root@solaris-11:~# ping google.com
google.com is alive
http://docs.oracle.com/cd/E36784_01/html/E36831/dnsref-36.html#scrolltoc
http://docs.oracle.com/cd/E36784_01/html/E36831/c8switch-2.html#scrolltoc

Hepsi bukadar.

Detaylı bilgiyi aşağıdaki linkten bulabilirsiniz.
http://www.oracle.com/technetwork/articles/servers-storage-admin/s11-network-config-1632927.html

Hiç yorum yok:

Yorum Gönder

podman aksaklıkları

#1 "ERRO[0000] cannot find UID/GID for user admin: cannot read subids - check rootless mode in man pages  WARN[0000] Using rootless sin...