3
1
Is there a way to make all internet traffic go through one network connection when there are multiple connections?
I've connected my mobile broadband modem into my Ubuntu Jaunty box so that I now have two running connections: the mobile broadband and an ethernet connection.
The problem is that internet traffic is going through the ethernet connection rather than the mobile connection. Where I live, ISPs cap bandwidth after you have used your quota, and we have been capped at my house, so I need internet traffic to go through the faster mobile connection. I need access to the home network so disabling ethernet is not an option
Ahh ok. Should either of them be going through the gateway of the home network? – nedned – 2009-10-26T01:40:11.830
1Whatever needs to stay locally on your internal network. You've said that you cannot unplug the interface that is connected to your broadband modem because you need to be able to access other things on your network. So for that interface make a route that applies to traffic internal on your network. If your internal network is 192.168.1.0 with a netmask of 255.255.255.0 it would look like 192.168.1.0/24 and you would say anything from that route would use your broadband router/modem as the gateway. – MDMarra – 2009-10-26T01:50:45.060
Success! Thanks heaps. It turned out that there was already an appropriate entry in the routing tables for the local network so I just needed to add the default entry for the mobile broadband modem. – nedned – 2009-10-26T02:25:15.923