Solved

ifconfig output question

Posted on 2004-03-31
10
11,373 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bash Script to Analyze Oracle Schemas 11 128
Binaries of LibRsync needed 2 56
centos commands 6 117
Hyper V Cluster/Storage Question 5 92
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

732 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