1827887 Members
1463 Online
109969 Solutions
New Discussion

network modules

 
SOLVED
Go to solution
Adithyan
Frequent Advisor

network modules

Hi,

In my servers I have 4 NIC. in the /etc/modprob.conf, it shows the modules used for eth0 and 1. Where shal i find the modules used for eth2 and eth3?

Thanks
Adithyan.
Keen to learn HP UX
6 REPLIES 6
Stuart Browne
Honored Contributor

Re: network modules

Are all 4 interfaces in use?

If that's the case, I'm going to assume that eth2 and eth3 use the same drivers as eth0 and eth1.

In which case, if you wish to differentiate between the different interfaces, you should use the HWADDR values in /etc/sysconfig/network-scripts/ifcfg-eth*.

One long-haired git at your service...
Adithyan
Frequent Advisor

Re: network modules

Hi,

in the lsmod command
e1000 109113 0
bnx2 84932 0
these both modules are displayed. Currently eth2 and 3 are up. But in the /etc/modprobe.conf its not mapped to the modules what it uses infact.

Regards
Keen to learn HP UX
Alexander Chuzhoy
Honored Contributor

Re: network modules

Try the file /etc/sysconfig/hwconf

locate the occurrences of eth{0,1,2,3} and their driver.
Adithyan
Frequent Advisor

Re: network modules

Thanks Alexander.

Adithyan.
Keen to learn HP UX
Sac_3
Frequent Advisor
Solution

Re: network modules

Hi Adithyan,

U can even find driver used by an interface using "ethtool -i" command

TEST> ethtool -i eth2
driver: e1000
version: 7.3.15a-NAPI
firmware-version: N/A
bus-info: 06:01.0


Regrads,

SaC
Ralph Grothe
Honored Contributor

Re: network modules

I am not sure if this is still an issue with current kernels and driver kernel modules.
But for quite some time you needed to pass the kernel the boot param ether, where you would specify irq, base address and name.
For details please see man bootparam, and the Ethernet Devices section there.
There they also refer to this TLDP Ethernet HowTo for multiple devices issues:
http://tldp.org/HOWTO/Ethernet-HOWTO-2.html#ss2.4
Madness, thy name is system administration