Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The Ghost in the Machine is eth1 !
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
daspel
n00b
n00b


Joined: 22 Sep 2004
Posts: 2

PostPosted: Wed Sep 22, 2004 12:33 am    Post subject: The Ghost in the Machine is eth1 ! Reply with quote

I've just installed Gentoo on a P500 firewall server. It has two Intel E100/Pro adapters in it. One is on the mobo, the other is a pci card. On bootup, both are recognized, both have seperate IRQ's, 5 & 7.
(example)
eth0 comes up fine as 10.0.0.1
eth1 comes up fine as 10.0.0.2

I can ping 10.0.0.1 and 10.0.0.2 from anyplace on my network, BUT all the packets are coming and going from eth0 only. ifconfig reports NO traffic having actually passed thru eth1. If I take eth0 down and leave eth1 up, all network I/O fails.

This one's got me buggered. No errors that I can find anywhere. It's almost as if eth1 is a virtual or alias of eth0 ?

Ideas/flames?

Argh!
Back to top
View user's profile Send private message
cbx550f
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 113
Location: Ontario, Canada

PostPosted: Wed Sep 22, 2004 3:42 pm    Post subject: Reply with quote

Could you do a "route" and post the output? Should be some clues there. ;)
_________________
I think, therefore I am wrong.
Back to top
View user's profile Send private message
daspel
n00b
n00b


Joined: 22 Sep 2004
Posts: 2

PostPosted: Wed Sep 22, 2004 3:47 pm    Post subject: Reply with quote

Here's ifconfig:

eth0 Link encap:Ethernet HWaddr 00:90:27:73:7D:2E
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13130 errors:0 dropped:0 overruns:0 frame:0
TX packets:10573 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1051929 (1.0 Mb) TX bytes:1264250 (1.2 Mb)

eth1 Link encap:Ethernet HWaddr 00:08:C7:4B:EE:A7
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

---------------------------------
Here's Route:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.4 192.168.0.3 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
------------------------------------------------------
For good measure, here's lspci:
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
0000:00:0d.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 37)
0000:00:0d.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 37)
0000:00:0f.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05)
0000:00:10.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05)
0000:00:12.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:12.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:12.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:12.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:14.0 VGA compatible controller: Cirrus Logic GD 5480 (rev 23)
------------------------------------------
Notice too that both cards do indeed have their own mac addresses. It sees both of them but only uses one. ?
Back to top
View user's profile Send private message
z-lite
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2003
Posts: 76

PostPosted: Thu Sep 23, 2004 5:17 pm    Post subject: Reply with quote

Does your firewall forward traffic through eth1? eth0 may be the default gateway which is why nothing is being passed through eth1.
Back to top
View user's profile Send private message
aleks04
n00b
n00b


Joined: 11 Feb 2003
Posts: 13

PostPosted: Thu Sep 23, 2004 7:22 pm    Post subject: Reply with quote

Looking at what you have posted, eth0 is on network 192.168.0.0 and eth1 is on network 192.168.1.0. You can ping both fine, untill you take one down. Which network are you pinging both from?

If your other computer is on network 192.168.0.0, then ofcourse the traffic is going to go though eth0, why would it go through eth1?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum