Click to See Complete Forum and Search --> : Stupid NIC problems


SKoL
12-06-2000, 07:38 PM
Arg.....this one is stumping me.

Yet again, i've done this 1000 times.


Dual 450 p2. 512mb ram, two NICS. Different IRQ's, cables are good, nics
work and have worked before, patch panels and switches all have link LEDS
and everything is hunky-dory.

I'm trying to use the above machine as a redhat 6.2 gateway/firewall. I
have everything setup *this machine was doing this, working great then just
stopped* after days of fustration i re-installed.

NIC 1 - Live IP, pings anywhere and everything fine.

NIC 2 - does not ping "NETWORK UNREACHABLE" displays.
I do ifdown, then ifup to bring it back up, same above result.

It was working fine with the same setup , nics, cat5, etc about a week ago.
I've tried different NICs, wire, ports, etc. To no avail. I've re-installed
2 times, its the same everytime.

Anyone have a idea or solution?? Thanks!

TheLinuxDuck
12-08-2000, 12:14 PM
Originally posted by SKoL:
NIC 2 - does not ping "NETWORK UNREACHABLE" displays.
I do ifdown, then ifup to bring it back up, same above result.

Can you ping it directly? Is it only external access through the NIC that is displaying 'network unreachable'?

I've had troubles with redhat suddenly not working right anymore.. I ended up going with slackware. http://www.linuxnewbie.org/ubb/smile.gif

But, let's see if we can't find a reason.

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

SKoL
12-08-2000, 01:20 PM
Duck, Thanks for replying,

It is the internal Interface, the 10.0.0.x whatever i'm using , that NIC won't do anything.

I can ping the NIC 1 with the live ip directly, the NIC 2 with the internal address, I can't ping it. Yet it shows its up.

Slackware humm? hehe..

TheLinuxDuck
12-08-2000, 03:56 PM
<brainstorming>
Are the two NIC using different modules? Or are they compiled into the kernel?

If modulized, and they are using different modules, maybe try recompiling the module.

If not modulized and are different cards, try to modulize it.

Have you made any adjustments to the kernel? Or, recompiled the kernel for anything, even if not related to the NIC?

Has eth1's (I am assuming the second NIC is 1) config changed at all?

Have you tried swapping the eth cables running into the two cards?

Has anything on the system changed since the last time they worked? New libraries, new compiler, anything?
</brainstorming>

Does the module have a definition in the /etc/modules.conf (or whatever the file is called, I don't remember off hand)

Maybe remove that entry, if one exists, and restart....


------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

SKoL
12-08-2000, 05:14 PM
No modules...they were both detected in the setup, other then that, thats it. No, i've re-installed this machine like 30 times, each time the same thing. I've replaced AND tested each network cable *this was my frist step* and I know my 3,000 $ fluke doesn't lie http://www.linuxnewbie.org/ubb/smile.gif

Hummmmm..

SKoL
12-08-2000, 05:16 PM
BTW : I've tried different BRANDS of nics..I know NT and 2000 hates to have 2 of the same cards in it...


the setup used to be a 3com and a linksys version 2.0

NOW its 2 3coms, .....

Fandelem
12-09-2000, 04:28 AM
So you have tried physically switching both cards and seeing if the other one will work and ping and everything? maybe it's a little redundant, but then you know it's pure software based - and there's a conflict between the two, maybe irqs.. but it could possibly be something in the mods as well..

SKoL
12-09-2000, 02:10 PM
Yup, i've switched cards..

But why would it work, then all of a sudden NOT work?


hehehe..

Hawkeey
12-09-2000, 11:52 PM
Ok. Well I just pulled this off with a Debian box and it was cool. It took me a little while to figure out, but it worked. The whole process actually took about a month for me to figure out.

Step 1: Configure it for the internal Class C network. At this point I had no cable modem, but I had a regular 56k modem. I manually set my IP # and Subnet Mask on my card for my internal network (I set it to 192.168.0.3 since it was my third computer with a mask of 255.255.255.0). I recommend that if you're doing this for your internal network, you try getting it to work first.

Step 2: Setup ipchains / iptables with the 56k and learn how to use dhcpcd. The How-To's are pretty good for doing this.

Step 3: Configure the second card. To do this I had to first get the module installed and then I had to do some config file editing. I had to configure the file /etc/network/interfaces a lot. This is the file that works with ipup, ipdown, and ipconfig. I ran into a problem where I couldn't get dhcp to work and it wouldn't assign the IP number. I had to tweak it around a little bit and once I had finished this I added it to me init.d scripts in /etc/init.d.

Well that's about all I can tell you. Keep tinkering with it. If you any questions in particular post it somewhere.