Solved

ifconfig output question

Posted on 2004-03-31
10
11,366 Views
Last Modified: 2013-12-21
Hi All,

I installed solaris9 on sunfire v440 server. There are two emulex HBA cards installed. when I install driver abd reboot server I am getting ifconfig output like this. It is configuring interfaces for lpfc0 and lpfc1. I don't know from where it is plumbing interfaces. Any body have idea the problem.... thanks.

ce2: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 172.16.31.204 netmask ffffff00 broadcast 172.16.31.255
        ether 0:3:ba:72:69:96
lpfc0: flags=1000862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 65280 index 5
        inet 0.0.0.0 netmask 0 broadcast 255.255.255.255
        ether 0:0:c9:3b:8:7c
lpfc1: flags=1000862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 65280 index 6
        inet 0.0.0.0 netmask 0 broadcast 255.255.255.255
        ether 0:0:c9:39:e8:63
0
Comment
Question by:midguy
10 Comments
 
LVL 1

Expert Comment

by:mdhmi
ID: 10725509

Make sure you don't have any *lpfc* hostname files in /etc.  Also recheck your /kernel/drv/lpfc.conf file.

Mark
0
 
LVL 24

Expert Comment

by:shivsa
ID: 10725642
These interfaces come from /etc/hostname.lpfc0 and /etc/hostname.lpfc1 files.

u can also do
ifconfig lpfc0 unplumb
and these will be unplumbed.

0
 

Author Comment

by:midguy
ID: 10725797
there are no /etc/hostname.lpfc0 and lpfc1 files in /etc directory. I need to fix this without unplumbing interfaces.
0
 
LVL 6

Expert Comment

by:durindil
ID: 10746421
If you are using the HBA's just for SAN storage, then you must edit your /kernel/drv/lpfc.conf file and change the setting for "network-on=1;" to "network-on=0;"   When you installed the HBA, you were asked if you wanted to configure networking, which meant LAN networking, and this created the interfaces for you because you answered yes.

You have to unplumb the interfaces to get rid of them by doing:

ifconfig lpfc0 down unplumb
ifconfig lpfc1 down unplumb

Then, after you have edited the lpfc.conf file, you can run the following:

update_drv -f -n lpfc

and it will re-read the config file on the fly without the LAN networking portion of the lpfc kernel module loading.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:midguy
ID: 10749457
this parameter already set to network-on=0; don't know from where it is configuring
0
 
LVL 1

Expert Comment

by:greg14unix
ID: 10811513
You need to make sure that a entry in your /etc/hosts file exist that matches the names specified in /etc/hostname.lpfc0 and /etc/hostname.lpfc1.  This is how Solaris assigns IP addresses at boot time, matching /etc/hostname.net_device names to /etc/hosts entires.
0
 
LVL 18

Expert Comment

by:liddler
ID: 11353755
What is the output of:
ls -ld /etc/host*

and have you followed  durindil  {10746421} instructions above?
0
 
LVL 1

Expert Comment

by:ROCK1972
ID: 11708453
When you were installing the driver, did it leave a log of some kind.  You may want to take alook exactly what files it wrote to.  Your answers may be there.  
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11863332
PAQed - no points refunded (of 300)

modulo
Community Support Moderator
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now