bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 200.200.0.4 netmask ffffff00 broadcast 200.200.0.255
ether 0:c:29:bf:97:43
bash-3.00# hostname
client
bash-3.00# cat /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
200.200.0.4 client loghost
bash-3.00# cat /etc/inet/ipnodes
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
200.200.0.4 client loghost
bash-3.00# cat /etc/nodename
client
bash-3.00# cat /etc/hostname.e1000g0
client
bash-3.00# cat /etc/inet/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
200.200.0.4 client loghost
bash-3.00#
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 200.200.0.4 netmask ffffff00 broadcast 200.200.0.255
ether 0:c:29:bf:97:43
bash-3.00# hostname
client
bash-3.00# cat /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
200.200.0.4 client loghost
bash-3.00# cat /etc/inet/ipnodes
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
200.200.0.4 client loghost
bash-3.00# cat /etc/nodename
client
bash-3.00# cat /etc/hostname.e1000g0
client
bash-3.00# cat /etc/inet/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
200.200.0.4 client loghost
bash-3.00#
No comments:
Post a Comment