Re: [Vyatta-users] WAN Load Balancing

2008-02-04 Thread Dave Roberts
> We are planning to do some upgrade in our network. The 
> present network has one vyatta router and two internet 
> connections (one is 1Mb leased line and the other is 2Mb 
> Broadband), Since the broadband connection is limited, we are 
> manually changing the default gateway

Abhilash,

You should check out the WAN Load Balancing feature that will arrive with
Glendale Alpha 2 later in February and see if that will help you out. We
designed it to help with cases where customers have multiple WAN
connections but aren't running something sophisticated like BGP. It
essentially spreads outbound traffic across multiple WAN connections in a
semi-random fashion based on a weighting. In this case, you could give one
line a weight of 200 (the 2 Mbps link) and the other a weight of 100 (the
1 Mbps link) and the system would "do the right thing" by sending twice as
many flows to the 2 Mbps link as the 1 Mbps link. Now, things are
flow-based, so the spreading is not necessarily optimal in terms of
bandwidth over a short period of time (you could have multiple
high-bandwidth flows mapped to the smaller link while low bandwidth flows
are mapped to the larger link, for instance), but it should average out
over time and allows you to use both links simultaneously.

The functionality also allows you to check the health of the link using a
ping test to another (possibly very remote) destination. By pinging to a
remote destination, you can check the health of not only the local link
(which may be up), but also your service provider network (which may have
routing issues). When a link/network goes down, new flows will be mapped
to the remaining links.

As I said, the functionality isn't out yet, but it will be there in
Glendale Alpha 2 and you should take a look. Given that it's new
functionality, we're interested in getting as much testing and feedback on
the feature as possible. Personally, I think it's going to be very cool.

-- Dave

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] WAN Load Balancing

2008-02-04 Thread abhilash s
Hi ,

Thanks for your quick reply. I am agreed that we can test the multiple
WAN load balancing feature before it is released to help with your
testing. But one thing I forgot to mention about the broadband
connection, is that it has a maximum data transfer of 20GB per month.
That is why we were using the below plan:

* The leased line connection is all traffic till 11 AM  (it is set to
the default gateway)
* After 11:00AM, we switch the default gateway to the broadband
connection for all internet traffic, and add a static route so that
VPN traffic remains on the leased line.
* After 5:00PM, we reset this back to the original configuration

We don't want to exceed the maximum limit of 20GB on the broadband connection.

Is it possible to limit the bandwidth usage of the broadband
connection using the multiple WAN loadbalancing ?  That is why we were
thinking of using OSPF, so that we could increase the "cost" of the
2Mb connection as we approach the maximum.  With this new requirement,
does OSPF still make sense for us?  If not, could you explain why OSPF
may not be the choice for us?

Thanks,

Abhilash S
Ascella Technologies, Inc.
www.ascellatech.com
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] WAN Load Balancing

2008-02-05 Thread Dave Roberts
> Thanks for your quick reply. I am agreed that we can test the 
> multiple WAN load balancing feature before it is released to 
> help with your testing. But one thing I forgot to mention 
> about the broadband connection, is that it has a maximum data 
> transfer of 20GB per month.
> That is why we were using the below plan:
> 
> * The leased line connection is all traffic till 11 AM  (it 
> is set to the default gateway)
> * After 11:00AM, we switch the default gateway to the 
> broadband connection for all internet traffic, and add a 
> static route so that VPN traffic remains on the leased line.
> * After 5:00PM, we reset this back to the original configuration
> 
> We don't want to exceed the maximum limit of 20GB on the 
> broadband connection.
> 
> Is it possible to limit the bandwidth usage of the broadband 
> connection using the multiple WAN loadbalancing ?  That is 
> why we were thinking of using OSPF, so that we could increase 
> the "cost" of the 2Mb connection as we approach the maximum.  
> With this new requirement, does OSPF still make sense for us? 
>  If not, could you explain why OSPF may not be the choice for us?

OSPF would allow you to assign a cost to a given route, but it's a hard
cost. Paths with the lowest cost will receive all the traffic until a
lower-cost path becomes available. If that's exactly what you want, then
that's one way to achieve it, but it feels like overkill because OSPF is a
hugely complex protocol and you really aren't using it for doing what it
was intended.

One thing you could do is use the WAN load balancing feature and change
the weight factors between the links as you approach the maximum. There is
currently no way to do this automatically, though coupled with QoS you
might be able to work something out. Personally, I would go this route
with WAN LB weight adjustment rather than OSPF.

-- Dave

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] WAN Load Balancing

2008-02-06 Thread Dave Pifke
-BEGIN PGP SIGNED MESSAGE-

On Tue, 5 Feb 2008, Dave Roberts wrote:

> One thing you could do is use the WAN load balancing feature and change
> the weight factors between the links as you approach the maximum. There is
> currently no way to do this automatically, though coupled with QoS you
> might be able to work something out. Personally, I would go this route
> with WAN LB weight adjustment rather than OSPF.

Having not yet played with Glendale, the answer to this may be obvious, 
but... is there a way to execute Vyatta commands via cron?  Being able to 
schedule the insertion/removal of a higher priority static route would 
solve Abhilash's problem and be a very cool feature.

In the current version I guess you could probably do scheduled config 
changes using expect.  Has anyone tried doing so?


- --
Dave Pifke, [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBR6pJjTuW2fOIQC3pAQF9jgQAmV/z++gL5CA0PuWhdsfJ8tYewsCncSfN
y8clYip2s4TjMVKEiVY3hA2B3oRyVZAhhmKyPAF3c5mhSuVIV5b05V7B+1Q5QWqr
JRTJjfSW7sHPfIYIIEV4NOQzYqVmubBu/A8/pJbWUP5aU4+2Yo1fC4eTZxM/VB9G
j3ltmAeybxU=
=PoHn
-END PGP SIGNATURE-
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] WAN Load Balancing

2008-02-06 Thread John Jolet
it is possible to echo the commands into xorpsh.  i've got some commands 
done that way in my rc.local, no reason why you couldn't cron them.  
assessing return codes from the commands would be difficult though.  you 
could end up with no routes at all if something went sideways.

Dave Pifke wrote:
> -BEGIN PGP SIGNED MESSAGE-
>
> On Tue, 5 Feb 2008, Dave Roberts wrote:
>
>   
>> One thing you could do is use the WAN load balancing feature and change
>> the weight factors between the links as you approach the maximum. There is
>> currently no way to do this automatically, though coupled with QoS you
>> might be able to work something out. Personally, I would go this route
>> with WAN LB weight adjustment rather than OSPF.
>> 
>
> Having not yet played with Glendale, the answer to this may be obvious, 
> but... is there a way to execute Vyatta commands via cron?  Being able to 
> schedule the insertion/removal of a higher priority static route would 
> solve Abhilash's problem and be a very cool feature.
>
> In the current version I guess you could probably do scheduled config 
> changes using expect.  Has anyone tried doing so?
>
>
> - --
> Dave Pifke, [EMAIL PROTECTED]
>
> -BEGIN PGP SIGNATURE-
> Version: 2.6.3ia
> Charset: noconv
>
> iQCVAwUBR6pJjTuW2fOIQC3pAQF9jgQAmV/z++gL5CA0PuWhdsfJ8tYewsCncSfN
> y8clYip2s4TjMVKEiVY3hA2B3oRyVZAhhmKyPAF3c5mhSuVIV5b05V7B+1Q5QWqr
> JRTJjfSW7sHPfIYIIEV4NOQzYqVmubBu/A8/pJbWUP5aU4+2Yo1fC4eTZxM/VB9G
> j3ltmAeybxU=
> =PoHn
> -END PGP SIGNATURE-
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>   
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] WAN Load Balancing

2008-02-06 Thread Stig Thormodsrud
 
> > One thing you could do is use the WAN load balancing feature and
change
> > the weight factors between the links as you approach the maximum.
There
> is
> > currently no way to do this automatically, though coupled with QoS you
> > might be able to work something out. Personally, I would go this route
> > with WAN LB weight adjustment rather than OSPF.
> 
> Having not yet played with Glendale, the answer to this may be obvious,
> but... is there a way to execute Vyatta commands via cron?  Being able
to
> schedule the insertion/removal of a higher priority static route would
> solve Abhilash's problem and be a very cool feature.

I haven't verified yet if Glendale can execute vyatta commands from a
shell script yet, but even if it doesn't currently work you could issue
regular linux commands to add a route and it would be picked up by the
routing engine.  In the previous releases a route (or interface) added
outside of xorpsh would not be seen by xorp, but now it works.

For example, use linux commands to add route:

[EMAIL PROTECTED]:~$ ip route add 1.1.1.0/24 via 10.1.0.1

Then uses the vyatta command "show ip route" command and the new route
shows up starting with a "K" indicating it was learned from the kernel.

[EMAIL PROTECTED]:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
   I - ISIS, B - BGP, > - selected route, * - FIB route

S>* 0.0.0.0/0 [1/0] via 10.1.0.1, eth0
K>* 1.1.1.0/24 via 10.1.0.1, eth0
C>* 10.1.0.0/24 is directly connected, eth0
C>* 127.0.0.0/8 is directly connected, lo

stig

 
> In the current version I guess you could probably do scheduled config
> changes using expect.  Has anyone tried doing so?
> 
> 
> - --
> Dave Pifke, [EMAIL PROTECTED]
> 
> -BEGIN PGP SIGNATURE-
> Version: 2.6.3ia
> Charset: noconv
> 
> iQCVAwUBR6pJjTuW2fOIQC3pAQF9jgQAmV/z++gL5CA0PuWhdsfJ8tYewsCncSfN
> y8clYip2s4TjMVKEiVY3hA2B3oRyVZAhhmKyPAF3c5mhSuVIV5b05V7B+1Q5QWqr
> JRTJjfSW7sHPfIYIIEV4NOQzYqVmubBu/A8/pJbWUP5aU4+2Yo1fC4eTZxM/VB9G
> j3ltmAeybxU=
> =PoHn
> -END PGP SIGNATURE-
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] WAN Load Balancing

2008-02-07 Thread abhilash s
Hi,

   This makes sense. We will try the multi WAN load balancing.

Thanks,

Abhilash S
Ascella Technologies, Inc.
www.ascellatech.com


On Feb 5, 2008 11:59 AM, Dave Roberts <[EMAIL PROTECTED]> wrote:
>
> > Thanks for your quick reply. I am agreed that we can test the
> > multiple WAN load balancing feature before it is released to
> > help with your testing. But one thing I forgot to mention
> > about the broadband connection, is that it has a maximum data
> > transfer of 20GB per month.
> > That is why we were using the below plan:
> >
> > * The leased line connection is all traffic till 11 AM  (it
> > is set to the default gateway)
> > * After 11:00AM, we switch the default gateway to the
> > broadband connection for all internet traffic, and add a
> > static route so that VPN traffic remains on the leased line.
> > * After 5:00PM, we reset this back to the original configuration
> >
> > We don't want to exceed the maximum limit of 20GB on the
> > broadband connection.
> >
> > Is it possible to limit the bandwidth usage of the broadband
> > connection using the multiple WAN loadbalancing ?  That is
> > why we were thinking of using OSPF, so that we could increase
> > the "cost" of the 2Mb connection as we approach the maximum.
> > With this new requirement, does OSPF still make sense for us?
> >  If not, could you explain why OSPF may not be the choice for us?
>
> OSPF would allow you to assign a cost to a given route, but it's a hard
> cost. Paths with the lowest cost will receive all the traffic until a
> lower-cost path becomes available. If that's exactly what you want, then
> that's one way to achieve it, but it feels like overkill because OSPF is a
> hugely complex protocol and you really aren't using it for doing what it
> was intended.
>
> One thing you could do is use the WAN load balancing feature and change
> the weight factors between the links as you approach the maximum. There is
> currently no way to do this automatically, though coupled with QoS you
> might be able to work something out. Personally, I would go this route
> with WAN LB weight adjustment rather than OSPF.
>
> -- Dave
>
>
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users