solaris 10 - network won't come up on boot

From: Michael Hale (mhale@transcomus.com)
Date: Mon Nov 12 2007 - 16:15:57 EST


I have a solaris 10 install on an e250 that doesn't want to bring up
the network interface on boot. When I query svcs, I see the following

  svcs -xv
svc:/network/physical:default (physical network interfaces)
  State: maintenance since Mon Nov 12 20:58:15 2007
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
    See: http://sun.com/msg/SMF-8000-KS
    See: man -M /usr/share/man -s 1M ifconfig
    See: /etc/svc/volatile/network-physical:default.log
    See: /var/svc/log/network-physical:default.log

/etc/svc/volatile/network-physical:default.log shows the following:

[ Nov 12 20:47:25 Enabled. ]
[ Nov 12 20:47:27 Executing start method ("/lib/svc/method/net-
physical") ]
[ Nov 12 20:47:27 Timeout override by svc.startd. Using infinite
timeout ]
configuring IPv4 interfaces: hme0.
add net default: gateway 216.110.91.97: Network is unreachable

/var/svc/log/network-physical:default.log shows the following:

[ Nov 12 20:58:15 Enabled. ]
[ Nov 12 20:58:15 Executing start method ("/lib/svc/method/net-
physical") ]
[ Nov 12 20:58:15 Timeout override by svc.startd. Using infinite
timeout ]
ifconfig: SIOCSLIFNAME for ip: hme0: already exists
configuring IPv4 interfaces: hme0.
add net default: gateway 216.110.91.97: Network is unreachable
[ Nov 12 20:58:15 Method "start" exited with status 96 ]

Here is the contents of the various networking config files:

/etc/hostname.hme0:
mbox02.dal01.planbemail.net

/etc/hosts (/etc/inet/ipnodes matches this as well) :

#
# Internet host table
#
127.0.0.1 localhost
216.110.91.122 mbox02.dal01.planbemail.net mbox02
ent420.bdiscreet.com loghost

/etc/nodename:

mbox02.dal01.planbemail.net

/etc/netmasks (/etc/inet/netmasks matches this as well) :

#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the
Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
70.85.130.128 255.255.255.192
216.110.91.96 255.255.255.224

/etc/defaultrouter:
216.110.91.97

After the boot process finishes, the host comes up with hostname
'unknown' - here is the output of ifconfig -a:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 inde1
         inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
         inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
         ether 8:0:20:f7:e5:13

If I manually configure the interface via 'ifconfig hme0
216.110.91.122 netmask 255.255.255.224 up' and then add the default
route via ' route add default 216.110.91.97' then the machine can
reach the outside world just fine.

Any idea what is going wrong here?

--
Michael Hale
mhale@transcomus.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:30 EDT