stuck while creating a load balance router

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

stuck while creating a load balance router

tux john
hi.
i do have an ALIX 2D13 with voyage 0.9.2.
since i do have an awful adsl connection, i have decided to build a loadbalance router
to have:
-a usb stick wifi wlan0 (300kbps allowance)
-a usb stick 3g (10GB/month allowance)
-eth0(192.168.2.2/24) connected to dsl router (192.168.2.1)
i have followed the following two links
https://shkspr.mobi/blog/2012/07/3g-internet-on-raspberry-pi-success/
http://raspberry-at-home.com/installing-3g-modem/#more-138
to configure the 3g stick.

my /etc/network/interfaces has
auto wlan0
iface wlan0 inet static
        address 192.168.0.49
        netmask 255.255.255.0
        broadcast 192.168.0.255
        wpa-ssid "Com_SAT_PLUS "
        wpa-psk "wh@t3v3r123 "
        up nat.sh eth1 wlan0  "192.168.1.0/24"
auto eth0
  iface eth0 inet static
  address 192.168.2.2
  netmask 255.255.255.0
                        
auto eth1
  iface eth1 inet static
  address 192.168.1.100
  netmask 255.255.255.0

 
 but u can access the internet only from the wlan, and nothing else. even if i disconnect the
wlan, i do not have access to internet.
could someone help me to configure the system for load balance per session, please?

It is really important to have internet access at all times and if there are more sessions to use different wan each time. the ones that are available.
 

_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux