Re: strange kernel message when hacking the NIC driver

Timothy Covell (timothy.covell@ashavan.org)
Fri, 11 Jan 2002 05:55:20 -0600


On Thursday 10 January 2002 23:20, Timothy Covell wrote:

Let me clarify what I said earlier. You cannot have
identical MAC addresses on two different NICs. Indeed,
it is impossible w/o trying to fool the kernel into
redefining the NICs hardware based MAC address.

As concerns TCP/IP, you can define two NICs to have the
same IP address, but you will only end up confusing
your switch/HUB router which assumes a 1 to 1 mapping
of MACs to IPs. The whole point of ICMP is to
discover this mapping via ARP requests.

If you want to increase your aggregate bandwidth, then
there are several methods. One is to use the bonding
driver to make the NICs look like one but it needs to
be supported by the switch that you use or for point-to-point
connections, the other box. Another way is to use something
like OSPF or advanced iptable routing to effect multipathing.
Finally, a crude way to increase your effective bandwidth is
to run several instances of your server(s) on different IP
addresses/NICS but they cannot all have default routes on
Linux without resorting to OSPF and/or iptables.

-- 
timothy.covell@ashavan.org.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/