?
Solved

ifconfig output question

Posted on 2004-03-31
10
Medium Priority
?
11,381 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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 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…
Suggested Courses

765 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