Hi! Thanks for ur response and regret this delay but I was actually hesitating writing to you again sooner - I am very new to the Linux environment.
The reason I'd want to come to bridging module is to use the "bridging hooks" so that I can pick up incoming packets. I do not intend to use bridging module for load sharing but I can probably use those hooks to get packets to my virtual network interface. Then, I can use this feature to control packet flow (both incoming/outgoing) over 2 NICs mapped with a single IP address and also switch to the healthy NIC in case of failover. "bonding" implements same hardware address for both interfaces in the kernel. I do not want that implementation. For that will make the cards lose all their identity when they have the same IP address as well. To check failure, I want them to be unique. Yet I can't use "Linux-HA Heartbeats" because the NIC i/f's have the same IP address I hope that doesn't sound too novice. Looking forward to your response. Regards Atul. On Wed, 17 Apr 2002, Lennert Buytenhek wrote: > Hi, > > If you want just redundancy, bridging is not really what you want, > since a bridge device will actively forward packets between the > two interfaces. > > What you want looks like a candidate for channel bonding. Check > out the 'bonding' driver in the linux kernel (and there is a > sourceforge project 'bonding' as well). > > > cheers, > Lennert > > > > On Mon, Apr 15, 2002 at 03:49:56PM +0500, Singh Atul wrote: > > > Hi! > > > > As a part of my project, I need to code a device driver to install 2 > > ethernet NICs on a server mapped with the same IP address even while they > > have different MAC addresses. The purpose is to share the network load on > > the server. Also, in case, an NIC fails, I need to dynamically switch the > > entire load to the functioning interface. > > > > I intend to create another logical ethernet interface having the single IP > > address that I need to map to the 2 NICs and a single MAC address for ARP > > resolution. I do not want the 2 ethernet interfaces for the NIC cards to > > handle ARP and so do not want to assign them an IP Address. > > > > After reading the Bridge-STP HOWTO and searching on the Internet, I > > believe a number of issues in the device driver development can be handled > > by using Linux Bridge. However, because I do not have too much exposure to > > using Linux Bridge, I cannot completely figure out, how to go about the > > coding and integrate my device driver with the bridging functionality of > > Linux. I went through the code of Linux Bridge. Because I am new to Linux, > > I do not quite understand how the "hooks" in the bridging code work. > > > > Could you please suggest some solution? > > > > Thanks > > > > Atul Singh (B.Tech.-Electrical) > > Indian Institute of Technology > > Roorkee, INDIA > > > > _______________________________________________ > > Bridge mailing list > > [EMAIL PROTECTED] > > http://www.math.leidenuniv.nl/mailman/listinfo/bridge > _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
