On Sat, May 04, 2002 at 11:06:33PM +0530, Pramod wrote:
This is how all Network(TCP/IP) Drivers work I think, irrespective of the Operating system . I have seen such behaviour ( Though not with an ATM and Ethernet card, but with two Ethernet Cards.) on NT/Solaris too. Since the Network drivers sees two ports but both providing the same route, it just picks one route( probably the first in the routing table) and send packets on that. The second is not used at all, until someone from outside talks on that IP.
Ding, dong. To get your attention, I *was* trying to ping second interface after first got down (physically disconnected to be sure).
Hence I would rather see network driver notice interface down, remove all routes for this interface (which is probably done) and use another route (which is probably not done, as it was not added to routing table in the first place).
I could cheat with different network masks, I think. That is make one interface /24 (or /23) and second one /20 (all servers talking to filer would fit in that /24 or /23 and /20 is my whole network); that way it should pick more specific route first and if it fails -- the second, more general. Not ellegant, tho.
That is the reason I guess we have the concept of Virtual Interface...for backup, load-balancing etc...
Yes. But let's assume I need that setup for a while. :)
p.