Re: Two nics; only one works at a time

2004-01-17 Thread Kent West
Kent West wrote:

Lou Losee wrote:

* Kent West <[EMAIL PROTECTED]> [2004-01-05 22:03]:
 

I've got a freshly installed Debian Stable box with two NICs, a 
3c509 and a 3c509c. In /etc/network/interfaces, I have them defined 
thusly:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 dhcp
When I (re)start networking, ifconfig shows both cards to be 
configured with all the proper numbers, but networking out is "iffy" 
(I haven't been able to pin down a pattern), and I can ping from a 
different subnet the eth1 card but never the eth0 card.

If I comment out one of the cards (it doesn't matter which one) in 
"interfaces" and restart networking, I can then ping from the 
different subnet the card not commented out. In other words, both 
cards work, but only one at a time.

I've also tried static IP addresses with essentially the same results.

I've booted off a Knoppix 3.3 CD, and both cards worked as expected, 
and I was able to ping both cards from a different subnet.

I actually wiped the drive and did a clean install of Stable, only 
to find the same results afterward. I also upgraded from the 2.2 
kernel to 2.4.18-1-686; it made no difference.

I've been googling all day trying to find an answer, and haven't hit 
the right answer yet. If this isn't solved by tomorrow, the decision 
makers are going to go with Redhat (because we're in a time crunch). 
Does anyone have any insight as to what I need to do to get both 
NICs working properly?

  
Kent,
What is the output of the 'route' command when you have the interfaces
up with and without knoppix?
Lou
 

With Knoppix:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
150.252.104.0   *   255.255.248.0   U 0  0
0 eth0
150.252.96.0*   255.255.248.0   U 0  0
0 eth1
default 150.252.96.10.0.0.0 UG0  0
0 eth1
default 150.252.104.1   0.0.0.0 UG0  0
0 eth0

Without Knoppix:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
150.252.104.0   *   255.255.248.0   U 0  0
0 eth1
150.252.96.0*   255.255.248.0   U 0  0
0 eth0
default 150.252.104.1   0.0.0.0 UG0  0
0 eth1
default 150.252.97.10.0.0.0 UG0  0
0 eth0

And it takes maybe 30-45 seconds for the last two lines to show up on 
the non-Knoppix version.

We wrestled for several days, and never did find a solution. We even 
installed on a completely different box with differing NICs, on 
different network jacks (in the meanwhile, the original 2-NIC Debian box 
was reduced to one NIC, and a second Redhat box with one NIC, were put 
into production to solve our immediate need, planning to replace both 
with the one 2-NICed Deb box when we get both NICs working).

We finally, on a grasping-at-straws type of effort, upgraded to the 2.6 
kernel, and lo and behold, now we can ping both interfaces. Making progress.

I don't have enough networking experience to explain the differences; 
just wanted to report that what we're trying to do we could not get done 
with a 2.4 kernel, but we can with a 2.6.

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Two nics; only one works at a time

2004-01-06 Thread Kent West
Lou Losee wrote:

* Kent West <[EMAIL PROTECTED]> [2004-01-05 22:03]:
 

I've got a freshly installed Debian Stable box with two NICs, a 3c509 
and a 3c509c. In /etc/network/interfaces, I have them defined thusly:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 dhcp
When I (re)start networking, ifconfig shows both cards to be configured 
with all the proper numbers, but networking out is "iffy" (I haven't 
been able to pin down a pattern), and I can ping from a different subnet 
the eth1 card but never the eth0 card.

If I comment out one of the cards (it doesn't matter which one) in 
"interfaces" and restart networking, I can then ping from the different 
subnet the card not commented out. In other words, both cards work, but 
only one at a time.

I've also tried static IP addresses with essentially the same results.

I've booted off a Knoppix 3.3 CD, and both cards worked as expected, and 
I was able to ping both cards from a different subnet.

I actually wiped the drive and did a clean install of Stable, only to 
find the same results afterward. I also upgraded from the 2.2 kernel to 
2.4.18-1-686; it made no difference.

I've been googling all day trying to find an answer, and haven't hit the 
right answer yet. If this isn't solved by tomorrow, the decision makers 
are going to go with Redhat (because we're in a time crunch). Does 
anyone have any insight as to what I need to do to get both NICs working 
properly?

   

Kent,
What is the output of the 'route' command when you have the interfaces
up with and without knoppix?
Lou
 

With Knoppix:
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
150.252.104.0   *   255.255.248.0   U 0  00 eth0
150.252.96.0*   255.255.248.0   U 0  00 eth1
default 150.252.96.10.0.0.0 UG0  00 eth1
default 150.252.104.1   0.0.0.0 UG0  00 eth0

Without Knoppix:
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
150.252.104.0   *   255.255.248.0   U 0  00 eth1
150.252.96.0*   255.255.248.0   U 0  00 eth0
default 150.252.104.1   0.0.0.0 UG0  00 eth1
default 150.252.97.10.0.0.0 UG0  00 eth0

And it takes maybe 30-45 seconds for the last two lines to show up on 
the non-Knoppix version.

--
Kent
 





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Two nics; only one works at a time

2004-01-05 Thread Lou Losee
* Kent West <[EMAIL PROTECTED]> [2004-01-05 22:03]:
> I've got a freshly installed Debian Stable box with two NICs, a 3c509 
> and a 3c509c. In /etc/network/interfaces, I have them defined thusly:
> 
> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet dhcp
> 
> auto eth1
> iface eth1 dhcp
> 
> When I (re)start networking, ifconfig shows both cards to be configured 
> with all the proper numbers, but networking out is "iffy" (I haven't 
> been able to pin down a pattern), and I can ping from a different subnet 
> the eth1 card but never the eth0 card.
> 
> If I comment out one of the cards (it doesn't matter which one) in 
> "interfaces" and restart networking, I can then ping from the different 
> subnet the card not commented out. In other words, both cards work, but 
> only one at a time.
> 
> I've also tried static IP addresses with essentially the same results.
> 
> I've booted off a Knoppix 3.3 CD, and both cards worked as expected, and 
> I was able to ping both cards from a different subnet.
> 
> I actually wiped the drive and did a clean install of Stable, only to 
> find the same results afterward. I also upgraded from the 2.2 kernel to 
> 2.4.18-1-686; it made no difference.
> 
> I've been googling all day trying to find an answer, and haven't hit the 
> right answer yet. If this isn't solved by tomorrow, the decision makers 
> are going to go with Redhat (because we're in a time crunch). Does 
> anyone have any insight as to what I need to do to get both NICs working 
> properly?
> 
Kent,
What is the output of the 'route' command when you have the interfaces
up with and without knoppix?

Lou


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Two nics; only one works at a time

2004-01-05 Thread Kent West
I've got a freshly installed Debian Stable box with two NICs, a 3c509 
and a 3c509c. In /etc/network/interfaces, I have them defined thusly:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 dhcp
When I (re)start networking, ifconfig shows both cards to be configured 
with all the proper numbers, but networking out is "iffy" (I haven't 
been able to pin down a pattern), and I can ping from a different subnet 
the eth1 card but never the eth0 card.

If I comment out one of the cards (it doesn't matter which one) in 
"interfaces" and restart networking, I can then ping from the different 
subnet the card not commented out. In other words, both cards work, but 
only one at a time.

I've also tried static IP addresses with essentially the same results.

I've booted off a Knoppix 3.3 CD, and both cards worked as expected, and 
I was able to ping both cards from a different subnet.

I actually wiped the drive and did a clean install of Stable, only to 
find the same results afterward. I also upgraded from the 2.2 kernel to 
2.4.18-1-686; it made no difference.

I've been googling all day trying to find an answer, and haven't hit the 
right answer yet. If this isn't solved by tomorrow, the decision makers 
are going to go with Redhat (because we're in a time crunch). Does 
anyone have any insight as to what I need to do to get both NICs working 
properly?

Thanks!

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]