You are not logged in.
So I've installed another NIC in my box, running 2.6.10.
The machine is an old Dell Gx1 with onboard NIC (3C905B.) I've installed a Network Everywhere card which, according to the documentation, I should treat as an Realtek 8139.
I've assigned IP's to both NIC's, and when I have just the first card hooked up, I can ping either IP or SSH into the machine via either IP. If I put the ethernet cable only to the 2nd NIC, I get nothing. Currently, I have both NIC's cabled up, but how I can I tell if they are working properly?
My ultimate goal is to install the bridge-utils package (I realize that when I do this I won't be assigning the IP's as I have them now.)
http://www.archlinux.org/packages.php?id=4220
Here is the relevant info from rc.conf:
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.22 netmask 255.255.255.0 broadcast 192.168.0.255"
eth1="eth1 192.168.0.23 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0 eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# (prefix a route in ROUTES with a ! to disable it)
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
from lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
and lsmod
Module Size Used by
8139too 27904 0
mii 5760 1 8139too
3c59x 40232 0
rtc 13128 0
Thanks much
Offline
hmmm i'd def. make sure you alias them correctly... you can do something like this in modprobe.conf
alias 3c59x eth0
alias 8139too eth1
otherwise it's *possible* that they load up in the wrong order
Offline
You should use different subnets for the cards, otherwise it's unclear on which interface the data must be sent.
Use something like e.g. 192.168.0.22 and 192.168.1.22
Offline
ah, yeah - good point... if you're going to bridge them, you need one side on the 192.168.0 subnet and the other on the 192.168.1 subnet in order to let them "talk"
Offline
OK, tried that, but no go at all on the 2nd NIC and IP now. Here's what i've got in rc.conf:
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.22 netmask 255.255.255.0 broadcast 192.168.0.255"
eth1="eth1 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0 eth1)
and in modprobe.conf
#
# /etc/modprobe.conf (for v2.6 kernels)
#
alias eth0 3c59x
alias eth1 8139too
# OSS Compatibility
install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true
____________________________
Can anybody tell if my netmasks are correct in rc.conf?
Also, a thought occured to me: I know our IP range (192.168.0.*) is defined in our Cisco router. Could it be I would have to define the second range in the router for this to work?
Thanks much again.
marco
Offline
Also, a thought occured to me: I know our IP range (192.168.0.*) is defined in our Cisco router. Could it be I would have to define the second range in the router for this to work?
Probably yes... I think it's easier to do what you want immediately instead of this apparently useless configuration (two nics in the same box connected to the same network).
Offline