Operating System - Linux
1832879 Members
2471 Online
110048 Solutions
New Discussion

Re: Help in configuring 2 nic.

 
SOLVED
Go to solution
Low Han Ming
Advisor

Help in configuring 2 nic.

Hi,

I've a RH 6.2 with 2 3Com NIC.
I've installed 1 nic under subnet 143.186.138.x and the other under 192.168.0.x

My problem is that I can ping anywhere in the 143.186.138.x, but in the 192.168.0.x, I can only ping to myself.

The 143.186.138.x is actually a subnet within a firewall which need to go to the gateway at 143.186.138.1 to go out to the internet.
Thus, the 192.168.0.x is a subnet within subnet or firewall behind firewall. (not too sure if this helps)

Can anyone kindly point out my mistake.

Thanks.


Han Ming

##############################################################################

My ifconfig is :-
eth0 Link encap:Ethernet HWaddr 00:10:5A:83:ED:12
inet addr:143.186.138.240 Bcast:143.186.138.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15490590 errors:0 dropped:0 overruns:0 frame:0
TX packets:25147189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xcc00

eth1 Link encap:Ethernet HWaddr 00:50:DA:B6:D7:D0
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:2045 frame:0
TX packets:0 errors:3712 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xc800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:5639 errors:0 dropped:0 overruns:0 frame:0
TX packets:5639 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
##############################################################################

##############################################################################

My route table is:-
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
slacker00 * 255.255.255.255 UH 0 0 0
eth1
slacker00 * 255.255.255.255 UH 0 0 0
eth0
192.168.0.0 * 255.255.255.0 U 0 0 0
eth1
192.168.0.0 * 255.255.255.0 U 0 0 0
eth1
143.186.138.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default sg-cecil.sg.inp 0.0.0.0 UG 0 0 0
eth0
##############################################################################
2 REPLIES 2
Bryce Dunn
Valued Contributor
Solution

Re: Help in configuring 2 nic.

I suggest that you try and change your configuration so the NIC's are not using the same interrupt. This is an option in /etc/modules.conf (or on some versions /etc/conf.modules) or lilo.conf if you are not using a modularized kernel
Low Han Ming
Advisor

Re: Help in configuring 2 nic.

Hi,

The solution to my problem is to swoop the slot of the nic's on the motherboard.
In this way, the irq is automatically reassign and both the nic is now working fine.

Thanks.

Han Ming