I have a RH 7.2 with 2 linksys lne100tx.
I'm in the process of building a router firewall and have a temporary
setup.
There are 2 nics: eth1 and eth0
eth1 goes out through my home linux router (a 3rd linux machine) and
has an ip of 192.168.0.11. It is connected to the router and the nic
card light is
on. It gets an internet connection just fine. It works.
BUT
eth0 goes to a laptop (to simulate the future network client) and has
an ip of 10.0.0.1 (just for now while I configure it). The nic card
has no light. I can neither ping nor be pinged by the laptop
(ip-10.0.0.2, bcast 10.255.255.255, mask 255.255.255.255). I know the
card works because i can switch the cables and I get a light.
I'm probably missing something totally obvious, so forgive me, but is
there something I'm missing that will let the ethernet get activated?
(both cards are of course seen on cat /proc/pci and
cat/proc/interrupts)
I'm stumped. Any help?
joshua
Here is some info on the machine:
eth0 Link encap:Ethernet HWaddr 00:04:5A:80:38:19Quote:> /sbin/ifconfig:
inet addr:10.0.0.1 Bcast:10.255.255.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:56 dropped:0 overruns:0 carrier:112
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xfc00
eth1 Link encap:Ethernet HWaddr 00:04:5A:81:F9:51
inet addr:192.168.0.11 Bcast:192.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:196 dropped:0 overruns:0 carrier:389
collisions:0 txqueuelen:100
RX bytes:94572 (92.3 Kb) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xf800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:53 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5152 (5.0 Kb) TX bytes:5152 (5.0 Kb)
Kernel IP routing tableQuote:>/sbin/route:
Destination Gateway Genmask Flags Metric Ref
Use Iface
10.0.0.0 * 255.255.255.0 U 0 0
0 eth0
192.168.0.0 * 255.255.255.0 U 0 0
0 eth1
127.0.0.0 * 255.0.0.0 U 0 0
0 lo
default linux.home.rout 0.0.0.0 UG 0 0
0 eth1
/etc/modules.conf:
alias parport_lowlevel parport_pc
alias eth0 tulip
alias eth1 tulip
alias usb-controller usb-uhci
options eth0 tulip io=0xfc00 irq=10
options eth1 tulip io=0xf800 irq=9
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="none"
BROADCAST=10.255.255.255
IPADDR="10.0.0.1"
NETMASK="255.255.255.0"
NETWORK=10.0.0.0
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
/etc/sysconfig/network-scripts/ifcfg-eth1:
DEVICE="eth1"
IPADDR="192.168.0.11"
NETMASK="255.255.255.0"
GATEWAY="192.168.0.1"
GATEWAYDEV=eth1
ONBOOT="yes"
BOOTPROTO="none"
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"