bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
bcme0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
        inet 192.168.5.91 netmask ffffff00 broadcast 192.168.5.255
        ether 0:1d:72:2c:1:8 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128 

bash-3.2# cat /etc/nodename
eczab

bash-3.2# cat /etc/hostname.bcme0 
eczab
bash-3.2# cat /etc/defaultrouter 
192.168.5.1

bash-3.2# cat /etc/resolv.conf
nameserver 192.168.1.27

bash-3.2# grep hosts /etc/nsswitch.conf
# DNS for hosts lookups, otherwise it does not use any other naming service.
# "hosts:" and "services:" in this file are used only if the
hosts:      files dns mdns
# before searching the hosts databases.

bbash-3.2# grep -v ^# /etc/inet/hosts
127.0.0.1 localhost
::1 localhost
192.168.5.91    eczab loghost
-- 
This message posted from opensolaris.org

Reply via email to