EX: From the extrated qla package. just run
$./extras/build.sh install
Troubleshoot more with commands - lsmod, insmod...
Network Configuration Overview
2 - Modes
1. Local Files Mode - Config is defined statically via key files
2. Network Client Mode - DHCP is used to auto-config interface(s)
Check the network interfaces on the server:
anyunix# ifconfig -a
bge0: flags=1000843
inet 192.168.1.50 netmask fffffff0 broadcast 192.168.1.255
ether 0:3:ba:a5:f9:43
bge1: flags=1000842
inet 0.0.0.0 netmask 0
ether 0:3:ba:a5:f9:44
Note that , here the network interface is bgeX, in some machines, the network interface may be ceX .
In case, if there is only one network interface is invisible, issue the following command to enable all available network interfaces:
anyunix# ifconfig -a plumb
(or)
To enable a particular network interface , ifconfig
Example : ifconfig bge1 plumb
To configure the bge1, follow the instructions below:
anyunix# ifconfig bge0 down
anyunix# ifconfig bge1 192.168.1.100 up ; Verify the IP
anyunix# dladm show-dev
LINK CLASS MTU STATE OVER
bge1 phys 1500 up --
4. anyunix# ifconfig bge1
bge1: flags=1000843
inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255 ether 0:3:ba:a5:f9:44
5. anyunix# cd /etc
anyunix# echo "192.168.1.100" > hostname.bge1 && echo $?
or
anyunix# echo "anyunix" > hostname.bge1 && echo $?
Note : 1.Currently hostname.bge0 contains its hostname “anyunix”.
2.Rename hostname.bge0 as hostname.bge0.bak
6. Restart the network service or reboot the server :
anyunix# svcadm restart network/physical
Reference Notes:
Default Gateway File- /etc/defaultrouter
Hosts database - /etc/hosts or /etc/inet/hosts
Netmask - /etc/inet/netmasks
Nodename - /etc/nodename