This is a discussion on How to add 3rd NIC card within the Linux software forums, part of the Linux Getting Started category; Dear All I have redhat linux 9 , alrdy have two ethernet cards one is connecting to my internet gateway ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Dear All
I have redhat linux 9 , alrdy have two ethernet cards one is connecting to my internet gateway and otherone is connecting to my LAN. I want to add one more NIC, after fixing the working lan card into PCI slot , linux server detecting this new hardware, and i am configuring the same. But in network devices couldn't find eth2 ( eth0 - Lan, eth1- internet gateway). If i try to add manually also it's not getting activated... but in hardware list i am able to see the 3rd NIC card. So i understood card is getting detected and configured, but i am not able to see eth2 anyware.... as i want to configure static routing for one more network. Can anyone help me Thanks in advance Sakthi |
| Sponsored Links | ||
|
|
|
||||
|
First make sure card is detected with ifconfig -a and dmesg | grep -i eth commands.
Use Network Administration Tool, click on the Panel => System Settings => Network Or type command at shell prompt: Code:
redhat-config-network & Code:
redhat-config-network-tui
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
My card is not detected i believe..... but i am able to see my 3rd NIC card in harware browser.
After fixing the card the card i am booting the server , that time my card is getting detected and even i am assigning ip address. After configuring that , if i reboot the server i am able to see starting eth2 -- ok. but if i give ifconfig -a command i am not able to see eth2 NIC details even i tried with this command also dmesg | grep -i eth2 couldn't see any output, Even i tried to configure my 3rd NIC by using netconfig -d eth2 , able to configure but if i go to network device control and see the status of that card it's showing as inactive. but eth2 starting when i reboot the server. like starting etho - ok starting eth1 - ok starting eth2 - ok but in network device control it's showing as inactive. Even i tried Mr.Amit procedure by coping ifcfg-eth0 to ifcfg-eth2 and changed the ipaddress as per my requirements, but i don't how to put mac address in that config files. Can u give me exact syntax. But one thing i noticed , after fixing the 3rd NIC card, if i go to network device control and if try to see the configuration for eth0 or eth1 i am getting the following msg before going that Card properties. " eth1 has an alias to module e100 in module.conf,instead of currently loaded module 8139too " Pls. help me |
|
|||
|
[root@ismartblr2 network-scripts]# cat ifcfg-eth0
DEVICE=eth0 ONBOOT=yes BOOTPROTO=none IPADDR=192.168.1.5 NETMASK=255.255.255.0 USERCTL=no PEERDNS=no TYPE=Ethernet NETWORK=192.168.1.0 BROADCAST=192.168.1.255 [root@ismartblr2 network-scripts]# cat ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none ONBOOT=yes USERCTL=no PEERDNS=no TYPE=Ethernet IPADDR=59.144.40.173 NETMASK=255.255.255.0 NETWORK=59.144.40.0 BROADCAST=59.144.40.255 GATEWAY=59.144.40.1 [root@ismartblr2 network-scripts]# [root@ismartblr2 network-scripts]# cat ifcfg-eth2 DEVICE=eth2 ONBOOT=yes BOOTPROTO=none IPADDR=192.168.100.251 NETMASK=255.255.255.0 USERCTL=no PEERDNS=no TYPE=Ethernet NETWORK=192.168.100.0 BROADCAST=192.168.100.255 [root@ismartblr2 network-scripts]# [root@ismartblr2 network-scripts]# lspci | grep Ethernet 00:10.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10) 02:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05) [root@ismartblr2 network-scripts]# [root@ismartblr2 network-scripts]# cat /etc/modules.conf alias eth0 8139too alias eth1 e100 alias scsi_hostadapter sym53c8xx alias usb-controller usb-uhci [root@ismartblr2 network-scripts]# [root@ismartblr2 network-scripts]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:50:BA:34:45:C9 inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:191321 errors:0 dropped:0 overruns:0 frame:0 TX packets:64590 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:20658066 (19.7 Mb) TX bytes:58962693 (56.2 Mb) Interrupt:10 Base address:0xa000 eth1 Link encap:Ethernet HWaddr 00:50:8B:A2:2C:E9 inet addr:59.144.40.173 Bcast:59.144.40.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:61653 errors:0 dropped:0 overruns:0 frame:0 TX packets:56209 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:57079307 (54.4 Mb) TX bytes:10233411 (9.7 Mb) Interrupt:10 Base address:0x1c00 Memory:40500000-40500038 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:676 (676.0 b) TX bytes:676 (676.0 b) |
|
||||
|
Your card / NIC is not detected; u need to assign driver for same; open /etc/modules.conf file and add a line for eth2:
/etc/modules.conf Code:
alias eth2 driver-name |
|
|||
|
No , my card is detected, i can see the output of lspci |grep Ethernet
lspci | grep Ethernet 00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd RTL-8139/8139C/8139C+ (Rev 10) 00:10.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10) 02:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05) As you suggested added the driver name modules.conf like [root@ismartblr2 network-scripts]# cat /etc/modules.conf alias eth0 8139too alias eth1 e100 alias eth2 8139C+ alias scsi_hostadapter sym53c8xx alias usb-controller usb-uhci [root@ismartblr2 network-scripts]# but in Network Device control menu still eth2 is showing inactive only. If i try to probe , it's showing as " No such device" I am clueless!!!! |
|
||||
|
Try as follows:
Code:
alias eth0 8139too alias eth1 8139C+ alias eth2 e100 Or may be u need to use driver 8139too for eth2 Code:
alias eth0 8139too alias eth1 8139C+ alias eth2 8139too
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Ya, tried the same thing.. But no gain.
After modifying the modules.conf file restarted the network service but still one eth2 goes to inactive mode while checking in the Network Device Control menu. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gentoo Linux ATM card bringup | ps_biju | Linux hardware | 0 | 10-03-2007 02:22 PM |
| LAN Card in fedora Core 6 | SwiftSoft | Linux software | 0 | 04-07-2007 05:03 AM |
| my HCL laptop Lan Card and Sound Card Not Detecting | imported_vishal_titre | Getting started tutorials | 2 | 02-23-2007 03:20 PM |
| ethernet card error netstat | Linux software | 1 | 01-30-2006 05:25 PM | |
| network card not being recognized | Linux software | 1 | 01-28-2006 12:25 PM | |