eth0 default interface - eth1 can't be used

eth0 default interface - eth1 can't be used

Post by Richard B. Parr » Tue, 06 Jul 1999 04:00:00



Hi All;

I'm trying to build a firewall with kernel 2.2.10.  I've also used
2.2.9, with similar results.

Whilst I can get networking going, so to speak, the machine sends every
packet through eth0.  So, whilst it knows that there's a directly
connected subnet on eth1, it will send it all via eth0.

If I rebind eth0 to be the other card, it works fine (so, it appears to
be a software, rather than hardware, issue).

What's really wierd is that regardless of which card is in use,
ifconfig will only increment tx and rx from ifconfig for eth1.

I've also tried enabling ip forwarding within the kernel (/prc support,
sysctl support, echo to the /proc point at bootup) and it makes no
difference.

Any idea what's going on?  I've not use a 2.2.x kernel before, but have
had this working no issues on a 2.0.x kernel.

Cheers

Richard Parry
--

Tonic for the thinking man.                            ICQ UID 880301
+64 2 166 4655             http://homepages.paradise.net.nz/~richard/

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

eth0 default interface - eth1 can't be used

Post by Richard B. Parr » Thu, 15 Jul 1999 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----

Hello again;

What a wealth of replies I've recieved :)

All sacasm aside, the problem is resolved:



Quote:> Whilst I can get networking going, so to speak, the machine sends
every
> packet through eth0.  So, whilst it knows that there's a directly
> connected subnet on eth1, it will send it all via eth0.

This was slightly erroneous.

Turns out the dodgy hardware on the machine was configuring a 3COM card
as eth0 regardless, but would (in some places) label it as eth1 (which
is what it was instructed to use).

The quick hack is of course to just tell it that the 3COM card is eth0,
and the eepro is eth1, and it works fine.

Doesn't matter which PCI slots the cards are in, what you tell it, etc.

Richard
- --
Richard Parry

Tonic for the thinking man.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

iQEVAwUBN4x3XPVxtQ5VlW2tAQHxsAf/Xu4jLZTtUiQ3SQG3bJgcM4PSwtb3NDBw
/hXgAPc7bv+1zm/tGVGbaH9Bm4STd9EynYbD8cjRwZZDelyce82iQjl3pgV2qYlF
R6d1i25BOdVROrdONs4joj1VqsvrhNHnA8LSmjTeD0Dg9xETc547YySirB4opZfD
Exc2/DJ3KrMeKZ8ye8Ke0QtBwH3Ev8eyXLFXdiVHwr9DgnkylswjZGON7n+U36Nc
VY0hTSBQt1Nd8d+RWKMedYrszdGQ5cgfUma8RY81em7vPIfghxDijWbg24Qiulm6
ukSkZJ/cyxDEVQRKqyqmLRCVFDSu9mLu0wamMIsNwo7Aw2iQ5TxYPQ==
=4nwI
-----END PGP SIGNATURE-----

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.