[ug-bosug] Network issue at startup..

Anil Gulecha anil.verve at gmail.com
Fri Feb 2 22:24:50 PST 2007


On 2/3/07, Pavan Chandrashekar - Sun Microsystems <
Pavan.Chandrashekar at sun.com> wrote:
>
> > No, I dont have Inetmenu installed.
> > Mine is a static configuration.
>
> The error message says - cannot assign 192.168.1.1 to your system.
> Can you provide the ifconfig -a output when you face the problem, and
> after you set it right ?
>
> I see the rtls driver throwing link down messages which means that your
> connection goes flaky for a while for some reason.
> Also, your gateway, which is on the same subnet (I suppose) is
> unreachable. Did you have a dhcp configuration earlier ?
>
> Do this :
> ls /etc/dhcp.rtls0 and see if this file exists.
>
> Attach the files or give the contents of :
> /etc/hostname.rtls0
> /etc/hosts
> /etc/inet/ipnodes
> /etc/nsswitch.conf
> /etc/defaultrouter
> netstat -rn


Following was run when JDS was up, but network wasnt.

bash-3.00$ su
Password:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
        inet 127.0.0.1 netmask ff000000
rtls0: flags=201000842<BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index
2
        inet 127.0.0.1 netmask ff000000 broadcast 127.255.255.255
        ether 0:xx:xx:xx:xx:xx
# ls /etc/dhcp*
inittab
# cat /etc/hostname.rtls0
solaris
# cat /etc/hosts
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)hosts      1.7     06/08/01 SMI"
#
# Internet host table
#
127.0.0.1 localhost solaris
::1 localhost
192.168.1.5 solaris loghost
# cat /etc/inet/ipnodes
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)hosts      1.7     06/08/01 SMI"
#
# Internet host table
#
127.0.0.1 localhost solaris
::1 localhost
192.168.1.5 solaris loghost
# cat /etc/nsswitch.conf
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)nsswitch.dns       1.15    06/03/24 SMI"

#
# /etc/nsswitch.dns:
#
# An example file that could be copied over to /etc/nsswitch.conf; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.

passwd:     files
group:      files

# You must also set up the /etc/resolv.conf file for DNS name
# server lookup.  See resolv.conf(4).
hosts:      files dns

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:   files dns

networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup;  the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

tnrhtp:     files
tnrhdb:     files
# cat /etc/defaultrouter
192.168.1.1
# netstat -m
streams allocation:
                                         cumulative  allocation
                      current   maximum       total    failures
streams                   549       550        2307           0
queues                    962       966        3847           0
mblk                      694      1134        1102           0
dblk                      695      1289       42293           0
linkblk                     5        84           6           0
syncq                       9        25          28           0
qband                       2        63           2           0

1036 Kbytes allocated for streams data


--
Regards
Anil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20070203/80d67c0d/attachment.html 


More information about the ug-bosug mailing list