Click to See Complete Forum and Search --> : Debian 2.2 - 2 NIC Conflict
BTW Happy New Year [if applicable] !!!
I can get my box online [using lynx now], but as soon as I try to add another interface it won't do anything. No pings anywhere. Does anybody know what would cause this?
ifconfig looks good and I am not changing resolv.conf. What else can I look for?
TIA for any and all info
[This message has been edited by cme (edited 31 December 2000).]
mines
01-01-2001, 05:25 AM
I have this problem too. I am running Mandrake 7.2 with two D-link DFE530TX network cards. I can get one card online but as soon as I try to add another card(*same model) BOTH card won't work!!!!!!!!
I have tried openlinux 2.4 but still....
they work well in window98 .
mines
01-02-2001, 12:01 AM
What network cards are you using?
Originally posted by mines:
What network cards are you using?
I was using 2 of the same [SMC 9193 - I think], but I changed one attempting to solve the "problem" and now eth1 is a LynkSys [tulip module]. The NHF said that both were supported and I had the 2 SMC setup working with RH 6.1. I am now lost and don't know what to try. There has to be documentation on this somewhere 'cause I know I am not the only one who has had this problem. Anyone??
TIA
Strike
01-02-2001, 09:27 AM
Is your kernel detecting the devices okay? To see if it is, do
dmesg | grep eth
If there aren't lines beginning with both eth0 and eth1, then it isn't seeing two NICs and I'd re-seat them and try again.
OK, I am at work now and not in front of my linux box, but when I typed dmesg | grep eth it didn't say anything about eth1.
What it said about eth0 was only about packets that had been accepted and nothing else. My question then becomes... Why would eth1 show up in dmesg if the only thing showing for eth0 is about packets? eth1 isn't transmitting anything so would it still show anything with dmesg? I know the module [tulip] gets loaded [ using lsmod ] and it says it is being used once. The other NIC is of a different type [epic100] which is also loaded/used once.
Thanks again...
<pathetic 3 year old voice>
hello...? Is...is someone there...?
Strike....? Anyone??
</pathetic 3 year old voice>
this is me on what the problem is: http://www.linuxnewbie.org/ubb/confused.gif
I just read on a Debian mailing list to remove the default route from the LAN interface. I am going to try this when I get home to my box, but I think I have tried it already.
Give it a try mines?
That was it... http://www.linuxnewbie.org/ubb/biggrin.gif
You can't define two different interfaces to have two different default routes. At least not outright. Now onto updates, Blackbox and sound card.
http://www.linuxnewbie.org/ubb/cool.gif Debian http://www.linuxnewbie.org/ubb/cool.gif
mines
01-03-2001, 06:33 PM
...to remove the default route from the LAN interface.... I am a beginner I don't understand. Can you tell me more?
My system config.: p3 533 128ram two D-link DFE530tx network card ( one for ADSL dhcp ,another one for home networking )
Mandrake7.2
I can get one card connect to adsl but as soon as I try to add another card (same model) then BOTH card won't work.
Thanks!
mines: do you have the NIC module compiled into the kernel?
If so, then specify it as a module in the kernel config and recompile.
I have problems using two 3c509b's in the same system if it's in the kernel but not if it's loaded as a module.
mines
01-03-2001, 08:21 PM
No,I use the default module rtl8139 from Mandrake7.2 .
Thanks
Strike
01-04-2001, 07:28 AM
Originally posted by mines:
...to remove the default route from the LAN interface.... I am a beginner I don't understand. Can you tell me more?
I think this will do it
(as root)
route del default gw
if that doesn't work, then just type route and post what you get here and I can tell you what you need to do.
I think this will do it
(as root)
route del default gw
I was talking about: [not that Strike is wrong, probably not].
In Debian there is a file /etc/network/interfaces. I had defined my 2 NIC interfaces here http://www.linuxnewbie.org/ubb/smile.gif with address, network, netmask, broadcast, and gateway. The problem was for both interfaces I had a gateway defined. The moment I commented out the eth1 gateway and restarted the network, all was well.
Good Luck !!
edit: Sorry, didn't look pretty http://www.linuxnewbie.org/ubb/biggrin.gif
[This message has been edited by cme (edited 04 January 2001).]
Strike
01-04-2001, 03:02 PM
heh, actually cme, I was just going off of what you said, and that's what I thought of when you said you needed to change the "default route". I wish I took better notes when I set stuff up, because I went through the whole business of all this stuff when I put my second NIC in my firewall (which was a Linksys LNE100TX no less, and that gave rise to several issues in itself).
mines
01-04-2001, 10:46 PM
I can get the box online now but the new problem just come out. My system is very slow now ,it needs 2min. to start terminal or netscape4.76... if I use dhcp setting. And everything is fine if I use manual setting.
Thanks.
my network config. :
eth0 for home networking(only use in win98, I disable it in linux)
eth1 for ADSL
eth1 dhcp setting: include DNS , no default gateway.
eth1 manual setting: include DNS, IP, default gateway.
In manual setting, I can't get eth1 online if I don't set default gateway.
Thanks again!
mines
01-05-2001, 10:04 PM
Can anyone help please?
I am not exactly sure what your question is here, but I'll tell you what I have learned so far.
First, do you have to use dhcp? You said everything is fine when you set the network parameters. My ISP told me to use dhcp, but they haven't changed my IP in almost a year now and when I have used dhcp they assigned me a proxy.
Also, you shouldn't be able to get online without specifying the default route [I don't think, someone?]. My problem was I was specifying default routes for both interfaces, but I don't use dhcp for either one, yet (but I'll only use it for LAN boxes).
DrDrake
01-06-2001, 02:15 PM
I know your exact problem. I run debian with 2 nics. Why dont you post your routes (type like routes or something).. that will help us. Usually, people config like eth0: 192.168.0.1 255.255.255.0 and then like eth1: 192.168.0.1 255.255.255.0. This really screws your routes up. Try setting eth0: 192.168.0.1 255.255.255.0 and
eth1: 192.168.1.1 255.255.255.0
This will fix any problems. I can almost guaruntee its a problem with your routes.
Email them to mindwarp@ameritech.net or post them here and I will take a lookse
DrDrake
Strike
01-06-2001, 04:11 PM
DrDrake, just so you know, those two IPs you picked aren't in the same subnet, so you'd have to specify a specific routing entry to go from the subnet on one card to the subnet on the other card. Of course, I don't think he needs two local static IPs anyway, so one of them should probably be DHCP obtained.
DrDrake
01-06-2001, 06:09 PM
Exactly my point. If they are on the same subnet, you have a routing issue. I assume that if you got 2 nics, they go to 2 different networks... Else if they go to the same network he probably wants to look into EGR or something..