two NICs sharing IRQ10

two NICs sharing IRQ10

Post by G » Fri, 24 Jan 2003 15:26:20



Hi,

I have a small LAN at home. And the "mainframe" is running redhat 8.0.  The
motherboard is ASUS dual pentium III cpu, model CUV4X-D. It has two PCI
D-Link DFE-538TX nics and a WD 80G hard drive, that's all in the box. No
problem for networking, everything is working fine. However, to my surprise
that the two NICs are all using IRQ10 after installing redhat 8.0.  During
installation APIC doesn't work, so I disabled it. Here's my question. Will
it improve networking performance by assigning one IRQ for each nic instead
of sharing one? And, how do I do that? Also, will the network performance
compromised by disabling APIC. Please enlighten me or pointing me some good
material/link to explain this, so I can work on it. Thanks in advance.

/proc/interrupts
           CPU0       CPU1
  0:  403757637          0          XT-PIC  timer
  1:          3          0          XT-PIC  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0          XT-PIC  rtc
 10:    1577105          0          XT-PIC  eth0, eth1
 11:          0          0          XT-PIC  usb-uhci, usb-uhci
 15:    3321501          0          XT-PIC  ide1
NMI:          0          0
LOC:  403767491  403767496
ERR:          0
MIS:          0

part of /proc/pci
  Bus  0, device   9, function  0:
    Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 16).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xb800 [0xb8ff].
      Non-prefetchable 32 bit memory at 0xdf800000 [0xdf8000ff].
  Bus  0, device  13, function  0:
    Ethernet controller: D-Link System Inc RTL8139 Ethernet (#2) (rev 16).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
      I/O at 0xb400 [0xb4ff].
      Non-prefetchable 32 bit memory at 0xdf000000 [0xdf0000ff].

part of ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:BA:50:3F:20
          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:508523 errors:0 dropped:0 overruns:0 frame:0
          TX packets:784734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:61190532 (58.3 Mb)  TX bytes:863537348 (823.5 Mb)
          Interrupt:10 Base address:0xe000

eth1      Link encap:Ethernet  HWaddr 00:50:BA:50:13:F3
          inet addr:169.254.0.32  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:174949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152550 errors:0 dropped:0 overruns:0 carrier:0
          collisions:103 txqueuelen:100
          RX bytes:105555427 (100.6 Mb)  TX bytes:18800883 (17.9 Mb)
          Interrupt:10 Base address:0x7000

 
 
 

1. two routers (two wans) connecting to one lan using two nics.

Hello,
Let me try reposting this once more maybe I wasn't too clear in my
previous post.
I have a Linux RH7.3 server running ssh service. I want clients to log
in using ssh from two different Wans.

Wan1: Frame relay router (closed network with another frame relay
router)
Wan2:DSL router allowing clients to login from the internet.

The ip of the frame relay router is 192.168.100.254
The ip of the dsl router is 192.168.10.254

The fr relay is associated with eth0:192.168.100.10 defaultgw
192.168.100.254
The dsl is associated with eth1:192.168.10.10 defaultgw 192.168.10.254

Our GUI network configurator is not working due to bugzilla reports.
However it worked during the initial install and setup of these two
cards. But now we cannot access the tool.
We tried linuxconf but that only allows us one default gw to be
configured. Only one network works at a time.

Is it possible to have two default gateways (one per interface) and
have the box recognize and negotiate them both at the same time?
Which config files can I vi to achieve the desired result of two
gateways without using the gui tool?
If we are only allowed one default gateway per machine, how will the
box know
that the other router exists?
If static routes is the answer, then it is not clear to me how this
will work.
route -net add 192.168.10.0 255.255.255.0 eth1
Remember someone coming over the internet will have a private ip of
192.168.20.1 nat'ed through some pubic ip 68.1.1.10 for example trying
to ssh to
my public ip 68.1.10.20 conecting to my eth1:192.168.10.10.

        |--?------eth1---dsl router--------internet      
server--|                            
        |--defgw--eth0---frame router1--|--frame router2

Any suggestions?

Thanks guys.

2. LILO and 0101010101

3. two dsl connections, two routers, dual nics on linux box , want to run two websites

4. Looking for Base64 encoder (like uuencode)

5. Two NIC in one computer sharing IRQ

6. MICRON Laptop && Linux

7. Two NICs sharing same IP

8. prompt (was Re: .plan file)

9. 1 * ulLBPhxkQ-Two NICs sharing same IP

10. routing - 3comps - one dualport-nic & two "normal" nics

11. How to specify/detect an NIC when using two or more NIC

12. load balance two two nic cards, one cable modem?

13. Two NICS, Two default routers?