[Guessnet-devel] How to set priority ?

J. Bakshi joydeep at infoservices.in
Wed Jun 16 05:36:26 UTC 2010


On Wed, 16 Jun 2010 10:52:02 +0530
"J. Bakshi" <joydeep at infoservices.in> wrote:

> Hello ,
> 
> I have not found any other suitable place to discuss with guessnet,
> so I may be permitted to discuss with my guessnet problem here. My
> guessnet setting is running well. It has three profile ; one for home
> and two for office. All these are based on eth0 (NIC).  In case of
> office I have two internet connection.  And my related profiles are
> as below
> 
> ``````````````
>  iface office-airtel inet static
>         address 192.168.1.99
>         netmask 255.255.0.0
>         network 192.168.1.0
>         broadcast 192.168.1.0
>         gateway 192.168.1.1
>         metric 1
> test peer address 192.168.1.1 mac  00:15:17:62:39:4f
> 
>  iface office-tata inet static
>         address 192.168.1.99
>         netmask 255.255.0.0
>         network 192.168.2.0
>         broadcast 192.168.2.0
>         gateway 192.168.2.1
>         metric 2
> test peer address   192.168.2.1 mac 00:17:31:c0:bb:f6
> ````````````````````
> 
> But guessnet always pick the second one office-tata. I have omitted
> the office-tata from map and then guessnet pickup the other one. How
> can I prioritize  the office-airtel over office-tata ? I have used
> metric but it does not have any effect. One workaround may be setting
> office-airtel as default map, but i am trying to set a
> prioritization. Any clue is very much appreciated. 
> 
> Thanks for your time.
> 

Forget to mention , I am also using ifplugd along-with to auto configure my laptop. 



More information about the Guessnet-devel mailing list