Solved

ifconfig output question

Posted on 2004-03-31
10
11,372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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
 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

735 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