Hello :)
I have a quad port NIC in a Linux PC and my problem is I cannot get all
ports to work simultaneously.
For example, if
eth1: 192.168.1.81
eth2: 192.168.1.82
eth3: 192.168.1.83
eth4: 192.168.1.84
then pinging their own interface works (ie. eth1->eth1, eth2->eth2,
eth3->eth3, etc) eg:
[EMAIL PROTECTED] network-scripts]# ping -c 1 -I eth1 192.168.1.81
PING 192.168.1.81 (192.168.1.81) from 192.168.1.81 eth1: 56(84) bytes of
data.
64 bytes from 192.168.1.81: icmp_seq=1 ttl=64 time=0.151 ms
--- 192.168.1.81 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.151/0.151/0.151/0.000 ms
but not to eachother (eg. eth1->eth2, eth1->eth3, eth1->eth4, etc):
[EMAIL PROTECTED] network-scripts]# ping -c 1 -I eth1 192.168.1.82
PING 192.168.1.82 (192.168.1.82) from 192.168.1.81 eth1: 56(84) bytes of
data.
From 192.168.1.81 icmp_seq=1 Destination Host Unreachable
--- 192.168.1.82 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
Is there something wrong with my routing ?
I have turned on ip_forwarding with "echo 1 >
/proc/sys/net/ipv4/ip_forwarding".
I don't know what's going on.
Anway other details are,
+----------+
| iptables |
+----------+
[EMAIL PROTECTED] network-scripts]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
+----------+
| Hardware |
+----------+
I'm using a HP/ Adaptec 4 Port PCI Ethernet Adapter ANA-6944B/TX which is
detected as follows,
Distribution: Red Hat Linux release 9 (Shrike)
Kernel: Linux firewall 2.4.20-8 #1 Thu Mar 13 16:42:56 EST 2003 i586
i586 i386 GNU/Linux
eth0: Identified 8139 chip type 'RTL-8139C'
eth1: Digital DS21140 Tulip rev 34 at 0xc48c6000, 00:10:83:F8:63:72, IRQ
5.
eth2: Digital DS21140 Tulip rev 34 at 0xc48c8000, 00:10:83:F8:63:65, IRQ
10.
eth3: Digital DS21140 Tulip rev 34 at 0xc48ca000, 00:10:83:F8:E3:7F, IRQ
9.
eth4: Digital DS21140 Tulip rev 34 at 0xc48cc000, 00:10:83:F8:E3:C0, IRQ
9.
+----------+
| ifconfig |
+----------+
eth[0-4] Link encap:Ethernet HWaddr 00:##:##:##:##:##
inet addr:192.168.1.8[01234] Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
+---------------+
| routing table |
+---------------+
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth1
192.168.1.0 * 255.255.255.0 U 0 0 0
eth2
192.168.1.0 * 255.255.255.0 U 0 0 0
eth3
192.168.1.0 * 255.255.255.0 U 0 0 0
eth4
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
[EMAIL PROTECTED] root]#
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html