[Chilli] Multiple gateway setup
David Bird
david at coova.com
Tue Dec 4 06:08:01 UTC 2012
Hi Alberto,
I don't have an example of the script you need immediately available,
but you should look into the conup/condown configuration (chilli --help)
to implement the multi-wan routing. For a glimpse at the variables you
get in the script from chilli, see runscript() in chilli.c, which set up
the environment of the script.
Cheers,
David
On Mon, 2012-12-03 at 13:04 +0100, alberto at web3king.com wrote:
> On Thu, 2012-11-29 at 10:31 +0100, alberto at web3king.com wrote:
> > Hi everyone I setup a hotspot with chilli+coova but I want to use
> > multiple gateway for internet access.
> > I've got two type of users: standard and premium, I want to set
> > different gateway to serve internet access for this two kind of
> > users.
> > This is a classic use case: a standard and a premium user see the
> > access point wifi signal, they connect to the wifi, they see the
> > login
> > page and they insert their login and password. At this point I want
> > to
> > set two different gateways, for example: 192.168.182.20 for standard
> > and
> > 192.168.182.30 for premium. In other words I want to set different
> > SLA
> > based on different gateway.
>
> On attachment there is my configuration:
> - on the lan side there's a DHCP 192.168.182.1/24 (eth1). I've got to
> kind of user that connect to the wifi signal, they put login and
> password and after that they're connceted with the coova+chilli server,
> for example
> normal user: IP_ADDRESS 192.168.182.50 GW 192.168.182.1 NETMASK
> 255.255.255.0
> premium user: IP_ADDRESS 192.168.182.70 GW 192.168.182.1 NETMASK
> 255.255.255.0
>
> - on the wan side there are two type of connection to go on internet: a
> UMTS and SAT connection. In my case coova+chilli have to set for the
> normal user the connection to UMTS and for premium user the connection
> to SAT (dotted line on the schema). In other words this is a sort of
> traceroute for two user:
> normal user (192.168.182.50) -> 192.168.182.1 (eth1 - lan) ->
> coova+chilli -> 192.168.181.50 (eth0:0 - wan) -> UMTS -> INTERNET
> premium user (192.168.182.70) -> 192.168.182.1 (eth1 - lan) ->
> coova+chilli -> 192.168.181.100 (eth0:1 - wan) -> SAT -> INTERNET
>
> Best Regards,
> Alberto - Web3king.com
--
--
David Bird
http://www.linkedin.com/in/dwbird
https://twitter.com/wlanmac
More information about the Chilli
mailing list