hi,
Is it possible for me to use two separate internet connections, one via eth0 and the other via wlan0 at the same time?
I have been allotted a wireless connection from University, however this one presents some trouble in certain tasks (It's also deactivated from 0000 to 0600). Because I intend to set up a server where some of my friends would hold accounts (for fedora-tour development etc.), I got myself an Airtel internet connection (it needs to be on 24x7). It would be great if I could use them both simultaneously and specify what program should use what interface.
On Sat, Aug 21, 2010 at 2:01 PM, Ankur Sinha sanjay.ankur@gmail.com wrote:
hi,
Is it possible for me to use two separate internet connections, one via eth0 and the other via wlan0 at the same time?
I have been allotted a wireless connection from University, however this one presents some trouble in certain tasks (It's also deactivated from 0000 to 0600). Because I intend to set up a server where some of my friends would hold accounts (for fedora-tour development etc.), I got myself an Airtel internet connection (it needs to be on 24x7). It would be great if I could use them both simultaneously and specify what program should use what interface.
An idea would be to use ifenslave to bond both the interfaces together. i.e if one went down, the other would be up and running. You'd have a common interface name e.g. bond1 with a static IP address which would transparently hook together both interfaces. Alternatively you can try and set up a shell script that reconfigures network interfaces between certain times of the day or other conditions (this would mean not allowing NetworkManager to use the interface).
To allow people to ssh in via your airtel connection, all you need to do is set up portforwarding on the router provided.
-- Thanks! Regards, Ankur
https://fedoraproject.org/wiki/User:Ankursinha
"FranciscoD"
india mailing list india@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/india
On Saturday 21 August 2010 02:01 PM, Ankur Sinha wrote:
hi,
Is it possible for me to use two separate internet connections, one via eth0 and the other via wlan0 at the same time?
Yes. Essentially *two* gateways, "iproute2" provides the support.
I have been allotted a wireless connection from University, however this one presents some trouble in certain tasks (It's also deactivated from 0000 to 0600). Because I intend to set up a server where some of my friends would hold accounts (for fedora-tour development etc.), I got myself an Airtel internet connection (it needs to be on 24x7). It would be great if I could use them both simultaneously and specify what program should use what interface.
In httpd.conf you can specify the interface the httpd server has to service and listen to, similarly most (if not all) servers like samba, dns etc. can be configured to bind itself to and listen on and service client requests landing on a specific IP address / interface.
A simple howto exists. I have used my GPRS and ADSL in similar configuration in past.
Do get back in case of further queries.
with Regards, ASHWIN