andyquinn
04-09-2003, 04:14 PM
I have a pc I am using as a router running redhat 8.0. It has 2 network cards, one is a single port netgear card and the other is a dual port intel etherpro 10/100 card.
I have been running this with the single port card attached to a cable modem and one port of the dual port card attached to a pc. In this configuration the network and routing work fine but I am trying to add a second pc to the empty port on the dual port card.
My problem is taht I can only get the networking to work over one port on this card. The ports on the card are eth1 and eth2. If I disable eth2 then eht1 works and if both are enabled then only eth 2 works.
By this I mean that there is no traffic over eth1 when eth2 is enabled, I cant ping or anything. This is the output from ifconfig:
eth0 Link encap:Ethernet HWaddr 00:02:E3:21:B4:83
inet addr:81.105.102.99 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4464 errors:0 dropped:0 overruns:0 frame:0
TX packets:1360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1486665 (1.4 Mb) TX bytes:279472 (272.9 Kb)
Interrupt:5 Base address:0xf000
eth1 Link encap:Ethernet HWaddr 00:02:A5:2C:7B:36
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:540 (540.0 b) TX bytes:168 (168.0 b)
Interrupt:10 Base address:0x7000
eth2 Link encap:Ethernet HWaddr 00:02:A5:2C:7B:37
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1428 errors:0 dropped:0 overruns:0 frame:0
TX packets:1389 errors:0 dropped:0 overruns:4 carrier:0
collisions:0 txqueuelen:100
RX bytes:286640 (279.9 Kb) TX bytes:1303149 (1.2 Mb)
Interrupt:11 Base address:0xb000
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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:196 (196.0 b) TX bytes:196 (196.0 b)
I have been running this with the single port card attached to a cable modem and one port of the dual port card attached to a pc. In this configuration the network and routing work fine but I am trying to add a second pc to the empty port on the dual port card.
My problem is taht I can only get the networking to work over one port on this card. The ports on the card are eth1 and eth2. If I disable eth2 then eht1 works and if both are enabled then only eth 2 works.
By this I mean that there is no traffic over eth1 when eth2 is enabled, I cant ping or anything. This is the output from ifconfig:
eth0 Link encap:Ethernet HWaddr 00:02:E3:21:B4:83
inet addr:81.105.102.99 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4464 errors:0 dropped:0 overruns:0 frame:0
TX packets:1360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1486665 (1.4 Mb) TX bytes:279472 (272.9 Kb)
Interrupt:5 Base address:0xf000
eth1 Link encap:Ethernet HWaddr 00:02:A5:2C:7B:36
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:540 (540.0 b) TX bytes:168 (168.0 b)
Interrupt:10 Base address:0x7000
eth2 Link encap:Ethernet HWaddr 00:02:A5:2C:7B:37
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1428 errors:0 dropped:0 overruns:0 frame:0
TX packets:1389 errors:0 dropped:0 overruns:4 carrier:0
collisions:0 txqueuelen:100
RX bytes:286640 (279.9 Kb) TX bytes:1303149 (1.2 Mb)
Interrupt:11 Base address:0xb000
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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:196 (196.0 b) TX bytes:196 (196.0 b)