>I have a Red Hat 4.1 Linux (with 2.0.30 kernels) box setup with one
>ethernet card and a modem. It uses diald to connect to the internet
>and evrything works fine.
Odd. You say it works fine, but describe a problem.... :-)
Quote:>I added a second ethernet card and gave it a totally seperate IP
>address (different Class, even) and now, if I try to ping any
>of the machines on our network (from the linux box) it times-out.
I'll bet that a) it's the same type as your first NIC, and b) they're
both PCI cards.
Quote:>Also, i can't ping the linux box from a workstation. I can still
>out to the internet from the Linux box.
Yeah, it's not going through either of your NICs.
Quote:> Here is the "WEIRDEST"
>part: If I plug the second ethernet card into opur hub, the
>ping goes through. If I plug the second ethernet card into a
>unused Hub, the ping times-out just like when it isn't plugged
>into anything. My routes and IP Masquerading haven't changed since
>I installed the new ethernet card...any ideas? This one is driving
PCI Nics are assigned network addresses based upon the order in which
they're found in the PCI bus.
What was your "first" card is now being found as your second card,
so the new "second" card is getting assigned the network configuration
for your existing network. The new network configuration is being
assigned to the second card found while scanning the PCI bus, which
happens to be the first board you had installed.
(Sound like I ran into this at work a couple of weeks ago while
configuring a firewall with two NICs and Linux? :-) )
You have two options:
1) Swap connections between the NICs. Your new NIC goes to the old
network, the old NIC becomes the new network.
2) Make note of the NIC addresses (should be in the boot info left in
/var/adm/messages), and edit your LILO configuration to explicitly
specify which card you want to be which network device. (I generally
do this as a matter of course when setting up a system; I didn't do
the original install of the system at work, or I'd have had less
trouble with it.)
If Microsoft sold houses: "You say the bathroom light isn't on? Try flipping
the light switch up, and if that doesn't work, bulldoze and rebuild your house."