<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Odd networking problem with Gentoo Linux 2004.2, 2.6.7, i586, stage3
install<BR>There are 3 network interfaces, a modem (ppp0, on /dev/ttyS4), and
two 10 mbit ethernet nics (eth0 and eth1) . They are the same type of nics
with the driver loaded into the kernel (NE-2000 realteks but they have different
layer 2 MAC addresses), and the /etc/conf.d/net file has the
lines:<BR>iface_eth0="192.168.1.1 broadcast 192.168.1.31 netmask
255.255.255.224"<BR>iface_eth1="192.168.1.2 broadcast 192.168.1.31 netmask
255.255.255.224"<BR>that I set up, meaning all the ip info is right, problem is
I can only get one of the interfaces to work at the same time!</DIV>
<DIV> </DIV>
<DIV>I can ping each interface (192.168.1.1 and 192.168.1.2) but only one
interface will work at one time. I know the hardware and ip address are
right because when I run<BR>ifconfig eth0 down && ifconfig eth1 up<BR>I
can plug a working device into eth1 and it works.<BR>ifconfig eth1 down
&& ifconfig eth0 up<BR>I plug a working device into eth0 and it works,
but when both are up THEY DO NOT WORK AT THE SAME TIME.<BR>The ppp0 interface
(modem) is set to be the default route, and adjusting the routing table does no
good. Output of the route command:<BR>Server # route<BR>Kernel IP routing
table<BR>Destination
Gateway
Genmask Flags Metric
Ref Use Iface<BR>nas1.sr2.sonic.
*
255.255.255.255 UH 0
0 0
ppp0<BR>192.168.1.0
*
255.255.255.224 U 0
0 0
eth0<BR>192.168.1.0
*
255.255.255.224 U 0
0 0
eth1<BR>loopback
localhost
255.0.0.0 UG
0 0 0
lo<BR>default nas1.sr2.sonic.
0.0.0.0 UG
0 0 0
ppp0<BR>The command ifconfig gives:<BR>Server #
ifconfig<BR>eth0 Link encap:Ethernet HWaddr
00:C0:0C:B0:57:11
<BR> inet
addr:192.168.1.1 Bcast:192.168.1.31
Mask:255.255.255.224<BR>
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1<BR> RX
packets:8847 errors:0 dropped:0 overruns:0
frame:0<BR> TX
packets:8294 errors:0 dropped:0 overruns:0
carrier:0<BR> collisions:3
txqueuelen:1000 <BR> RX
bytes:1680159 (1.6 Mb) TX bytes:5589375 (5.3
Mb)<BR> Interrupt:15 Base
address:0xb800 </DIV>
<DIV> </DIV>
<DIV>eth1 Link encap:Ethernet HWaddr
00:C0:0C:B0:55:1B
<BR> inet
addr:192.168.1.2 Bcast:192.168.1.31
Mask:255.255.255.224<BR>
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1<BR> RX packets:0
errors:0 dropped:0 overruns:0
frame:0<BR> TX packets:0
errors:0 dropped:0 overruns:0
carrier:0<BR> collisions:0
txqueuelen:1000 <BR> RX
bytes:0 (0.0 b) TX bytes:0 (0.0
b)<BR> Interrupt:12 Base
address:0xb400 </DIV>
<DIV> </DIV>
<DIV>lo Link encap:Local
Loopback <BR> inet
addr:127.0.0.1
Mask:255.0.0.0<BR> UP
LOOPBACK RUNNING MTU:16436
Metric:1<BR> RX packets:0
errors:0 dropped:0 overruns:0
frame:0<BR> TX packets:0
errors:0 dropped:0 overruns:0
carrier:0<BR> collisions:0
txqueuelen:0 <BR> RX
bytes:0 (0.0 b) TX bytes:0 (0.0 b)</DIV>
<DIV> </DIV>
<DIV>ppp0 Link encap:Point-to-Point Protocol
<BR> inet
addr:209.148.104.235 P-t-P:209.204.168.83
Mask:255.255.255.255<BR>
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1514
Metric:1<BR> RX
packets:7830 errors:1 dropped:0 overruns:0
frame:0<BR> TX
packets:8392 errors:0 dropped:12 overruns:0
carrier:0<BR> collisions:0
txqueuelen:3 <BR> RX
bytes:5422514 (5.1 Mb) TX bytes:1408388 (1.3 Mb)<BR>Again, though I can
ping the eth1 interface, nothing plugged into it will work. All cables and
cards are plugged in and working. How do I get both ethernet interfaces
working?</DIV>
<DIV> </DIV>
<DIV>TIA<BR>ShadowEyez</DIV></BODY></HTML>