Problems with pcn0

Hi,
I have Solaris 10 installed in vmware, after configuring the interface pcn0 and respective files everything works perfectly, after reboot it does not keep the information, coming back it it is with the IP 127.0.0.0. Need help please.

P.S: Sorry my english. :o

Please post the output of the following:

cat /etc/hosts
cat /etc/hostname.pcn0
cat /etc/netmasks
cat /etc/inet/ipnodes
cat /etc/nodename
ifconfig -a

Cheers
ZB

/etc/hosts
#more hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.30.71 sol-s01 loghost
192.168.30.70 sys70 loghost

/etc/hostname.pcn0
#more hostname.pcn0
Sol-S01

/etc/netmasks
#more netmasks
192.168.30.0 255.255.255.0
#

/etc/inet/ipnodes
#more ipnodes
::1 localhost loghost Sol-S01
127.0.0.1 localhost loghost Sol-S01
192.168.30.71 loghost Sol-S01
#

/etc/nodename
#more nodename
Sol-S01
#

ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.01 netmask ff000000
pcn0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.30.71 netmask ffffff00 broadcast 192.168.30.255
ether 0:c:29:db:d8:a8

everything works well, the machine answers to ping but when I make reboot to the SO the configurations of pcn0 are :

pcn0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 127.0.0.1 netmask ff000000 broadcast 127.255.255.255
ether 0:c:29:db:d8:a8

the remaining files continue configured as before. :eek:

Please a need help

Correct the capitilisation of Sol-S01 in /etc/hosts

Remove "Sol-S01" from both localhost (ipv4 and ipv6) lines in /etc/inet/ipnodes.

Reboot.

Cheers
ZB

192.168.30.71 sol-s01 loghost --->192.168.30.71 Sol-S01

please pay attention to diffrence upper and lowercase.

Thx everyone for help, already it works without problems. :wink: