Thanks a lot. But I have got some new problem with this approach. Actually I have to put Frreswan IPSec package on this m/c. So IPSec creates a virtual device "ipsec0" which binds to one default network interface at its startup. But if my default network interface dynamically as per mobility, how will IPSec change its "ipsec0" binding to new default interface??
Has anyone tried IPSec with dynamic interface changing?? Thanks and regards Vijay -----Original Message----- From: Stephen Hemminger [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 9:58 PM To: [EMAIL PROTECTED] Subject: Re: [Bridge] querries On Sat, 31 May 2003 23:55:38 +0530 "Vijay Saha, Noida" <[EMAIL PROTECTED]> wrote: > Hi > I have got few querries related to my project. > I have got a Linux m/c with two network interfaces...wireless LAN (Aironet) > as "eth0" and GPRS PC card as "ppp0" . > I have to implement seamless roaming, so what I want to achieve is that by > default I would be connected to wireless LAN interface and as soon as Access > Point signal strength weakens, I have to switch dynamically to "ppp" > interface.The "ppp" interface accepts the AT command sets for connecting to > GPRS network. > I have two approaches:- > > 1) An alternative is using bridge as a virtual interface which enslaves > "eth0" and "ppp0" ...where the logic of bridging will be modified. We shall > continuosly check the "eth0" signal strength and if it weakens switch to the > "ppp0" within the bridge module logic. The advantage here is that the > application layer always bind with the same virtual bridge device "br0". > The disadvantage,probably, would be to translate between the Ethernet and > PPP frames within bridging module..?? > > 2) How do I get switch to the ppp0 interface dynamically?? > Can I accomplish my goal just by modifying the Kernel FIB and flushing the > routing cache table of Linux as per the connectivity??? Will the previous > session be maintained after I increase the kernel TCP/UDP Timeout values > ..?? > I am using the SIOCADDRT/SIOCDELRT to modify the default route in IP routing > table dynamically.' Why try and do all this work at level 2. It sounds like you really don't need bridging at all. Just treat ppp0 and eth0 as seperate networks and write a user level program to sample the signal strength and modify the routing table entries. _______________________________________________ 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
