lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] using two ethernet cards with on IP Address


From: Grubb, Jared
Subject: RE: [lwip-users] using two ethernet cards with on IP Address
Date: Thu, 31 Jan 2008 09:38:37 -0800

FYI: In IPv6, you can actually have this situation. For example, if you
have a router that is sitting on the edge of two different "links"
(think subnets), then it is possible to have the same link-local IP
address for both links. You can explicitly address them using the
"address%zoneid" syntax (e.g., in Linux, 'FE80::1%eth0' and
'FE80::1%eth1' represent the same IP address on the same machine for two
different interfaces in two different link-local zones). (See
http://en.wikipedia.org/wiki/IPv6#Zone_indices)

As for the equivalent situation in IPv4, I'd have to defer to you on how
it would be handled.

Jared

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Goldschmidt Simon
Sent: Thursday, January 31, 2008 00:27
To: Mailing list for lwIP users
Subject: RE: [lwip-users] using two ethernet cards with on IP Address

> Is it possible to use the package, for activating two Ethernet cards(2
different mac - addresses)
> with the same IP address, which will work on the same processing
thread (tcpip_thread) with two
> different interrupts of receive?

Actually, I don't think having the same IP for different MAC addresses
is supported on any OS or makes much sense: If you connect them to the
same switched network, a client asking for the IP's MAC will only get
one MAC returned (or gets confused because it gets both MACs) and will
use that MAC for the connection.

Maybe you can explain what you intend to do? If you try to increase
bandwidth by using 2 ethernet cards instead of one, you need some other
mechanism (that is implemented on the other side of the cable as well)
to achieve this.

Simon


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]